diff --git a/Cargo.toml b/Cargo.toml index 0d7434e1a9..009ddac0a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "redox_syscall" -version = "0.5.13" +version = "0.5.14" description = "A Rust library to access raw Redox system calls" license = "MIT" authors = ["Jeremy Soller "] diff --git a/src/flag.rs b/src/flag.rs index fe69a5c056..c5fc7cf14e 100644 --- a/src/flag.rs +++ b/src/flag.rs @@ -144,6 +144,7 @@ pub const MODE_FILE: u16 = 0x8000; pub const MODE_SYMLINK: u16 = 0xA000; pub const MODE_FIFO: u16 = 0x1000; pub const MODE_CHR: u16 = 0x2000; +pub const MODE_SOCK: u16 = 0xC000; pub const MODE_PERM: u16 = 0x0FFF; pub const MODE_SETUID: u16 = 0o4000;