about summary refs log tree commit diff
path: root/src/legacy
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-04-22 20:45:16 -0400
committerRich Felker <dalias@aerifal.cx>2017-04-22 20:47:25 -0400
commitf9f686b7721e2cc35e20fa5c6df6da2dc4ac3f50 (patch)
tree1084cf7d92ae83f2957ed6135e8687d8513d8b11 /src/legacy
parent77e895dcfadb156c9f378d26c9d0497ce2baf13f (diff)
downloadmusl-f9f686b7721e2cc35e20fa5c6df6da2dc4ac3f50.tar.gz
musl-f9f686b7721e2cc35e20fa5c6df6da2dc4ac3f50.tar.xz
musl-f9f686b7721e2cc35e20fa5c6df6da2dc4ac3f50.zip
have posix_spawnattr_setflags check for supported flags
per POSIX, EINVAL is not a mandatory error, only an optional one. but
reporting unsupported flags allows an application to fallback
gracefully when a requested feature is not supported. this is not
helpful now, but it may be in the future if additional flags are
added.

had this checking been present before, applications would have been
able to check for the newly-added POSIX_SPAWN_SETSID feature (added in
commit bb439bb17108b67f3df9c9af824d3a607b5b059d) at runtime.
Diffstat (limited to 'src/legacy')
0 files changed, 0 insertions, 0 deletions