diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-12-02 08:16:31 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-12-02 08:16:31 +0000 |
commit | a33d5e6c2e12704df54bda30b30e74841388b943 (patch) | |
tree | 52f14fd7fd469eac9053144614c1cd7f33ba9492 /pkg/abi/linux | |
parent | 99f45d4643d155813219c7083d56bfd67f2c4e9e (diff) | |
parent | b26dd6d9b78b2703a8a726376e6935011657123a (diff) |
Merge release-20201117.0-90-gb26dd6d9b (automated)
Diffstat (limited to 'pkg/abi/linux')
-rw-r--r-- | pkg/abi/linux/sem.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkg/abi/linux/sem.go b/pkg/abi/linux/sem.go index 1b2f76c0b..167d2ff74 100644 --- a/pkg/abi/linux/sem.go +++ b/pkg/abi/linux/sem.go @@ -32,6 +32,17 @@ const ( SEM_STAT_ANY = 20 ) +// Information about system-wide sempahore limits and parameters. +// +// Source: include/uapi/linux/sem.h +const ( + SEMMNI = 32000 + SEMMSL = 32000 + SEMMNS = SEMMNI * SEMMSL + SEMOPM = 500 + SEMVMX = 32767 +) + const SEM_UNDO = 0x1000 // Sembuf is equivalent to struct sembuf. |