Home
last modified time | relevance | path

Searched refs:check_and_clone_cstr (Results 1 – 8 of 8) sorted by relevance

/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs18 user_access::{self, check_and_clone_cstr, UserBufferWriter},
490 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))? in open()
512 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))? in openat()
695 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))? in chdir()
802 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))? in mkdir()
815 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))? in mkdir_at()
888 let res = check_and_clone_cstr(cstr, Some(MAX_PATHLEN))? in link()
918 let old = check_and_clone_cstr(old, Some(MAX_PATHLEN))? in linkat()
921 let new = check_and_clone_cstr(new, Some(MAX_PATHLEN))? in linkat()
947 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))? in unlinkat()
[all …]
H A Dcore.rs21 syscall::user_access::check_and_clone_cstr,
256 let oldname = check_and_clone_cstr(from, Some(MAX_PATHLEN))? in do_symlinkat()
259 let newname = check_and_clone_cstr(to, Some(MAX_PATHLEN))? in do_symlinkat()
H A Dopen.rs14 syscall::user_access::check_and_clone_cstr,
43 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))?; in do_faccessat()
56 let path = check_and_clone_cstr(path, Some(MAX_PATHLEN))?; in do_fchmodat()
/DragonOS/kernel/src/perf/
H A Dutil.rs4 use crate::syscall::user_access::check_and_clone_cstr;
60 let name = check_and_clone_cstr(name_ptr, None)?; in try_from()
/DragonOS/kernel/src/bpf/prog/
H A Dutil.rs2 use crate::syscall::user_access::{check_and_clone_cstr, UserBufferReader};
100 let license = check_and_clone_cstr(u.license as *const u8, None)?; in try_from()
/DragonOS/kernel/src/syscall/
H A Duser_access.rs75 pub fn check_and_clone_cstr( in check_and_clone_cstr() function
144 let string = check_and_clone_cstr(str_ptr, None)?; in check_and_clone_cstr_array()
H A Dmod.rs21 syscall::user_access::check_and_clone_cstr,
1236 let s = check_and_clone_cstr(s, Some(4096))? in put_string()
/DragonOS/kernel/src/process/
H A Dsyscall.rs35 user_access::{check_and_clone_cstr, check_and_clone_cstr_array, UserBufferWriter},
125 let path: CString = check_and_clone_cstr(path, Some(MAX_PATHLEN))?; in execve()