Home
last modified time | relevance | path

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

12

/Linux-v5.4/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-v5.4/kernel/cgroup/
Dnamespace.c14 return inc_ucount(ns, current_euid(), UCOUNT_CGROUP_NAMESPACES); in inc_cgroup_namespaces()
/Linux-v5.4/security/keys/
Dpersistent.c148 !uid_eq(uid, current_euid()) && in keyctl_get_persistent()
/Linux-v5.4/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()
Dpanic.c681 from_kuid_munged(&init_user_ns, current_euid())); in refcount_error_report()
Dpid_namespace.c70 return inc_ucount(ns, current_euid(), UCOUNT_PID_NAMESPACES); in inc_pid_namespaces()
/Linux-v5.4/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.c1091 kuid_t euid = current_euid(); in shmctl_do_lock()
/Linux-v5.4/include/linux/
Dcred.h381 #define current_euid() (current_cred_xxx(euid)) macro
/Linux-v5.4/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-v5.4/net/ax25/
Dax25_route.c406 user = ax25_findbyuid(current_euid()); in ax25_rt_autobind()
Daf_ax25.c1065 user = ax25_findbyuid(current_euid()); in ax25_bind()
/Linux-v5.4/net/netrom/
Daf_netrom.c582 user = ax25_findbyuid(current_euid()); in nr_bind()
656 user = ax25_findbyuid(current_euid()); in nr_connect()
/Linux-v5.4/fs/notify/inotify/
Dinotify_user.c650 current_euid(), in inotify_new_group()
/Linux-v5.4/net/rose/
Daf_rose.c662 user = ax25_findbyuid(current_euid()); in rose_bind()
765 user = ax25_findbyuid(current_euid()); in rose_connect()
/Linux-v5.4/fs/
Dexec.c1368 !(uid_eq(current_euid(), current_uid()) && in setup_new_exec()
1527 bprm->cred->euid = current_euid(); in bprm_fill_uid()
/Linux-v5.4/net/ipv6/
Dip6_flowlabel.c446 fl->owner.uid = current_euid(); in fl_create()
/Linux-v5.4/security/apparmor/
Dpolicy.c646 bool root_in_user_ns = uid_eq(current_euid(), make_kuid(user_ns, 0)) || in policy_view_capable()
/Linux-v5.4/fs/quota/
Dquota.c38 if ((type == USRQUOTA && uid_eq(current_euid(), make_kuid(current_user_ns(), id))) || in check_quotactl_permission()
/Linux-v5.4/net/core/
Dnet_namespace.c391 return inc_ucount(ns, current_euid(), UCOUNT_NET_NAMESPACES); in inc_net_namespaces()
/Linux-v5.4/fs/proc/
Dproc_sysctl.c441 if (uid_eq(current_euid(), GLOBAL_ROOT_UID)) in test_perm()
/Linux-v5.4/Documentation/security/
Dcredentials.rst321 uid_t current_euid(void) Current's effective UID

12