diff options
author | Brian Geffon <bgeffon@google.com> | 2018-09-05 09:20:18 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-09-05 09:21:28 -0700 |
commit | 2b8dae0bc5594f7088dd028268efaedbb5a72507 (patch) | |
tree | 3ff989754a41396f2938786f8dac20f64c62d426 /pkg/abi/linux/file.go | |
parent | 0a9a40abcda602dc3403e2108e1348bf4e04051a (diff) |
Open(2) isn't honoring O_NOFOLLOW
PiperOrigin-RevId: 211644897
Change-Id: I882ed827a477d6c03576463ca5bf2d6351892b90
Diffstat (limited to 'pkg/abi/linux/file.go')
-rw-r--r-- | pkg/abi/linux/file.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/abi/linux/file.go b/pkg/abi/linux/file.go index 509f6b5b3..9bf229a57 100644 --- a/pkg/abi/linux/file.go +++ b/pkg/abi/linux/file.go @@ -37,6 +37,7 @@ const ( O_DIRECT = 00040000 O_LARGEFILE = 00100000 O_DIRECTORY = 00200000 + O_NOFOLLOW = 00400000 O_CLOEXEC = 02000000 O_SYNC = 04010000 O_PATH = 010000000 |