OpenGrok
Cross Reference: posix_spawnp.c
xref
: /
src
/
lib
/
libc
/
gen
/
posix_spawnp.c
Home
|
History
|
Annotate
|
Download
|
only in
gen
History log of
/src/lib/libc/gen/posix_spawnp.c
Revision
Date
Author
Comments
1.5
11-Nov-2024
martin
Error out early if posix_spawnp(3) is called with an empty file name
1.4
11-May-2020
kre
branches: 1.4.8;
Do as the manual says, and use _PATH_DEFPATH if PATH is not present in
the environment rather than simply turning into posix_spawn() in that case.
Also, we cannot use strtok() to parse PATH, the semantics don't fit the API.
Borrow the guts of execvp for the PATH search.
We still simply check for a file with 'x' permission, and assume that one
will do, whatever it is, which isn't really correct, but ...
1.3
04-Jan-2018
kamil
Add bunch of missing includes of namespace.h in libc
The NetBSD Standard C Library uses internally some of its functions with
a mangled symbol name, usually "_symbol". The internal functions shall not
use the global (public) symbols.
This change eliminates usage of the global changes of the following symbols:
- strlcat -> _strlcat
- sysconf -> __sysconf
- closedir -> _closedir
- fparseln -> _fparseln
- kill -> _kill
- mkstemp -> _mkstemp
- reallocarr -> _reallocarr
- strcasecmp -> _strcasecmp
- strncasecmp -> _strncasecmp
- strptime -> _strptime
- strtok_r -> _strtok_r
- sysctl -> _sysctl
- dlopen -> __dlopen
- dlclose -> __dlclose
- dlsym -> __dlsym
Sponsored by <The NetBSD Foundation>
1.2
22-Feb-2012
martin
branches: 1.2.2;
Use C++ compatible declaration for posix_spawn (instead of the C99 specific
posix one).
1.1
11-Feb-2012
martin
branches: 1.1.2;
Add userland part of posix_spawn. Libc functions imported from FreeBSD.
Based on Charles Zhang's summer of code project.
1.1.2.1
23-Feb-2012
riz
Pull up following revision(s) (requested by martin in ticket #36):
include/spawn.h: revision 1.4
lib/libc/gen/posix_spawnp.c: revision 1.2
Use C++ compatible declaration for posix_spawn (instead of the C99 specific
posix one).
1.2.2.2
17-Apr-2012
yamt
sync with head
1.2.2.1
22-Feb-2012
yamt
file posix_spawnp.c was added on branch yamt-pagecache on 2012-04-17 00:05:19 +0000
1.4.8.1
02-Aug-2025
perseant
Sync with HEAD
Indexes created Fri Sep 26 08:10:20 GMT 2025