Home
last modified time | relevance | path

Searched refs:uname (Results 1 – 2 of 2) sorted by relevance

/kernel/
Dsys.c1322 SYSCALL_DEFINE1(uname, struct old_utsname __user *, name) in SYSCALL_DEFINE1() argument
2318 const char __user *uname; in prctl_set_vma() local
2324 uname = (const char __user *)arg; in prctl_set_vma()
2325 if (uname) { in prctl_set_vma()
2328 name = strndup_user(uname, ANON_VMA_NAME_MAX_LEN); in prctl_set_vma()
/kernel/bpf/
Dbtf.c6974 char __user *uname; in btf_get_info_by_fd() local
6995 uname = u64_to_user_ptr(info.name); in btf_get_info_by_fd()
6997 if (!uname ^ !uname_len) in btf_get_info_by_fd()
7003 if (uname) { in btf_get_info_by_fd()
7005 if (copy_to_user(uname, btf->name, name_len + 1)) in btf_get_info_by_fd()
7010 if (copy_to_user(uname, btf->name, uname_len - 1)) in btf_get_info_by_fd()
7012 if (put_user(zero, uname + uname_len - 1)) in btf_get_info_by_fd()