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:
4lDO2
2024-09-25 19:39:41 +02:00
parent a736f596b9
commit 7fa5b679cc
4 changed files with 37 additions and 6 deletions
+1 -1
View File
@@ -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},
};