/linux-6.12.1/kernel/ |
D | uid16.h | 5 long __sys_setuid(uid_t uid); 7 long __sys_setreuid(uid_t ruid, uid_t euid); 9 long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); 11 long __sys_setfsuid(uid_t uid);
|
D | sys.c | 538 long __sys_setreuid(uid_t ruid, uid_t euid) in __sys_setreuid() 549 if ((ruid != (uid_t) -1) && !uid_valid(kruid)) in __sys_setreuid() 551 if ((euid != (uid_t) -1) && !uid_valid(keuid)) in __sys_setreuid() 560 if (ruid != (uid_t) -1) { in __sys_setreuid() 568 if (euid != (uid_t) -1) { in __sys_setreuid() 582 if (ruid != (uid_t) -1 || in __sys_setreuid() 583 (euid != (uid_t) -1 && !uid_eq(keuid, old->uid))) in __sys_setreuid() 603 SYSCALL_DEFINE2(setreuid, uid_t, ruid, uid_t, euid) in SYSCALL_DEFINE2() argument 619 long __sys_setuid(uid_t uid) in __sys_setuid() 666 SYSCALL_DEFINE1(setuid, uid_t, uid) in SYSCALL_DEFINE1() argument [all …]
|
D | exit.h | 7 uid_t uid;
|
/linux-6.12.1/include/linux/ |
D | uidgid.h | 26 static inline uid_t __kuid_val(kuid_t uid) in __kuid_val() 36 static inline uid_t __kuid_val(kuid_t uid) in __kuid_val() 105 return __kuid_val(uid) != (uid_t) -1; in uid_valid() 115 extern kuid_t make_kuid(struct user_namespace *from, uid_t uid); 118 extern uid_t from_kuid(struct user_namespace *to, kuid_t uid); 120 extern uid_t from_kuid_munged(struct user_namespace *to, kuid_t uid); 125 return from_kuid(ns, uid) != (uid_t) -1; in kuid_has_mapping() 138 static inline kuid_t make_kuid(struct user_namespace *from, uid_t uid) in make_kuid() 148 static inline uid_t from_kuid(struct user_namespace *to, kuid_t kuid) in from_kuid() 158 static inline uid_t from_kuid_munged(struct user_namespace *to, kuid_t kuid) in from_kuid_munged() [all …]
|
D | mnt_idmapping.h | 16 uid_t val; 29 static inline uid_t __vfsuid_val(vfsuid_t uid) in __vfsuid_val() 39 static inline uid_t __vfsuid_val(vfsuid_t uid) in __vfsuid_val() 52 return __vfsuid_val(uid) != (uid_t)-1; in vfsuid_valid() 156 return from_kuid(userns, AS_KUIDT(vfsuid)) != (uid_t)-1; in vfsuid_has_mapping()
|
D | highuid.h | 53 #define low2highuid(uid) ((uid) == (old_uid_t)-1 ? (uid_t)-1 : (uid_t)(uid))
|
D | syscalls.h | 438 asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user, 440 asmlinkage long sys_fchown(unsigned int fd, uid_t user, gid_t group); 671 asmlinkage long sys_setreuid(uid_t ruid, uid_t euid); 672 asmlinkage long sys_setuid(uid_t uid); 673 asmlinkage long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid); 674 asmlinkage long sys_getresuid(uid_t __user *ruid, uid_t __user *euid, uid_t __user *suid); 677 asmlinkage long sys_setfsuid(uid_t uid); 1015 uid_t user, gid_t group); 1019 uid_t user, gid_t group); 1206 int ksys_fchown(unsigned int fd, uid_t user, gid_t group); [all …]
|
D | uidgid_types.h | 8 uid_t val;
|
/linux-6.12.1/tools/perf/util/ |
D | thread_map.h | 14 struct perf_thread_map *thread_map__new_by_uid(uid_t uid); 16 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid); 20 const char *tid, uid_t uid, bool all_threads);
|
D | thread_map.c | 75 static struct perf_thread_map *__thread_map__new_all_cpus(uid_t uid) in __thread_map__new_all_cpus() 165 struct perf_thread_map *thread_map__new_by_uid(uid_t uid) in thread_map__new_by_uid() 170 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new() 293 uid_t uid, bool all_threads) in thread_map__new_str()
|
/linux-6.12.1/fs/ |
D | mnt_idmapping.c | 83 uid_t uid; in make_vfsuid() 93 if (uid == (uid_t)-1) in make_vfsuid() 152 uid_t uid; in from_vfsuid() 159 if (uid == (uid_t)-1) in from_vfsuid()
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_tcp4.c | 75 uid_t uid, __u32 seq_num) in dump_tcp_sock() 148 uid_t uid, __u32 seq_num) in dump_tw_sock() 173 uid_t uid, __u32 seq_num) in dump_req_sock() 203 uid_t uid = ctx->uid; in dump_tcp4()
|
D | bpf_iter.h | 94 uid_t uid; 105 uid_t uid __attribute__((aligned(8))); 117 uid_t uid;
|
D | bpf_iter_tcp6.c | 75 uid_t uid, __u32 seq_num) in dump_tcp6_sock() 153 uid_t uid, __u32 seq_num) in dump_tw_sock() 182 uid_t uid, __u32 seq_num) in dump_req_sock() 219 uid_t uid = ctx->uid; in dump_tcp6()
|
D | profiler.h | 66 uid_t uid; 114 uid_t parent_uid;
|
/linux-6.12.1/tools/testing/selftests/rlimits/ |
D | rlimits-per-userns.c | 27 static uid_t user = 60000; 28 static uid_t group = 60000;
|
/linux-6.12.1/security/keys/ |
D | persistent.c | 129 long keyctl_get_persistent(uid_t _uid, key_serial_t destid) in keyctl_get_persistent() 137 if (_uid == (uid_t)-1) { in keyctl_get_persistent()
|
D | internal.h | 249 extern long keyctl_chown_key(key_serial_t, uid_t, gid_t); 269 extern long keyctl_get_persistent(uid_t, key_serial_t); 272 static inline long keyctl_get_persistent(uid_t uid, key_serial_t destring) in keyctl_get_persistent()
|
/linux-6.12.1/usr/ |
D | gen_init_cpio.c | 109 unsigned int mode, uid_t uid, gid_t gid) in cpio_mkslink() 158 uid_t uid, gid_t gid) in cpio_mkgeneric() 246 uid_t uid, gid_t gid, char dev_type, in cpio_mknod() 324 unsigned int mode, uid_t uid, gid_t gid, in cpio_mkfile()
|
/linux-6.12.1/tools/include/nolibc/ |
D | std.h | 28 typedef unsigned int uid_t; typedef
|
/linux-6.12.1/tools/testing/selftests/net/af_unix/ |
D | diag_uid.c | 121 uid_t uid; in render_response() 130 uid = *(uid_t *)RTA_DATA(attr); in render_response()
|
/linux-6.12.1/tools/testing/selftests/capabilities/ |
D | test_execve.c | 81 static bool create_and_enter_ns(uid_t inner_uid) in create_and_enter_ns() 83 uid_t outer_uid; in create_and_enter_ns() 226 uid_t gid = getegid(); in do_tests()
|
/linux-6.12.1/fs/smb/client/ |
D | cifs_spnego.c | 104 UID_KEY_LEN + (sizeof(uid_t) * 2) + in cifs_get_spnego_key() 105 CREDUID_KEY_LEN + (sizeof(uid_t) * 2) + in cifs_get_spnego_key()
|
/linux-6.12.1/drivers/tty/ |
D | tty_audit.c | 66 uid_t uid = from_kuid(&init_user_ns, task_uid(current)); in tty_audit_log() 67 uid_t loginuid = from_kuid(&init_user_ns, audit_get_loginuid(current)); in tty_audit_log()
|
/linux-6.12.1/tools/testing/selftests/cgroup/ |
D | test_cpuset.c | 69 const uid_t test_euid = TEST_UID; in test_cpuset_perms_object() 171 const uid_t test_euid = TEST_UID; in test_cpuset_perms_subtree()
|