Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/kernel/cgroup/
Dnamespace.c14 return inc_ucount(ns, current_euid(), UCOUNT_CGROUP_NAMESPACES); in inc_cgroup_namespaces()
/kernel/linux/linux-5.10/security/keys/
Dpersistent.c148 !uid_eq(uid, current_euid()) && in keyctl_get_persistent()
/kernel/linux/linux-5.10/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.c63 return inc_ucount(ns, current_euid(), UCOUNT_PID_NAMESPACES); in inc_pid_namespaces()
/kernel/linux/linux-5.10/ipc/
Dnamespace.c24 return inc_ucount(ns, current_euid(), UCOUNT_IPC_NAMESPACES); in inc_ipc_namespaces()
Dutil.c521 kuid_t euid = current_euid(); in ipcperms()
707 euid = current_euid(); in ipcctl_obtain_check()
Dshm.c1186 kuid_t euid = current_euid(); in shmctl_do_lock()
/kernel/linux/linux-5.10/include/linux/
Dcred.h381 #define current_euid() (current_cred_xxx(euid)) macro
/kernel/linux/linux-5.10/kernel/time/
Dnamespace.c61 return inc_ucount(ns, current_euid(), UCOUNT_TIME_NAMESPACES); in inc_time_namespaces()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/ax25/
Dax25_route.c415 user = ax25_findbyuid(current_euid()); in ax25_rt_autobind()
/kernel/linux/linux-5.10/net/netrom/
Daf_netrom.c609 user = ax25_findbyuid(current_euid()); in nr_bind()
683 user = ax25_findbyuid(current_euid()); in nr_connect()
/kernel/linux/linux-5.10/fs/notify/inotify/
Dinotify_user.c648 current_euid(), in inotify_new_group()
/kernel/linux/linux-5.10/net/rose/
Daf_rose.c696 user = ax25_findbyuid(current_euid()); in rose_bind()
801 user = ax25_findbyuid(current_euid()); in rose_connect()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_flowlabel.c447 fl->owner.uid = current_euid(); in fl_create()
/kernel/linux/linux-5.10/security/apparmor/
Dpolicy.c647 bool root_in_user_ns = uid_eq(current_euid(), make_kuid(user_ns, 0)) || in policy_view_capable()
/kernel/linux/linux-5.10/net/core/
Dnet_namespace.c407 return inc_ucount(ns, current_euid(), UCOUNT_NET_NAMESPACES); in inc_net_namespaces()
/kernel/linux/linux-5.10/fs/quota/
Dquota.c39 if ((type == USRQUOTA && uid_eq(current_euid(), make_kuid(current_user_ns(), id))) || in check_quotactl_permission()
/kernel/linux/linux-5.10/drivers/tee/
Dtee_core.c234 current_euid().val); in tee_session_calc_client_uuid()
/kernel/linux/linux-5.10/fs/
Dexec.c1354 !(uid_eq(current_euid(), current_uid()) && in begin_new_exec()
/kernel/linux/linux-5.10/fs/proc/
Dproc_sysctl.c411 if (uid_eq(current_euid(), GLOBAL_ROOT_UID)) in test_perm()
/kernel/linux/linux-5.10/Documentation/security/
Dcredentials.rst321 uid_t current_euid(void) Current's effective UID

12