mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-12 22:19:10 +00:00
Add pledge.com for launching commands in a sandbox
This commit is contained in:
parent
12d9f7ade6
commit
1d490fcb94
8 changed files with 308 additions and 297 deletions
|
@ -1536,7 +1536,6 @@ syscon termios EXTA 14 0x4b00 0x4b00 0x4b00 0x4b00 0 # bsd conse
|
|||
syscon termios EXTB 15 0x9600 0x9600 0x9600 0x9600 0 # bsd consensus
|
||||
syscon termios ERA 0x02002c 45 45 0 0 0
|
||||
syscon termios EMPTY 0 0 0 0 0 0 # consensus
|
||||
syscon termios TCFLSH 0x540b 0 0 0 0 0
|
||||
|
||||
syscon termios TCFLSH 0x540b 0x80047410 0x80047410 0x80047410 0x80047410 0 # see tcflush; TIOCFLUSH on BSD
|
||||
syscon termios TIOCFLUSH 0x540b 0x80047410 0x80047410 0x80047410 0x80047410 0 # see tcflush; TCFLSH on Linux
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#define PR_GET_NO_NEW_PRIVS 39
|
||||
|
||||
#define PR_SET_NAME 15
|
||||
#define PR_GET_NAME 0x10
|
||||
#define PR_GET_NAME 16
|
||||
|
||||
#define PR_GET_TSC 25
|
||||
#define PR_SET_TSC 26
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue