posix_spawn: Add POSIX_SPAWN_SETSID to the list of allowed flags.
This commit is contained in:
parent
b94de4c9bd
commit
bfd87e4cc1
@ -299,7 +299,8 @@ posix_spawnattr_setflags(posix_spawnattr_t *_attr, short flags)
|
||||
return EINVAL;
|
||||
|
||||
if ((flags & ~(POSIX_SPAWN_RESETIDS | POSIX_SPAWN_SETPGROUP
|
||||
| POSIX_SPAWN_SETSIGDEF | POSIX_SPAWN_SETSIGMASK)) != 0) {
|
||||
| POSIX_SPAWN_SETSIGDEF | POSIX_SPAWN_SETSIGMASK
|
||||
| POSIX_SPAWN_SETSID)) != 0) {
|
||||
return EINVAL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user