1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-08 13:28:05 +00:00
freebsd/lib/libc/gen
Jilles Tjoelker 9ea47cacda posix_spawn: If an error is detected in the child process, reap the zombie.
Formerly, in this case an error was returned but the pid was also returned
to the application, requiring the application to use unspecified behaviour
(the returned pid in error situations) to avoid zombies.

Now, reap the zombie and do not return the pid.

MFC after:	2 weeks
2011-07-10 14:20:11 +00:00
..
__getosreldate.c Use aux vector to get values for SSP canary, pagesize, pagesizes array, 2010-08-17 09:13:26 +00:00
__xuname.c
_once_stub.c Revert the previous change to pthread_once() stub in libc. It is actually 2009-11-20 20:43:34 +00:00
_pthread_stubs.c To support stack unwinding for cancellation points, add -fexceptions flag 2010-09-25 01:57:47 +00:00
_rand48.c
_spinlock_stub.c Add prototypes for libc private interfaces. 2010-03-31 18:36:04 +00:00
_thread_init.c Turn off default generation of userland dot symbols on powerpc64 now that 2011-02-18 21:44:53 +00:00
alarm.3 Update xrefs from 4.3BSD to modern signal functions in various man pages. 2010-05-06 22:49:54 +00:00
alarm.c
arc4random.3
arc4random.c
assert.c
aux.c Use aux vector to get values for SSP canary, pagesize, pagesizes array, 2010-08-17 09:13:26 +00:00
basename.3 Sync with OpenBSD, primarily make the code easier to read, and a license 2011-06-18 00:33:34 +00:00
basename.c Sync with OpenBSD, primarily make the code easier to read, and a license 2011-06-18 00:33:34 +00:00
check_utility_compat.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
check_utility_compat.c
clock.3
clock.c
closedir.c
confstr.3 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
confstr.c
crypt.c
ctermid.3
ctermid.c
daemon.3
daemon.c Comment a fine point, so it does not get lost when people borrow code 2010-03-15 08:58:35 +00:00
devname.3
devname.c Perform some cleanups to devname(3). 2010-01-31 14:51:04 +00:00
directory.3 Don't calculate len too early. 2011-03-26 07:17:24 +00:00
dirname.3
dirname.c
disklabel.c
dladdr.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
dlfcn.c Implement __pthread_map_stacks_exec() callback for libc, to change the 2011-01-08 17:13:43 +00:00
dlinfo.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
dllockinit.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
dlopen.3 Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while 2010-08-16 15:18:30 +00:00
drand48.c
elf_utils.c Implement __pthread_map_stacks_exec() callback for libc, to change the 2011-01-08 17:13:43 +00:00
erand48.c
err.3
err.c
errlst.c Allow strerror(0) and strerror_r(0, ...). 2011-04-05 21:56:05 +00:00
errno.c
exec.3
exec.c Remove warnings from exec.c. 2009-12-05 18:55:16 +00:00
fdevname.c Remove (hidden) warning about missing prototypes for fdevname(3). 2009-12-05 18:51:44 +00:00
feature_present.3 [mdoc] Fixed .Dt call. 2011-05-25 14:13:53 +00:00
feature_present.c
fmtcheck.3 mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the 2010-05-13 12:07:55 +00:00
fmtcheck.c
fmtmsg.3
fmtmsg.c Fix a copy+paste error by checking the correct variable against MM_NULLACT. 2009-11-08 14:02:54 +00:00
fnmatch.3
fnmatch.c fnmatch: Fix bad FNM_PERIOD disabling if an asterisk has been seen. 2010-04-16 22:29:24 +00:00
fpclassify.3
fpclassify.c
frexp.3 mdoc: don't abuse Bo/Pc to get what looks like an interval 2010-04-14 18:29:34 +00:00
frexp.c
fstab.c
ftok.3 mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
ftok.c
fts-compat.c From fts.c comment: 2011-03-16 08:58:09 +00:00
fts-compat.h
fts.3 Clarify that the value of the fts_info field is different in post-order. 2009-11-26 19:09:10 +00:00
fts.c From fts.c comment: 2011-03-16 08:58:09 +00:00
ftw.3
ftw.c Sync with OpenBSD (zap rcsid). 2011-06-18 00:29:10 +00:00
getbootfile.3
getbootfile.c
getbsize.3
getbsize.c
getcap.3 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
getcap.c Eliminate more dead stores. 2009-11-25 04:45:45 +00:00
getcontext.3
getcwd.3 getcwd(3): Clarify that EACCES may or may not be checked. 2010-04-17 15:52:50 +00:00
getcwd.c Make getcwd(3) faster, simpler and more compliant using *at syscalls. 2009-10-13 20:58:22 +00:00
getdiskbyname.3 Remove vestiges of disklabel(5). 2011-04-14 08:53:04 +00:00
getdomainname.3
getdomainname.c
getfsent.3
getgrent.3
getgrent.c
getgrouplist.3
getgrouplist.c
gethostname.3
gethostname.c
getloadavg.3
getloadavg.c
getlogin.c Don't let the C library depend on <utmp.h>. 2009-12-05 19:04:21 +00:00
getmntinfo.3
getmntinfo.c
getnetgrent.3
getnetgrent.c
getosreldate.3
getosreldate.c Use aux vector to get values for SSP canary, pagesize, pagesizes array, 2010-08-17 09:13:26 +00:00
getpagesize.3
getpagesize.c Use aux vector to get values for SSP canary, pagesize, pagesizes array, 2010-08-17 09:13:26 +00:00
getpagesizes.3 Correct a section name; specifically, "AUTHOR" should be "AUTHORS". [1] 2009-09-21 18:02:02 +00:00
getpagesizes.c Use aux vector to get values for SSP canary, pagesize, pagesizes array, 2010-08-17 09:13:26 +00:00
getpass.3
getpeereid.3
getpeereid.c
getprogname.3
getprogname.c
getpwent.3
getpwent.c
getttyent.3 Add two changes that should have gone into commit r202274. 2010-01-14 05:37:43 +00:00
getttyent.c Remove pseudo-terminals from ttys(5). 2010-01-27 11:54:42 +00:00
getusershell.3
getusershell.c Eliminate more dead stores. 2009-11-25 04:45:45 +00:00
getutxent.3 Fix whitespace inconsistencies in libc in files copyrighted by me. 2011-06-26 18:27:17 +00:00
getutxent.c Properly styleify utmpx code and document error codes in man page. 2011-02-19 11:31:56 +00:00
getvfsbyname.3
getvfsbyname.c
glob.3 Don't forget to bump man page date for r218711. 2011-02-15 20:07:35 +00:00
glob.c Fix a bug due to a type conversion from 64 to 32 bits. The side effect of 2010-05-12 17:44:00 +00:00
initgroups.3
initgroups.c
isatty.c
isgreater.3 mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
isinf.c
isnan.c
jrand48.c
lcong48.c
ldexp.3
ldexp.c
lockf.3
lockf.c
lrand48.c
makecontext.3
Makefile.inc Add a new libc function: cfmakesane(3). 2010-11-02 17:00:56 +00:00
modf.3
mrand48.c
nftw.c
nice.3
nice.c
nlist.3
nlist.c Fix many "function declaration isn't a prototype" warnings in libc. 2009-12-05 19:31:38 +00:00
nrand48.c
opendir.c Let opendir() use O_DIRECTORY. 2010-03-21 20:45:06 +00:00
pause.3
pause.c Make pause(3) implementation not depended on the legacy sigcompat.c 2010-02-25 13:51:11 +00:00
pmadvise.c
popen.3
popen.c
posix_spawn_file_actions_addopen.3 Use our canonical .Dd format. 2009-11-02 12:35:38 +00:00
posix_spawn_file_actions_init.3 Use our canonical .Dd format. 2009-11-02 12:35:38 +00:00
posix_spawn.3 Fix whitespace inconsistencies in libc in files copyrighted by me. 2011-06-26 18:27:17 +00:00
posix_spawn.c posix_spawn: If an error is detected in the child process, reap the zombie. 2011-07-10 14:20:11 +00:00
posix_spawnattr_getflags.3 Use our canonical .Dd format. 2009-11-02 12:35:38 +00:00
posix_spawnattr_getpgroup.3 Use our canonical .Dd format. 2009-11-02 12:35:38 +00:00
posix_spawnattr_getschedparam.3 Use our canonical .Dd format. 2009-11-02 12:35:38 +00:00
posix_spawnattr_getschedpolicy.3 Use our canonical .Dd format. 2009-11-02 12:35:38 +00:00
posix_spawnattr_getsigdefault.3 Use our canonical .Dd format. 2009-11-02 12:35:38 +00:00
posix_spawnattr_getsigmask.3 Use our canonical .Dd format. 2009-11-02 12:35:38 +00:00
posix_spawnattr_init.3 Use our canonical .Dd format. 2009-11-02 12:35:38 +00:00
psignal.3 Make sys_signame upper case. 2011-02-04 16:40:50 +00:00
psignal.c
pututxline.c Fix whitespace inconsistencies in libc in files copyrighted by me. 2011-06-26 18:27:17 +00:00
pw_scan.c
pw_scan.h
pwcache.3
pwcache.c Don't let the C library depend on <utmp.h>. 2009-12-05 19:04:21 +00:00
raise.3 raise(3): Note that this sends a signal to the current thread, not process. 2010-05-07 17:20:15 +00:00
raise.c Fix many "function declaration isn't a prototype" warnings in libc. 2009-12-05 19:31:38 +00:00
rand48.3 Bump .Dd, forgotten in r203393 2010-02-02 19:44:51 +00:00
rand48.h
readdir.c
readpassphrase.3 Sync with OpenBSD, primarily better signal and terminal handling. 2010-11-13 10:38:06 +00:00
readpassphrase.c Sync with OpenBSD, primarily better signal and terminal handling. 2010-11-13 10:38:06 +00:00
rewinddir.c
rfork_thread.3 rfork_thread(3): Mark deprecated in favor of pthread_create(3). 2011-02-06 23:26:14 +00:00
scandir.3 mdoc: spell macros correctly, there's no need for the backslash escape 2010-06-02 10:20:38 +00:00
scandir.c Style: reword comment. 2010-01-20 11:59:46 +00:00
seed48.c
seekdir.c
sem_destroy.3
sem_getvalue.3
sem_init.3 Update manuals of sem_open and sem_init. 2010-01-12 01:30:05 +00:00
sem_new.c To support stack unwinding for cancellation points, add -fexceptions flag 2010-09-25 01:57:47 +00:00
sem_open.3 Update manuals of sem_open and sem_init. 2010-01-12 01:30:05 +00:00
sem_post.3
sem_timedwait.3 mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
sem_wait.3
sem.c To support stack unwinding for cancellation points, add -fexceptions flag 2010-09-25 01:57:47 +00:00
semctl.c
setdomainname.c
sethostname.c
setjmp.3
setjmperr.c
setmode.3
setmode.c
setproctitle.3 mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
setproctitle.c
setprogname.c
siginterrupt.3 Update xrefs from 4.3BSD to modern signal functions in various man pages. 2010-05-06 22:49:54 +00:00
siginterrupt.c
siglist.c Make sys_signame upper case. 2011-02-04 16:40:50 +00:00
signal.3
signal.c
sigsetops.3
sigsetops.c
sleep.3
sleep.c Fix many "function declaration isn't a prototype" warnings in libc. 2009-12-05 19:31:38 +00:00
srand48.c
statvfs.3
statvfs.c
stringlist.3 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
stringlist.c
strtofflags.3
strtofflags.c
swapcontext.c
Symbol.map Implement __pthread_map_stacks_exec() callback for libc, to change the 2011-01-08 17:13:43 +00:00
sysconf.3 Document some more sysconf(3) variables. 2011-02-13 17:43:56 +00:00
sysconf.c Use size of int to fetch sysctl kern.sched.cpusetsize because it had 2011-06-16 02:22:24 +00:00
sysctl.3 mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
sysctl.c Add proper const keywords to sysctl(3) parameters. 2010-02-21 13:57:02 +00:00
sysctlbyname.c While there, trim some trailing whitespace. 2010-02-21 14:58:01 +00:00
sysctlnametomib.c Add proper const keywords to sysctl(3) parameters. 2010-02-21 13:57:02 +00:00
syslog.3
syslog.c Use FD_CLOEXEC explicitly. 2011-03-30 14:15:18 +00:00
tcgetpgrp.3
tcgetsid.3 mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
tcsendbreak.3
tcsetattr.3 Add a new libc function: cfmakesane(3). 2010-11-02 17:00:56 +00:00
tcsetpgrp.3
tcsetsid.3
telldir.c
telldir.h
termios.c Add a new libc function: cfmakesane(3). 2010-11-02 17:00:56 +00:00
time.3 Document CLOCK_SECOND, add cross-reference from time(3) to clock_gettime(2). 2009-12-29 14:29:08 +00:00
time.c Use clock_gettime(CLOCK_SECOND) instead of gettimeofday(2) for 2009-12-29 12:47:47 +00:00
times.3
times.c
timezone.3
timezone.c Fix many "function declaration isn't a prototype" warnings in libc. 2009-12-05 19:31:38 +00:00
tls.c The static TLS size as given by tls_static_space includes TLS_TCB_SIZE 2010-02-16 02:22:59 +00:00
ttyname.3 Improve the ttyname(3) manual page. 2010-01-24 14:44:05 +00:00
ttyname.c
ttyslot.c Simplify ttyslot(3). 2010-01-17 15:43:14 +00:00
tzset.3 Catch up with r130332 which changed the default timezone from GMT to UTC. 2009-11-17 16:29:39 +00:00
ualarm.3 Update xrefs from 4.3BSD to modern signal functions in various man pages. 2010-05-06 22:49:54 +00:00
ualarm.c
ucontext.3
ulimit.3
ulimit.c
uname.3
uname.c Revert r202447 by re-exposing the old uname(3) function. 2010-01-19 23:07:12 +00:00
unvis.3
unvis.c
usleep.3
usleep.c Fix many "function declaration isn't a prototype" warnings in libc. 2009-12-05 19:31:38 +00:00
utime.3
utime.c
utxdb.c Properly styleify utmpx code and document error codes in man page. 2011-02-19 11:31:56 +00:00
utxdb.h Perform several small cleanups to the utmpx code. 2010-01-17 21:40:05 +00:00
valloc.3
valloc.c
vis.3
vis.c
wait3.c
wait.c
waitpid.c
wordexp.3
wordexp.c Eliminate more dead stores. 2009-11-25 04:45:45 +00:00