Home
last modified time | relevance | path

Searched refs:user_mode (Results 1 – 7 of 7) sorted by relevance

/DragonOS-0.1.2/kernel/src/arch/x86_64/asm/
Dptrace.rs6 pub fn user_mode(regs: *const pt_regs)->bool{ in user_mode() function
/DragonOS-0.1.2/kernel/src/process/
Dptrace.h43 static inline int user_mode(struct pt_regs *regs) in user_mode() function
/DragonOS-0.1.2/kernel/src/syscall/
Dsyscall.h20 #define SYSCALL_FROM_USER(regs) (user_mode(regs))
Dsyscall.c377 if (user_mode(regs)) in sys_chdir()
/DragonOS-0.1.2/docs/community/ChangeLog/V0.1.x/
DV0.1.2.md263 * 将原有的判断pt_regs是否来自用户态的代码,统一改为调用user_mode函数
/DragonOS-0.1.2/kernel/src/ipc/
Dsignal.rs5 asm::{bitops::ffz, current::current_pcb, ptrace::user_mode},
402 if current_pcb().sig_pending.signal == 0 || (!user_mode(regs)) { in do_signal()
/DragonOS-0.1.2/kernel/src/filesystem/VFS/
DVFS.c362 if (user_mode(regs)) in sys_mkdir()