History log of /netbsd-src/lib/libc/gen/execvp.c (Results 1 – 25 of 32)
Revision Date Author Comments
# ace5b9b5 20-Jan-2024 christos <christos@NetBSD.org>

Catch up with all the lint warnings since exit on warning was disabled.
Disable 'missing header declaration' and 'nested extern' warnings for now.


# 718924c8 26-Sep-2014 christos <christos@NetBSD.org>

add execvpe, execlpe (reviewed by phone)


# 8a52d962 20-Jul-2007 yamt <yamt@NetBSD.org>

add a comment.


# 4ba9b8cf 09-Nov-2006 christos <christos@NetBSD.org>

undo the previous; we need alloca here, otherwise the parent will leak on
vfork.


# e0d6d71d 09-Nov-2006 christos <christos@NetBSD.org>

use mmap instead of malloc because we may have vforked. pointed out by yamt.


# 249933b8 08-Nov-2006 christos <christos@NetBSD.org>

if we are using ssp, use malloc instead of alloca.


# 03256c6e 29-Nov-2005 christos <christos@NetBSD.org>

WARNS=4


# 178e201b 01-Jun-2005 lukem <lukem@NetBSD.org>

appease gcc -Wuninitialized


# eb7c1594 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.


# 75fdb547 15-Mar-2003 christos <christos@NetBSD.org>

PR/13242: John Heasley: ENOTDIR is not fatal


# f60f35f3 04-Mar-2003 nathanw <nathanw@NetBSD.org>

Don't acquire __environ_lock around exec*() calls; nothing requires
that these calls be thread-safe with respect to the environment, and it
causes serious problems for threaded applications which cal

Don't acquire __environ_lock around exec*() calls; nothing requires
that these calls be thread-safe with respect to the environment, and it
causes serious problems for threaded applications which call vfork() and
exec*() (including indirectly, via popen() or system()).

Acquire and release __environ_lock in the parent in popen() and system() to
play safe and provide the child with a stable environment.

__environ_lock should also have an atfork() handler; still under development.

show more ...


# 3fdac2b8 18-Jan-2003 thorpej <thorpej@NetBSD.org>

Merge the nathanw_sa branch.


# 689d72c0 08-Dec-2001 enami <enami@NetBSD.org>

Use memcpy instead of memmove since no overlaps here (copy from somewhere
outside of the funciton to our stack).


# 9e0ad09c 19-Sep-2001 enami <enami@NetBSD.org>

Cosmetic changes (including ANSI'fy).


# b2e798fd 19-Sep-2001 enami <enami@NetBSD.org>

Remove unnecessary alloca, strcpy and strlen call.


# aaa0df1a 18-Sep-2001 simonb <simonb@NetBSD.org>

Use alloca() instead of malloc() and strdup(). Proper fix for the find
problem posted to current-users@netbsd.org. Solution suggested by a
couple of folks on that mailing list, and Art Grabowski wh

Use alloca() instead of malloc() and strdup(). Proper fix for the find
problem posted to current-users@netbsd.org. Solution suggested by a
couple of folks on that mailing list, and Art Grabowski who pointed me
at a similar change in OpenBSD.

show more ...


# 60549036 22-Jan-2000 mycroft <mycroft@NetBSD.org>

Delint.
Remove trailing ; from uses of __weak_alias(). The macro inserts this if
needed.


# d8962612 20-Sep-1999 lukem <lukem@NetBSD.org>

back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.


# b48252f3 16-Sep-1999 lukem <lukem@NetBSD.org>

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attemp

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif

show more ...


# d2122550 16-Sep-1999 lukem <lukem@NetBSD.org>

revert previous (as per klaus). will diagassert() name == NULL check instead...


# f385db77 16-Sep-1999 lukem <lukem@NetBSD.org>

check name != NULL before checking name[0] != '\0'


# 0d5bfdd0 04-Feb-1999 kleink <kleink@NetBSD.org>

Make argv construction code reentrant.


# b4d3f6c4 12-Nov-1998 christos <christos@NetBSD.org>

fix lint const lossage.


# 4bbb5fd3 11-Sep-1998 kleink <kleink@NetBSD.org>

Add a multiple-reader/single-writer lock to protect environ.


# 98b9f211 26-Aug-1998 perry <perry@NetBSD.org>

fix bcopy->memcpy with memcpy->memmove -- not strictly needed, but...


12