summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-03-16 03:21:47 +0000
committergVisor bot <gvisor-bot@google.com>2021-03-16 03:21:47 +0000
commit34cc37e563c44dc9c16322a8640f944597648a84 (patch)
tree769a786519a825ef98ffef507aed386cb8a63247
parentf2dd5f6a5fa49fc23a131f0545e6373d239aafad (diff)
parentf7e841c2cede357c4cbd6117605e3f3d54f1961c (diff)
Merge release-20210309.0-30-gf7e841c2c (automated)
-rw-r--r--pkg/sentry/syscalls/linux/sys_thread.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkg/sentry/syscalls/linux/sys_thread.go b/pkg/sentry/syscalls/linux/sys_thread.go
index 44738c40c..b5f920949 100644
--- a/pkg/sentry/syscalls/linux/sys_thread.go
+++ b/pkg/sentry/syscalls/linux/sys_thread.go
@@ -31,6 +31,11 @@ import (
)
const (
+ // exitSignalMask is the signal mask to be sent at exit. Same as CSIGNAL in linux.
+ exitSignalMask = 0xff
+)
+
+var (
// ExecMaxTotalSize is the maximum length of all argv and envv entries.
//
// N.B. The behavior here is different than Linux. Linux provides a limit on
@@ -42,9 +47,6 @@ const (
// ExecMaxElemSize is the maximum length of a single argv or envv entry.
ExecMaxElemSize = 32 * usermem.PageSize
-
- // exitSignalMask is the signal mask to be sent at exit. Same as CSIGNAL in linux.
- exitSignalMask = 0xff
)
// Getppid implements linux syscall getppid(2).