Verified Commit ab782ebf authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Mark umask as safe

parent a595f2fc
...@@ -328,8 +328,8 @@ pub fn sigreturn() -> Result<usize> { ...@@ -328,8 +328,8 @@ pub fn sigreturn() -> Result<usize> {
} }
/// Set the file mode creation mask /// Set the file mode creation mask
pub unsafe fn umask(mask: usize) -> Result<usize> { pub fn umask(mask: usize) -> Result<usize> {
syscall1(SYS_UMASK, mask) unsafe { syscall1(SYS_UMASK, mask) }
} }
/// Remove a file /// Remove a file
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment