diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-12-11 02:34:33 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-12-11 02:34:33 +0000 |
commit | 2f93b2b11880e0091a42efe86d15c421bcb1387c (patch) | |
tree | 979f17eeb8114e1ab73ab22648d026b9f5b1cd95 /pkg/abi/linux | |
parent | 9cd210bca894e517666d1ba159bbabd3ecf41e07 (diff) | |
parent | 46651a7d26559bdc69d460bdeb4de5968212d615 (diff) |
Merge release-20191129.0-42-g46651a7 (automated)
Diffstat (limited to 'pkg/abi/linux')
-rw-r--r-- | pkg/abi/linux/file.go | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkg/abi/linux/file.go b/pkg/abi/linux/file.go index c9ee098f4..0f014d27f 100644 --- a/pkg/abi/linux/file.go +++ b/pkg/abi/linux/file.go @@ -144,9 +144,13 @@ const ( ModeCharacterDevice = S_IFCHR ModeNamedPipe = S_IFIFO - ModeSetUID = 04000 - ModeSetGID = 02000 - ModeSticky = 01000 + S_ISUID = 04000 + S_ISGID = 02000 + S_ISVTX = 01000 + + ModeSetUID = S_ISUID + ModeSetGID = S_ISGID + ModeSticky = S_ISVTX ModeUserAll = 0700 ModeUserRead = 0400 |