LibC: Add POSIX_SPAWN_SETSIGMASK

This isn't in posix yet, but it is implemented on some platforms
and it will be in a future version:
https://www.austingroupbugs.net/view.php?id=1044

It seems useful, so add it.
This commit is contained in:
Nico Weber 2020-06-19 16:28:43 -04:00 committed by Andreas Kling
commit 2ddca326be
Notes: sideshowbarker 2024-07-19 05:32:24 +09:00
2 changed files with 11 additions and 1 deletions

View file

@ -50,8 +50,12 @@ enum {
POSIX_SPAWN_SETSIGDEF = 1 << 4,
POSIX_SPAWN_SETSIGMASK = 1 << 5,
POSIX_SPAWN_SETSID = 1 << 6,
};
#define POSIX_SPAWN_SETSID POSIX_SPAWN_SETSID
struct posix_spawn_file_actions_state;
typedef struct {
struct posix_spawn_file_actions_state* state;