Home
last modified time | relevance | path

Searched refs:current_euid (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.6.21/fs/ecryptfs/
Dmessaging.c23 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/
Dnamespace.c14 return inc_ucount(ns, current_euid(), UCOUNT_CGROUP_NAMESPACES); in inc_cgroup_namespaces()
/linux-6.6.21/security/keys/
Dpersistent.c148 !uid_eq(uid, current_euid()) && in keyctl_get_persistent()
/linux-6.6.21/kernel/
Dutsname.c22 return inc_ucount(ns, current_euid(), UCOUNT_UTS_NAMESPACES); in inc_uts_namespaces()
Duid16.c210 return high2lowuid(from_kuid_munged(current_user_ns(), current_euid())); in SYSCALL_DEFINE0()
Dpid_namespace.c64 return inc_ucount(ns, current_euid(), UCOUNT_PID_NAMESPACES); in inc_pid_namespaces()
/linux-6.6.21/ipc/
Dnamespace.c30 return inc_ucount(ns, current_euid(), UCOUNT_IPC_NAMESPACES); in inc_ipc_namespaces()
Dutil.c555 kuid_t euid = current_euid(); in ipcperms()
741 euid = current_euid(); in ipcctl_obtain_check()
Dshm.c1196 kuid_t euid = current_euid(); in shmctl_do_lock()
/linux-6.6.21/include/linux/
Dcred.h332 #define current_euid() (current_cred_xxx(euid)) macro
/linux-6.6.21/kernel/time/
Dnamespace.c61 return inc_ucount(ns, current_euid(), UCOUNT_TIME_NAMESPACES); in inc_time_namespaces()
/linux-6.6.21/net/ax25/
Dax25_route.c414 user = ax25_findbyuid(current_euid()); in ax25_rt_autobind()
/linux-6.6.21/security/tomoyo/
Daudit.c173 from_kuid(&init_user_ns, current_euid()), in tomoyo_print_header()
Dcondition.c844 value = from_kuid(&init_user_ns, current_euid()); in tomoyo_condition()
/linux-6.6.21/net/netrom/
Daf_netrom.c609 user = ax25_findbyuid(current_euid()); in nr_bind()
688 user = ax25_findbyuid(current_euid()); in nr_connect()
/linux-6.6.21/fs/notify/inotify/
Dinotify_user.c682 current_euid(), in inotify_new_group()
/linux-6.6.21/net/rose/
Daf_rose.c726 user = ax25_findbyuid(current_euid()); in rose_bind()
832 user = ax25_findbyuid(current_euid()); in rose_connect()
/linux-6.6.21/net/ipv6/
Dip6_flowlabel.c450 fl->owner.uid = current_euid(); in fl_create()
/linux-6.6.21/security/apparmor/
Dpolicy.c795 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/
Dnet_namespace.c397 return inc_ucount(ns, current_euid(), UCOUNT_NET_NAMESPACES); in inc_net_namespaces()
/linux-6.6.21/drivers/tee/
Dtee_core.c234 current_euid().val); in tee_session_calc_client_uuid()
/linux-6.6.21/fs/quota/
Dquota.c42 if ((type == USRQUOTA && uid_eq(current_euid(), make_kuid(current_user_ns(), id))) || in check_quotactl_permission()
/linux-6.6.21/fs/notify/fanotify/
Dfanotify_user.c1483 current_euid(), in SYSCALL_DEFINE2()
/linux-6.6.21/fs/proc/
Dproc_sysctl.c420 if (uid_eq(current_euid(), GLOBAL_ROOT_UID)) in test_perm()
/linux-6.6.21/fs/
Dexec.c1359 !(uid_eq(current_euid(), current_uid()) && in begin_new_exec()

12