Upgrade to current NetBSD popen/pclose.
This gets us back to using vfork now our ARM vfork assembler stub is fixed, and adds the missing thread safety for the 'pidlist'. Bug: 5335385 Change-Id: Ib08bfa65b2cb9fa695717aae629ea14816bf988d
This commit is contained in:
@@ -24,4 +24,13 @@
|
||||
// TODO: update our <sys/cdefs.h> to support this properly.
|
||||
#define __type_fit(t, a) (0 == 0)
|
||||
|
||||
// TODO: our 2.6 emulator kernels don't support SOCK_CLOEXEC yet, so we have to do without.
|
||||
#define SOCK_CLOEXEC 0
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
// TODO: we don't yet have thread-safe environment variables.
|
||||
#define __readlockenv() 0
|
||||
#define __unlockenv() 0
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user