diff options
author | bde <bde@FreeBSD.org> | 1998-10-10 19:30:45 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-10-10 19:30:45 +0000 |
commit | 2b75a45bd4e1851438f3cdd00ff724060dc09441 (patch) | |
tree | ea82a36911473f8d9e8b9eccbab0fd1f3556c48a /libexec | |
parent | 04193443e723f220d7454e40175cb29674e0dbd1 (diff) | |
download | FreeBSD-src-2b75a45bd4e1851438f3cdd00ff724060dc09441.zip FreeBSD-src-2b75a45bd4e1851438f3cdd00ff724060dc09441.tar.gz |
vfork -> fork. The child calls execl() which calls malloc(), so
vfork() can't be used. We could use alloca() in execl() so that
it can be called between vfork() and execve(), but a "portable"
popen() shouldn't depend on this. Calling execle() instead of
execl() should be fairly safe, since execle() is supposed to be
callable from signal handlers and signal handlers can't call
malloc(). However, execle() is broken.
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions