freebsd-dev/lib/libc/gen
Ed Schouten f67d07f0e1 Properly use the envp argument in execvPe().
execvPe() is called by _execvpe(), which we added to implement
posix_spawnp(). We just took execvP() and added the envp argument.
Unfortunately we forgot to change the implementation to use envp over
environ.

This fixes the following piece of code:

| char * const arg[2] = { "env", NULL };
| char * const env[2] = { "FOO=BAR", NULL };
| posix_spawnp(NULL, "/usr/bin/env", NULL, NULL, arg, env);

MFC after:	2 weeks
2009-11-27 13:05:14 +00:00
..
__getosreldate.c
__xuname.c Fix a typo. q is already a pointer. 2008-10-22 21:56:57 +00:00
_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 Revert the previous change to pthread_once() stub in libc. It is actually 2009-11-20 20:43:34 +00:00
_rand48.c
_spinlock_stub.c
_thread_init.c
alarm.3
alarm.c
arc4random.3 Add arc4random_uniform() function (to avoid "modulo bias") 2008-07-22 11:33:49 +00:00
arc4random.c Return two fixes from previous backout which does not require 2008-09-09 09:46:36 +00:00
assert.c
basename.3 Add basename_r(3) to complement basename(3). basename_r(3) which accepts 2009-10-06 14:05:57 +00:00
basename.c Add basename_r(3) to complement basename(3). basename_r(3) which accepts 2009-10-06 14:05:57 +00:00
check_utility_compat.3
check_utility_compat.c
clock.3
clock.c
closedir.c
confstr.3
confstr.c
crypt.c
ctermid.3
ctermid.c
daemon.3
daemon.c
devname.3 Add two new routines: fdevname() and fdevname_r(). 2009-02-11 20:24:59 +00:00
devname.c
directory.3 Implement fdopendir(3) by splitting __opendir2() into two parts, the upper part 2008-04-16 18:59:36 +00:00
dirname.3 Sync with OpenBSD's dirname(3) - license change, avoid strcpy() over 2008-11-03 05:19:45 +00:00
dirname.c Sync with OpenBSD's dirname(3) - license change, avoid strcpy() over 2008-11-03 05:19:45 +00:00
disklabel.c
dladdr.3
dlfcn.c Allow the NULL, RTLD_SELF and RTLD_NEXT handles to work with dlfunc(3). 2009-04-03 19:17:23 +00:00
dlinfo.3
dllockinit.3
dlopen.3 Implement RTLD_NOLOAD flag for dlopen(3). 2009-07-17 19:45:42 +00:00
drand48.c
erand48.c
err.3 In example use of err(3) and errx(3), use sysexits(3) constants. 2008-10-31 15:14:40 +00:00
err.c Minor style(9) nit: move to using ANSI definition of functions. 2008-04-03 20:36:44 +00:00
errlst.c Add a new errno, ENOTCAPABLE, to be returned when a process requests an 2009-10-07 20:20:51 +00:00
errno.c
exec.3 Turn execvpe() into an internal libc routine. 2008-06-23 05:22:06 +00:00
exec.c Properly use the envp argument in execvPe(). 2009-11-27 13:05:14 +00:00
fdevname.c Add two new routines: fdevname() and fdevname_r(). 2009-02-11 20:24:59 +00:00
feature_present.3
feature_present.c
fmtcheck.3 Teach fmtcheck() about wint_t, intmax_t, char *, intmax_t *, and 2008-08-02 06:02:42 +00:00
fmtcheck.c Use const instead of __const, and merge the license change from NetBSD. 2009-06-23 23:52:12 +00:00
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
fpclassify.3
fpclassify.c
frexp.3
frexp.c
fstab.c
ftok.3 Move msg{snd,recv,get,ctl} manual pages from section 3 to 2. 2009-07-13 12:53:43 +00:00
ftok.c
fts-compat.c
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 Reset path name back to original correctly in fts_build() when 2009-11-26 19:11:44 +00:00
ftw.3
ftw.c
getbootfile.3
getbootfile.c
getbsize.3
getbsize.c Set "max" to a reasonable value if BLOCKSIZE has a bogus unit. Prior 2008-08-04 06:53:13 +00:00
getcap.3
getcap.c Eliminate more dead stores. 2009-11-25 04:45:45 +00:00
getcontext.3
getcwd.3
getcwd.c Make getcwd(3) faster, simpler and more compliant using *at syscalls. 2009-10-13 20:58:22 +00:00
getdiskbyname.3
getdomainname.3
getdomainname.c
getfsent.3
getgrent.3
getgrent.c
getgrouplist.3
getgrouplist.c
gethostname.3
gethostname.c
getloadavg.3
getloadavg.c
getlogin.c
getmntinfo.3
getmntinfo.c
getnetgrent.3
getnetgrent.c
getosreldate.3 Add unistd.h to the getosreldate(3) manpage. 2008-09-30 11:25:55 +00:00
getosreldate.c
getpagesize.3
getpagesize.c
getpagesizes.3 Correct a section name; specifically, "AUTHOR" should be "AUTHORS". [1] 2009-09-21 18:02:02 +00:00
getpagesizes.c Add getpagesizes(3). This functions either the number of supported page 2009-09-19 18:01:32 +00:00
getpass.3
getpeereid.3
getpeereid.c
getprogname.3
getprogname.c
getpwent.3
getpwent.c
getttyent.3
getttyent.c Properly invalidate highest pts number when calling setttyent(). 2009-02-12 19:32:52 +00:00
getusershell.3
getusershell.c Eliminate more dead stores. 2009-11-25 04:45:45 +00:00
getvfsbyname.3 Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
getvfsbyname.c
glob.3
glob.c Gcc barfs in glob.c when run with -O3. To fix this make g_strchr() work on 2008-06-26 07:12:35 +00:00
initgroups.3 In preparation for raising NGROUPS and NGROUPS_MAX, change base 2009-06-19 15:58:24 +00:00
initgroups.c In preparation for raising NGROUPS and NGROUPS_MAX, change base 2009-06-19 15:58:24 +00:00
isatty.c
isgreater.3
isinf.c
isnan.c
jrand48.c
lcong48.c
ldexp.3
ldexp.c
lockf.3 Sync license changes. 2009-03-04 01:01:26 +00:00
lockf.c Sync license changes. 2009-03-04 01:01:26 +00:00
lrand48.c
makecontext.3
Makefile.inc Add an internal _once() method. This works identical to pthread_once(3) 2009-11-20 19:19:51 +00:00
modf.3 Document modff() and modfl(). Technically, modff() and modfl() 2008-03-29 16:19:35 +00:00
mrand48.c
nftw.c
nice.3
nice.c
nlist.3
nlist.c
nrand48.c
opendir.c Implement fdopendir(3) by splitting __opendir2() into two parts, the upper part 2008-04-16 18:59:36 +00:00
pause.3
pause.c
pmadvise.c
popen.3
popen.c Rename the queue macros I introduced last year. 2009-05-27 19:28:04 +00:00
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 Use our canonical .Dd format. 2009-11-02 12:35:38 +00:00
posix_spawn.c Fix a typo. 2008-10-23 15:32:06 +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
psignal.c
pw_scan.c It is believed the last subsystem that limited ID sizes to something 2009-07-22 20:46:17 +00:00
pw_scan.h
pwcache.3
pwcache.c
raise.3
raise.c
rand48.3
rand48.h
readdir.c Do not read away the target directory entry when encountering deleted 2008-05-05 14:05:23 +00:00
readpassphrase.3
readpassphrase.c
rewinddir.c
rfork_thread.3
scandir.3
scandir.c scandir(3) previously used st_size to obtain an initial estimate 2008-03-16 19:08:53 +00:00
seed48.c
seekdir.c
sem_destroy.3
sem_getvalue.3
sem_init.3
sem_open.3
sem_post.3
sem_timedwait.3 Remove trailing whitespace. 2008-03-13 10:26:17 +00:00
sem_wait.3 Add missing section number. 2008-03-13 10:25:30 +00:00
sem.c
semctl.c Change the ABI of some of the structures used by the SYSV IPC API: 2009-06-24 21:10:52 +00:00
setdomainname.c
sethostname.c
setjmp.3
setjmperr.c
setmode.3
setmode.c
setproctitle.3
setproctitle.c
setprogname.c
siginterrupt.3
siginterrupt.c
siglist.c
signal.3 Make it more clear what it means that SA_RESTART is set for signal 2008-07-17 21:54:23 +00:00
signal.c
sigsetops.3
sigsetops.c
sleep.3
sleep.c
srand48.c
statvfs.3
statvfs.c
stringlist.3
stringlist.c
strtofflags.3
strtofflags.c
swapcontext.c
Symbol.map Commit libc files missed in r198508 2009-10-27 10:57:53 +00:00
sysconf.3
sysconf.c
sysctl.3 Update the description of KERN_PROC. 2009-01-28 15:21:38 +00:00
sysctl.c
sysctlbyname.c
sysctlnametomib.c
syslog.3
syslog.c
tcgetpgrp.3
tcgetsid.3 Add tcsetsid(3). 2009-05-07 13:49:48 +00:00
tcsendbreak.3
tcsetattr.3
tcsetpgrp.3
tcsetsid.3 Add tcsetsid(3). 2009-05-07 13:49:48 +00:00
telldir.c Do not read away the target directory entry when encountering deleted 2008-05-05 14:05:23 +00:00
telldir.h Do not read away the target directory entry when encountering deleted 2008-05-05 14:05:23 +00:00
termios.c Add tcsetsid(3). 2009-05-07 13:49:48 +00:00
time.3
time.c
times.3 The times(3) function returns the number of CLK_TCKs since the 2008-12-01 15:27:00 +00:00
times.c
timezone.3
timezone.c
tls.c o Add MIPS to the list of architectures with defined TLS_TCB_ALIGN 2008-04-29 23:15:23 +00:00
ttyname.3 TTYs don't necessarily use /dev/ttyxx. 2009-05-09 16:42:57 +00:00
ttyname.c Add two new routines: fdevname() and fdevname_r(). 2009-02-11 20:24:59 +00:00
ttyslot.c Make ttyslot(3) work with pts(4) devices. 2009-02-12 19:00:13 +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
ualarm.c
ucontext.3
ulimit.3
ulimit.c
uname.3
uname.c
unvis.3
unvis.c
usleep.3
usleep.c
utime.3
utime.c
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