Searched refs:user_mode (Results 1 – 7 of 7) sorted by relevance
6 pub fn user_mode(regs: *const pt_regs)->bool{ in user_mode() function
43 static inline int user_mode(struct pt_regs *regs) in user_mode() function
20 #define SYSCALL_FROM_USER(regs) (user_mode(regs))
377 if (user_mode(regs)) in sys_chdir()
263 * 将原有的判断pt_regs是否来自用户态的代码,统一改为调用user_mode函数
5 asm::{bitops::ffz, current::current_pcb, ptrace::user_mode},402 if current_pcb().sig_pending.signal == 0 || (!user_mode(regs)) { in do_signal()
362 if (user_mode(regs)) in sys_mkdir()