Searched refs:current_euid (Results 1 – 25 of 28) sorted by relevance
12
/Linux-v5.4/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-v5.4/kernel/cgroup/ |
D | namespace.c | 14 return inc_ucount(ns, current_euid(), UCOUNT_CGROUP_NAMESPACES); in inc_cgroup_namespaces()
|
/Linux-v5.4/security/keys/ |
D | persistent.c | 148 !uid_eq(uid, current_euid()) && in keyctl_get_persistent()
|
/Linux-v5.4/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 | panic.c | 681 from_kuid_munged(&init_user_ns, current_euid())); in refcount_error_report()
|
D | pid_namespace.c | 70 return inc_ucount(ns, current_euid(), UCOUNT_PID_NAMESPACES); in inc_pid_namespaces()
|
/Linux-v5.4/ipc/ |
D | namespace.c | 24 return inc_ucount(ns, current_euid(), UCOUNT_IPC_NAMESPACES); in inc_ipc_namespaces()
|
D | util.c | 521 kuid_t euid = current_euid(); in ipcperms() 707 euid = current_euid(); in ipcctl_obtain_check()
|
D | shm.c | 1091 kuid_t euid = current_euid(); in shmctl_do_lock()
|
/Linux-v5.4/include/linux/ |
D | cred.h | 381 #define current_euid() (current_cred_xxx(euid)) macro
|
/Linux-v5.4/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-v5.4/net/ax25/ |
D | ax25_route.c | 406 user = ax25_findbyuid(current_euid()); in ax25_rt_autobind()
|
D | af_ax25.c | 1065 user = ax25_findbyuid(current_euid()); in ax25_bind()
|
/Linux-v5.4/net/netrom/ |
D | af_netrom.c | 582 user = ax25_findbyuid(current_euid()); in nr_bind() 656 user = ax25_findbyuid(current_euid()); in nr_connect()
|
/Linux-v5.4/fs/notify/inotify/ |
D | inotify_user.c | 650 current_euid(), in inotify_new_group()
|
/Linux-v5.4/net/rose/ |
D | af_rose.c | 662 user = ax25_findbyuid(current_euid()); in rose_bind() 765 user = ax25_findbyuid(current_euid()); in rose_connect()
|
/Linux-v5.4/fs/ |
D | exec.c | 1368 !(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/ |
D | ip6_flowlabel.c | 446 fl->owner.uid = current_euid(); in fl_create()
|
/Linux-v5.4/security/apparmor/ |
D | policy.c | 646 bool root_in_user_ns = uid_eq(current_euid(), make_kuid(user_ns, 0)) || in policy_view_capable()
|
/Linux-v5.4/fs/quota/ |
D | quota.c | 38 if ((type == USRQUOTA && uid_eq(current_euid(), make_kuid(current_user_ns(), id))) || in check_quotactl_permission()
|
/Linux-v5.4/net/core/ |
D | net_namespace.c | 391 return inc_ucount(ns, current_euid(), UCOUNT_NET_NAMESPACES); in inc_net_namespaces()
|
/Linux-v5.4/fs/proc/ |
D | proc_sysctl.c | 441 if (uid_eq(current_euid(), GLOBAL_ROOT_UID)) in test_perm()
|
/Linux-v5.4/Documentation/security/ |
D | credentials.rst | 321 uid_t current_euid(void) Current's effective UID
|
12