Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
redox-os
syscall
Commits
8579c436
Unverified
Commit
8579c436
authored
Jul 03, 2017
by
Ian Douglas Scott
Browse files
Add O_NOFOLLOW flag
parent
d80f9972
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/flag.rs
View file @
8579c436
...
...
@@ -45,6 +45,7 @@ pub const O_EXCL: usize = 0x0800_0000;
pub
const
O_DIRECTORY
:
usize
=
0x1000_0000
;
pub
const
O_STAT
:
usize
=
0x2000_0000
;
pub
const
O_SYMLINK
:
usize
=
0x4000_0000
;
pub
const
O_NOFOLLOW
:
usize
=
0x8000_0000
;
pub
const
O_ACCMODE
:
usize
=
O_RDONLY
|
O_WRONLY
|
O_RDWR
;
pub
const
SEEK_SET
:
usize
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment