/DragonOS/user/apps/user-manage/src/parser/ |
H A D | parser.rs | 19 let mut options = HashMap::new(); in parse() localVariable 37 options.insert(option, "".to_string()); in parse() 48 options.insert(option, groups.clone()); in parse() 60 options.insert(option, value); in parse() 66 UserCommand { username, options } in parse() 104 let mut options = HashMap::new(); in parse() localVariable 124 options.insert(option, value); in parse() 130 GroupCommand { groupname, options } in parse()
|
H A D | cmd.rs | 82 pub options: HashMap<CmdOption, String>, field 95 pub options: HashMap<CmdOption, String>, field
|
/DragonOS/user/apps/test_overlayfs/ |
H A D | main.c | 58 char options[1024]; in mount_overlayfs() local 59 snprintf(options, sizeof(options), in mount_overlayfs() 63 if (mount("overlay", MERGEDDIR, "overlay", 0, options) != 0) in mount_overlayfs()
|
/DragonOS/kernel/src/process/ |
H A D | exit.rs | 27 pub options: WaitOption, field 43 pub fn new(pid_type: PidType, pid: Pid, options: WaitOption) -> Self { in new() 47 options, in new() 59 options: WaitOption, in kernel_wait4() 87 let mut kwo = KernelWaitOption::new(pidtype, pid, options); in kernel_wait4() 89 kwo.options.insert(WaitOption::WEXITED); in kernel_wait4() 123 if !kwo.options.contains(WaitOption::WNOHANG) { in do_wait() 188 if kwo.options.contains(WaitOption::WNOHANG) in do_waitpid() 189 || kwo.options.contains(WaitOption::WNOWAIT) in do_waitpid() 210 if (!ptrace) && (!kwo.options.contains(WaitOption::WUNTRACED)) { in do_waitpid() [all …]
|
H A D | syscall.rs | 203 options: i32, in wait4() 206 let options = WaitOption::from_bits(options as u32).ok_or(SystemError::EINVAL)?; in wait4() localVariable 224 let r = kernel_wait4(pid, wstatus_buf, options, tmp_rusage.as_mut())?; in wait4()
|
/DragonOS/user/apps/user-manage/ |
H A D | README.md | 5 > useradd [options] username 32 > userdel [options] username 48 > usermod [options] username 84 > groupadd [options] groupname 115 > groupmod [options] groupname
|
/DragonOS/kernel/src/arch/x86_64/asm/ |
H A D | irqflags.rs | 8 asm!("pushfq; pop {}; cli", out(reg) x, options(nomem, preserves_flags)); in local_irq_save() 17 asm!("push {}; popfq", in(reg) x, options(nomem, preserves_flags)); in local_irq_restore()
|
/DragonOS/kernel/src/net/socket/ |
H A D | unix.rs | 30 pub fn new(options: SocketOptions) -> Self { in new() 38 options, in new() 145 pub fn new(options: SocketOptions) -> Self { in new() 153 options, in new()
|
H A D | inet.rs | 52 pub fn new(protocol: Protocol, options: SocketOptions) -> Self { in new() 77 options, in new() 127 if !self.metadata.options.contains(SocketOptions::BLOCK) { in read() 263 pub fn new(options: SocketOptions) -> Self { in new() 283 options, in new() 515 pub fn new(options: SocketOptions) -> Self { in new() 526 options, in new() 920 self.metadata.options, in accept()
|
H A D | mod.rs | 624 pub options: SocketOptions, field 633 options: SocketOptions, in new() 640 options, in new()
|
/DragonOS/user/apps/user-manage/src/check/ |
H A D | check.rs | 29 for (option, arg) in cmd.options.iter() { in check() 207 if let Some(_) = cmd.options.get(&CmdOption::Remove) { in check() 251 let mut info = Self::parse_options(&cmd.options); in check() 311 fn parse_options(options: &HashMap<CmdOption, String>) -> UModInfo { in parse_options() 313 for (option, arg) in options { in parse_options() 526 if let Some(gid) = cmd.options.get(&CmdOption::Gid) { in check() 532 if let Some(passwd) = cmd.options.get(&CmdOption::Passwd) { in check() 629 if let Some(new_groupname) = cmd.options.get(&CmdOption::NewGroupName) { in check() 633 if let Some(new_gid) = cmd.options.get(&CmdOption::Gid) { in check()
|
/DragonOS/user/apps/user-manage/src/cmd/ |
H A D | groupmod.rs | 38 if !cmd.options.is_empty() { in main()
|
H A D | usermod.rs | 38 if !cmd.options.is_empty() { in main()
|
/DragonOS/kernel/src/arch/x86_64/interrupt/ |
H A D | mod.rs | 62 asm!("pushfq; pop {}", out(reg) rflags, options(nomem, preserves_flags)); in is_irq_enabled()
|
/DragonOS/kernel/src/arch/x86_64/process/ |
H A D | mod.rs | 416 asm!("swapgs", options(nostack, preserves_flags)); in switch_gsbase() 421 asm!("swapgs", options(nostack, preserves_flags)); in switch_gsbase()
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | mod.rs | 181 asm!("invlpg [{0}]", in(reg) address.data(), options(nostack, preserves_flags)); in invalidate_page() 213 asm!("mov cr3, {}", in(reg) table.data(), options(nostack, preserves_flags)); in set_table()
|
/DragonOS/kernel/src/arch/riscv64/process/ |
H A D | mod.rs | 317 unsafe { asm!("mv {}, sp", lateout(reg) sp, options(nostack)) }; in arch_current_pcb()
|
/DragonOS/kernel/src/syscall/ |
H A D | mod.rs | 293 let options = args[2] as c_int; in handle() localVariable 297 Self::wait4(pid.into(), wstatus, options, rusage) in handle()
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.9.md | 1654 wait4系统调用支持options字段 (#398)
|