Searched refs:cred (Results 1 – 5 of 5) sorted by relevance
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | open.rs | 16 use crate::{filesystem::vfs::syscall::UtimensFlags, process::cred::Kgid}; 18 process::cred::GroupInfo, 107 let cred = ProcessManager::current_pcb().cred(); in chown_common() localVariable 108 let current_uid = cred.uid.data(); in chown_common() 109 let current_gid = cred.gid.data(); in chown_common() 111 if let Some(info) = cred.group_info.as_ref() { in chown_common()
|
H A D | file.rs | 30 process::{cred::Cred, ProcessManager}, 210 cred: Cred, field 234 cred: ProcessManager::current_pcb().cred(), in new() 509 cred: self.cred.clone(), in try_clone()
|
/DragonOS/kernel/src/process/ |
H A D | syscall.rs | 14 cred::{Kgid, Kuid}, 355 return Ok(pcb.cred.lock().uid.data()); in getuid() 360 return Ok(pcb.cred.lock().gid.data()); in getgid() 365 return Ok(pcb.cred.lock().euid.data()); in geteuid() 370 return Ok(pcb.cred.lock().egid.data()); in getegid() 375 let mut guard = pcb.cred.lock(); in setuid() 392 let mut guard = pcb.cred.lock(); in setgid() 411 let mut guard = pcb.cred.lock(); in seteuid() 429 let mut guard = pcb.cred.lock(); in setegid() 449 let mut guard = pcb.cred.lock(); in setfsuid() [all …]
|
H A D | mod.rs | 16 use cred::INIT_CRED; 68 use self::{cred::Cred, kthread::WorkerPrivate}; 72 pub mod cred; module 669 cred: SpinLock<Cred>, field 708 let (pid, ppid, cwd, cred, tty) = if is_idle { in do_create_pcb() 709 let cred = INIT_CRED.clone(); in do_create_pcb() localVariable 710 (Pid(0), Pid(0), "/".to_string(), cred, None) in do_create_pcb() 713 let mut cred = ProcessManager::current_pcb().cred(); in do_create_pcb() localVariable 714 cred.cap_permitted = cred.cap_ambient; in do_create_pcb() 715 cred.cap_effective = cred.cap_ambient; in do_create_pcb() [all …]
|
/DragonOS/user/dadk/config/ |
H A D | test_cred-0.1.0.dadk | 4 "description": "测试cred",
|