Searched refs:verify_area (Results 1 – 8 of 8) sorted by relevance
/DragonOS-0.1.3/kernel/src/libs/ |
D | string.c | 86 if (!verify_area((uint64_t)src, size)) in strncpy_from_user() 104 if (!verify_area((uint64_t)src, size)) in strnlen_user()
|
/DragonOS-0.1.3/kernel/src/common/ |
D | glib.h | 201 bool verify_area(uint64_t addr_start, uint64_t length) in verify_area() function 220 if (!verify_area((uint64_t)src, size)) in copy_from_user() 249 if (verify_area((uint64_t)src, size)) in copy_to_user()
|
/DragonOS-0.1.3/kernel/src/debug/traceback/ |
D | traceback.c | 37 if (verify_area(regs->rbp, 0)) in traceback()
|
/DragonOS-0.1.3/kernel/src/exception/ |
D | softirq.rs | 7 include::bindings::bindings::{verify_area, EBUSY, EEXIST, EPERM}, 198 if unsafe { verify_area(action.unwrap() as u64, 1) } { in register_softirq()
|
/DragonOS-0.1.3/kernel/src/ipc/ |
D | signal.rs | 10 spinlock_t, verify_area, EFAULT, EINVAL, ENOTSUP, EPERM, ESRCH, NULL, PF_EXITING, 646 let access_check_ok = unsafe { verify_area(frame as u64, size_of::<sigframe>() as u64) }; in setup_frame() 723 if unsafe { !verify_area(to as u64, size_of::<siginfo>() as u64) } { in copy_siginfo_to_user() 816 if unsafe { !verify_area(act as usize as u64, size_of::<sigaction>() as u64) } { in sys_sigaction() 885 if unsafe { !verify_area(old_act as usize as u64, size_of::<sigaction>() as u64) } { in sys_sigaction() 1001 if unsafe { !verify_area(frame as u64, size_of::<sigframe>() as u64) } { in sys_rt_sigreturn()
|
/DragonOS-0.1.3/kernel/src/syscall/ |
D | syscall.c | 160 if (SYSCALL_FROM_USER(regs) && (!verify_area((uint64_t)buf, count))) in sys_read() 212 if (SYSCALL_FROM_USER(regs) && (!verify_area((uint64_t)buf, count))) in sys_write()
|
/DragonOS-0.1.3/kernel/src/libs/libUI/ |
D | screen_manager.c | 70 if (unlikely(verify_area(buf->vaddr, buf->size) == true)) in __destroy_buffer()
|
/DragonOS-0.1.3/kernel/src/filesystem/vfs/ |
D | VFS.c | 220 if (!(verify_area((uint64_t)buf, sizeof(struct dirent) + namelen))) in vfs_fill_dirent()
|