| ... | ... | @@ -3033,16 +3033,18 @@ pub const caddr_t = ?[*]u8; |
| 3033 | 3033 | |
| 3034 | 3034 | pub extern "c" fn ptrace(request: c_int, pid: pid_t, addr: caddr_t, data: c_int) c_int; |
| 3035 | 3035 | |
| 3036 | | pub const POSIX_SPAWN_RESETIDS = 0x0001; |
| 3037 | | pub const POSIX_SPAWN_SETPGROUP = 0x0002; |
| 3038 | | pub const POSIX_SPAWN_SETSIGDEF = 0x0004; |
| 3039 | | pub const POSIX_SPAWN_SETSIGMASK = 0x0008; |
| 3040 | | pub const POSIX_SPAWN_SETEXEC = 0x0040; |
| 3041 | | pub const POSIX_SPAWN_START_SUSPENDED = 0x0080; |
| 3042 | | pub const _POSIX_SPAWN_DISABLE_ASLR = 0x0100; |
| 3043 | | pub const POSIX_SPAWN_SETSID = 0x0400; |
| 3044 | | pub const _POSIX_SPAWN_RESLIDE = 0x0800; |
| 3045 | | pub const POSIX_SPAWN_CLOEXEC_DEFAULT = 0x4000; |
| 3036 | pub const POSIX_SPAWN = struct { |
| 3037 | pub const RESETIDS = 0x0001; |
| 3038 | pub const SETPGROUP = 0x0002; |
| 3039 | pub const SETSIGDEF = 0x0004; |
| 3040 | pub const SETSIGMASK = 0x0008; |
| 3041 | pub const SETEXEC = 0x0040; |
| 3042 | pub const START_SUSPENDED = 0x0080; |
| 3043 | pub const DISABLE_ASLR = 0x0100; |
| 3044 | pub const SETSID = 0x0400; |
| 3045 | pub const RESLIDE = 0x0800; |
| 3046 | pub const CLOEXEC_DEFAULT = 0x4000; |
| 3047 | }; |
| 3046 | 3048 | |
| 3047 | 3049 | pub const posix_spawnattr_t = *opaque {}; |
| 3048 | 3050 | pub const posix_spawn_file_actions_t = *opaque {}; |