Home
last modified time | relevance | path

Searched refs:fsgid (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/process/
H A Dcred.rs43 pub fsgid: Kgid, field
68 fsgid: GLOBAL_ROOT_GID, in init()
92 if self.fsgid < other.fsgid { in fscmp()
95 if self.fsgid > other.fsgid { in fscmp()
162 pub fn setfsgid(&mut self, fsgid: usize) { in setfsgid()
163 self.fsgid.0 = fsgid; in setfsgid()
H A Dsyscall.rs373 if egid == usize::MAX || (egid == guard.egid.data() && egid == guard.fsgid.data()) { in setegid()
401 pub fn setfsgid(fsgid: usize) -> Result<usize, SystemError> { in setfsgid()
402 let fsgid = Kgid::new(fsgid); in setfsgid() localVariable
406 let old_fsgid = guard.fsgid; in setfsgid()
408 if fsgid == guard.gid || fsgid == guard.egid || fsgid == guard.sgid { in setfsgid()
409 guard.setfsgid(fsgid.data()); in setfsgid()