#
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.
|
#
93fc0a3e |
| 30-Jun-2011 |
joerg <joerg@NetBSD.org> |
Drop special cases for i386 and m68k. It is not a validate assumption that the address of an argument is at the same stack slot the caller placed in it. It is perfectely valid to copy it into the loc
Drop special cases for i386 and m68k. It is not a validate assumption that the address of an argument is at the same stack slot the caller placed in it. It is perfectely valid to copy it into the local frame first.
show more ...
|
#
d8de5b10 |
| 09-Jan-2008 |
simonb <simonb@NetBSD.org> |
Remove support for NetBSD/pc532.
|
#
5c598dee |
| 20-Mar-2006 |
he <he@NetBSD.org> |
Now that we use an errno constant, we need <errno.h>.
|
#
5cefc5aa |
| 20-Mar-2006 |
rtr <rtr@NetBSD.org> |
check the return of alloca() if it fails set errno = ENOMEM and fail execl(). approved by christos@ resolves pr29671
|
#
c341912e |
| 29-Nov-2005 |
christos <christos@NetBSD.org> |
cleanup casts and KNF.
|
#
03256c6e |
| 29-Nov-2005 |
christos <christos@NetBSD.org> |
WARNS=4
|
#
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.
|
#
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.
|
#
077b67ef |
| 26-May-2002 |
wiz <wiz@NetBSD.org> |
__STDC__ is always defined on NetBSD.
|
#
60549036 |
| 22-Jan-2000 |
mycroft <mycroft@NetBSD.org> |
Delint. Remove trailing ; from uses of __weak_alias(). The macro inserts this if needed.
|
#
4bbb5fd3 |
| 11-Sep-1998 |
kleink <kleink@NetBSD.org> |
Add a multiple-reader/single-writer lock to protect environ.
|
#
eb498a6a |
| 20-Nov-1997 |
mjacob <mjacob@NetBSD.org> |
argv alloca'd is too short. Alloc an extra member.
|
#
43fa6fe3 |
| 21-Jul-1997 |
jtc <jtc@NetBSD.org> |
If port provides __weak_alias(), provide an Standard C and POSIX pure identifier namespace by renaming non standard functions and variables such that they have a leading underscore. The library will
If port provides __weak_alias(), provide an Standard C and POSIX pure identifier namespace by renaming non standard functions and variables such that they have a leading underscore. The library will use those names internally. Weak aliases are used to provide the original names to the API.
This is only the first part of this change. It is most of the functions which are implemented in C for all NetBSD ports. Subsequent changes are to add the same support to the remaining C files, to assembly files, and to the automagically generated assembly source used for system calls. When all of the above is done, ports with weak alias support should add a definition for __weak_alias to <sys/cdefs.h>.
show more ...
|
#
26cc2d4f |
| 13-Jul-1997 |
christos <christos@NetBSD.org> |
Fix RCSID's
|
#
a0d2fe25 |
| 04-Jul-1996 |
jtc <jtc@NetBSD.org> |
Thanks to the calling conventions used by some cpus, the argument lists passed to the execl(), execle(), and execlp() functions are in the form of the argument vector to be passed to execve(). On th
Thanks to the calling conventions used by some cpus, the argument lists passed to the execl(), execle(), and execlp() functions are in the form of the argument vector to be passed to execve(). On these architectures, it is unnecessary to count the number of arguments, allocate space on the stack, copy the arguments, etc. The vector already on the stack can be used instead.
When some arguments are passed in registers (like most RISC CPU's), it should be possible to allocate stack space adjacent such that the registers can be copied to that memory. After that, the same approach described above can be used.
This change takes advantage of this on the i386, m68k, and ns32k. It is probably true on the vax, but I am unable to check. RISC CPU's probably need assembly language implementations to ensure everything is placed exactly as needed when registers are copied to the stack...
show more ...
|
#
61442025 |
| 03-Jul-1996 |
jtc <jtc@NetBSD.org> |
Split all exec*() functions out of exec.c into their own files.
|