search for: stat_loc

Displaying 6 results from an estimated 6 matches for "stat_loc".

2001 Mar 25
2
Bug in bsd-waitpid.c and bsd-nextstep.c
...tus = (int)statusp.w_status; return wait_pid; } --- bsd-waitpid.c.org Sun Mar 25 15:06:20 2001 +++ bsd-waitpid.c Sun Mar 25 15:07:36 2001 @@ -43,7 +43,8 @@ pid = 0; /* wait4() wants pid=0 for indiscriminate wait. */ } wait_pid = wait4(pid, &statusp, options, NULL); - stat_loc = (int *)statusp.w_status; + if (stat_loc) + *stat_loc = (int)statusp.w_status; return wait_pid; }
2023 Jan 14
2
Is "vfs objects = acl_tdb" allowed?
Hi, I had issues using"vfs objects = acl_xattr" (possibly too old version [Version 4.13.13-Debian] for the needed "acl_xattr:security_acl_name = user.samba" option needed if running in a non-priv container). So I tried "vfs objects = acl_tdb" and found it working. In https://wiki.samba.org/index.php/File_System_Support I found: File systems without xattr support
2000 Sep 28
1
[PATCH] Next cleanup part 4 or 5 by now.=)
...- timep[0] = buf->actime; - timep[1] = buf->modtime; - - #undef utime /* Use NeXT's utime() function */ - return utime(filename,timep); -} - - -int -waitpid(int pid, int *stat_loc, int options) +pid_t +waitpid(int pid, int *stat_loc, int options) { + union wait statusp; + pid_t wait_pid; + if (pid <= 0) { if (pid != -1) { errno = EINVAL; return -1; } - pid = 0; /* wait4() expects pid=0 for indiscriminate wait. */ + pid = 0; /* wait4() wants pid=0 for...
2000 Sep 05
3
[2.2.0p1] patch: generic detection of correct getpgrp() invocation
...; defined(HAVE_ON_EXIT) */ +#ifndef GETPGRP_VOID +# define getpgrp() getpgrp(0) +#endif + /** ** login recorder definitions **/ --- next-posix.h.orig-2.2.0p1 Tue Aug 29 19:11:30 2000 +++ next-posix.h Tue Sep 5 11:11:08 2000 @@ -44,7 +44,6 @@ /* MISC functions */ int waitpid(int pid,int *stat_loc,int options); -#define getpgrp() getpgrp(0) pid_t setsid(void); /* TC */ ========================================================================
2000 Jan 27
1
Long awaited round 1 of NeXT patches.
...if (nenv == NULL) + return -1; + eptr = environ; + environ = nenv; + while ((*nenv = *eptr) != NULL) + nenv++, eptr++; + *nenv = s; + nenv[1] = NULL; + return 0; +} /* end putenv() */ +#endif /* !defined(HAVE_SETENV) && !defined(HAVE_PUTENV) */ + +#ifdef NEED_WAITPID +int +waitpid(pid, stat_loc, options) + int pid; + int *stat_loc; + int options; +{ + if (pid <= 0) + { + if (pid != -1) + { + errno = EINVAL; + return -1; + } + pid = 0; /* wait4() expects pid=0 for indiscriminate wait. */ + } + return wait4(pid, (union wait *)stat_loc, options, NULL); +} +#endif...
2020 Mar 03
6
Upgrade 4.9 -> 4.11 oups
Hello ! I decided to upgrade my fileservers from stretch/samba 4.9 to buster/samba 4.11 I just realized that smbd is not working anymore :-/ If someone has an idea It would be amazing... as an idiot, I upgraded my 20 servers.... without snapshot.... Thank you so much Here's some logs : root at ef113:~# tail /var/log/samba/log.smbd #1