Searched refs:current_euid (Results 1 – 25 of 30) sorted by relevance
12
/linux-6.6.21/fs/ecryptfs/ |
D | messaging.c | 23 hash_long((unsigned long)from_kuid(&init_user_ns, current_euid()), ecryptfs_hash_bits) 109 if (uid_eq((*daemon)->file->f_cred->euid, current_euid())) { in ecryptfs_find_daemon_by_euid()
|
/linux-6.6.21/kernel/cgroup/ |
D | namespace.c | 14 return inc_ucount(ns, current_euid(), UCOUNT_CGROUP_NAMESPACES); in inc_cgroup_namespaces()
|
/linux-6.6.21/security/keys/ |
D | persistent.c | 148 !uid_eq(uid, current_euid()) && in keyctl_get_persistent()
|
/linux-6.6.21/kernel/ |
D | utsname.c | 22 return inc_ucount(ns, current_euid(), UCOUNT_UTS_NAMESPACES); in inc_uts_namespaces()
|
D | uid16.c | 210 return high2lowuid(from_kuid_munged(current_user_ns(), current_euid())); in SYSCALL_DEFINE0()
|
D | pid_namespace.c | 64 return inc_ucount(ns, current_euid(), UCOUNT_PID_NAMESPACES); in inc_pid_namespaces()
|
/linux-6.6.21/ipc/ |
D | namespace.c | 30 return inc_ucount(ns, current_euid(), UCOUNT_IPC_NAMESPACES); in inc_ipc_namespaces()
|
D | util.c | 555 kuid_t euid = current_euid(); in ipcperms() 741 euid = current_euid(); in ipcctl_obtain_check()
|
D | shm.c | 1196 kuid_t euid = current_euid(); in shmctl_do_lock()
|
/linux-6.6.21/include/linux/ |
D | cred.h | 332 #define current_euid() (current_cred_xxx(euid)) macro
|
/linux-6.6.21/kernel/time/ |
D | namespace.c | 61 return inc_ucount(ns, current_euid(), UCOUNT_TIME_NAMESPACES); in inc_time_namespaces()
|
/linux-6.6.21/net/ax25/ |
D | ax25_route.c | 414 user = ax25_findbyuid(current_euid()); in ax25_rt_autobind()
|
/linux-6.6.21/security/tomoyo/ |
D | audit.c | 173 from_kuid(&init_user_ns, current_euid()), in tomoyo_print_header()
|
D | condition.c | 844 value = from_kuid(&init_user_ns, current_euid()); in tomoyo_condition()
|
/linux-6.6.21/net/netrom/ |
D | af_netrom.c | 609 user = ax25_findbyuid(current_euid()); in nr_bind() 688 user = ax25_findbyuid(current_euid()); in nr_connect()
|
/linux-6.6.21/fs/notify/inotify/ |
D | inotify_user.c | 682 current_euid(), in inotify_new_group()
|
/linux-6.6.21/net/rose/ |
D | af_rose.c | 726 user = ax25_findbyuid(current_euid()); in rose_bind() 832 user = ax25_findbyuid(current_euid()); in rose_connect()
|
/linux-6.6.21/net/ipv6/ |
D | ip6_flowlabel.c | 450 fl->owner.uid = current_euid(); in fl_create()
|
/linux-6.6.21/security/apparmor/ |
D | policy.c | 795 bool root_in_user_ns = uid_eq(current_euid(), make_kuid(user_ns, 0)) || in aa_policy_view_capable()
|
/linux-6.6.21/net/core/ |
D | net_namespace.c | 397 return inc_ucount(ns, current_euid(), UCOUNT_NET_NAMESPACES); in inc_net_namespaces()
|
/linux-6.6.21/drivers/tee/ |
D | tee_core.c | 234 current_euid().val); in tee_session_calc_client_uuid()
|
/linux-6.6.21/fs/quota/ |
D | quota.c | 42 if ((type == USRQUOTA && uid_eq(current_euid(), make_kuid(current_user_ns(), id))) || in check_quotactl_permission()
|
/linux-6.6.21/fs/notify/fanotify/ |
D | fanotify_user.c | 1483 current_euid(), in SYSCALL_DEFINE2()
|
/linux-6.6.21/fs/proc/ |
D | proc_sysctl.c | 420 if (uid_eq(current_euid(), GLOBAL_ROOT_UID)) in test_perm()
|
/linux-6.6.21/fs/ |
D | exec.c | 1359 !(uid_eq(current_euid(), current_uid()) && in begin_new_exec()
|
12