aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/sys_amd64.const
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2019-01-06 17:39:32 +0100
committerDmitry Vyukov <dvyukov@google.com>2019-01-06 17:39:32 +0100
commitee332608e9ebc1d77675662fd8511ff94fd49acd (patch)
treeff65a4d4c8ce5e5f6760f598de11816f331ff390 /sys/linux/sys_amd64.const
parent07e1c797765f68124859f864ae9ab6e86975a1a0 (diff)
sys/linux: prohibit SNAPSHOT_FREEZE
SNAPSHOT_FREEZE freezes all processes and leaves the machine dead.
Diffstat (limited to 'sys/linux/sys_amd64.const')
-rw-r--r--sys/linux/sys_amd64.const2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/linux/sys_amd64.const b/sys/linux/sys_amd64.const
index de7ef1836..a85e52ddb 100644
--- a/sys/linux/sys_amd64.const
+++ b/sys/linux/sys_amd64.const
@@ -503,6 +503,8 @@ SIGINFO_SIZE = 128
SIG_BLOCK = 0
SIG_SETMASK = 2
SIG_UNBLOCK = 1
+SNAPSHOT_FREEZE = 13057
+SNAPSHOT_UNFREEZE = 13058
SPLICE_F_GIFT = 8
SPLICE_F_MORE = 4
SPLICE_F_MOVE = 1