Move umask to a regular global variable.
The umask value is per-process, so because all POSIX open-like functions now occur via relibc, this is valid.
This commit is contained in:
@@ -5,8 +5,8 @@ use core::{mem, ptr};
|
||||
use cbitset::BitSet;
|
||||
|
||||
use crate::{
|
||||
error::{Errno, ResultExt},
|
||||
c_str::CStr,
|
||||
error::{Errno, ResultExt},
|
||||
header::{errno, time::timespec},
|
||||
platform::{self, types::*, Pal, PalSignal, Sys},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user