uid_t             427 arch/alpha/kernel/osf_sys.c 	uid_t exroot;
uid_t             433 arch/alpha/kernel/osf_sys.c 	uid_t exroot;
uid_t             442 arch/alpha/kernel/osf_sys.c 	uid_t exroot;
uid_t              25 arch/mips/include/uapi/asm/stat.h 	uid_t		st_uid;
uid_t              61 arch/mips/include/uapi/asm/stat.h 	uid_t		st_uid;
uid_t             102 arch/mips/include/uapi/asm/stat.h 	uid_t			st_uid;
uid_t              40 arch/powerpc/include/uapi/asm/stat.h 	uid_t		st_uid;
uid_t             102 arch/s390/include/asm/debug.h 				  int buf_size, umode_t mode, uid_t uid,
uid_t             670 arch/s390/kernel/debug.c 				  uid_t uid, gid_t gid)
uid_t              14 arch/sparc/include/uapi/asm/stat.h 	uid_t   st_uid;
uid_t            2341 drivers/net/tun.c 	BUILD_BUG_ON(sizeof(u32) != sizeof(uid_t));
uid_t            2344 drivers/net/tun.c 	return nla_total_size(sizeof(uid_t)) + /* OWNER */
uid_t              65 drivers/tty/tty_audit.c 	uid_t uid = from_kuid(&init_user_ns, task_uid(current));
uid_t              66 drivers/tty/tty_audit.c 	uid_t loginuid = from_kuid(&init_user_ns, audit_get_loginuid(current));
uid_t             322 fs/9p/v9fs.c   				uid_t uid;
uid_t             175 fs/affs/inode.c 	uid_t			 uid;
uid_t             116 fs/cifs/cifs_spnego.c 		   UID_KEY_LEN + (sizeof(uid_t) * 2) +
uid_t             117 fs/cifs/cifs_spnego.c 		   CREDUID_KEY_LEN + (sizeof(uid_t) * 2) +
uid_t             388 fs/cifs/cifsacl.c 			uid_t id;
uid_t             390 fs/cifs/cifsacl.c 			id = (uid_t)unix_id;
uid_t             419 fs/cifs/cifsacl.c 	BUILD_BUG_ON(sizeof(uid_t) != sizeof(gid_t));
uid_t             420 fs/cifs/cifsacl.c 	if (sidkey->datalen != sizeof(uid_t)) {
uid_t             430 fs/cifs/cifsacl.c 		uid_t id;
uid_t             431 fs/cifs/cifsacl.c 		memcpy(&id, &sidkey->payload.data[0], sizeof(uid_t));
uid_t             985 fs/cifs/cifsacl.c 			uid_t id;
uid_t             294 fs/cifs/inode.c 		if (id < ((uid_t)-1)) {
uid_t             117 fs/coda/coda_linux.c 	        inode->i_uid = make_kuid(&init_user_ns, (uid_t) attr->va_uid);
uid_t             243 fs/ecryptfs/main.c 				  uid_t *check_ruid)
uid_t             486 fs/ecryptfs/main.c 	uid_t check_ruid;
uid_t             101 fs/efs/inode.c 	i_uid_write(inode, (uid_t)be16_to_cpu(efs_inode->di_uid));
uid_t            1411 fs/ext2/inode.c 	uid_t i_uid;
uid_t            1430 fs/ext2/inode.c 	i_uid = (uid_t)le16_to_cpu(raw_inode->i_uid_low);
uid_t            1540 fs/ext2/inode.c 	uid_t uid = i_uid_read(inode);
uid_t            2529 fs/ext4/ext4.h 				      uid_t *owner, __u32 i_flags,
uid_t             742 fs/ext4/ialloc.c 			       __u32 goal, uid_t *owner, __u32 i_flags,
uid_t            4840 fs/ext4/inode.c 	uid_t i_uid;
uid_t            4919 fs/ext4/inode.c 	i_uid = (uid_t)le16_to_cpu(raw_inode->i_uid_low);
uid_t            5258 fs/ext4/inode.c 	uid_t i_uid;
uid_t             439 fs/ext4/migrate.c 	uid_t owner[2];
uid_t            1423 fs/ext4/xattr.c 	uid_t owner[2] = { i_uid_read(inode), i_gid_read(inode) };
uid_t             201 fs/f2fs/recovery.c 	uid_t i_uid = le32_to_cpu(raw->i_uid);
uid_t             240 fs/fcntl.c     	uid_t __user *dst = (void __user *)arg;
uid_t             241 fs/fcntl.c     	uid_t src[2];
uid_t             130 fs/freevxfs/vxfs_inode.c 	i_uid_write(inode, (uid_t)vip->vii_uid);
uid_t             144 fs/fuse/dev.c  	if (unlikely(req->in.h.uid == ((uid_t)-1) ||
uid_t             254 fs/hfs/super.c 			hsb->s_uid = make_kuid(current_user_ns(), (uid_t)tmp);
uid_t             139 fs/hfsplus/options.c 			sbi->uid = make_kuid(current_user_ns(), (uid_t)tmp);
uid_t              44 fs/hostfs/hostfs.h 	uid_t		ia_uid;
uid_t             131 fs/internal.h  int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group,
uid_t             336 fs/jfs/super.c 			uid_t val;
uid_t            1191 fs/nfsd/export.c 	if (!uid_eq(anonu, make_kuid(userns, (uid_t)-2)) &&
uid_t              28 fs/nfsd/flexfilelayout.c 	uid_t u;
uid_t             170 fs/nilfs2/the_nilfs.h 	uid_t			ns_resuid;
uid_t             191 fs/nsfs.c      	uid_t __user *argp;
uid_t             192 fs/nsfs.c      	uid_t uid;
uid_t             207 fs/nsfs.c      		argp = (uid_t __user *) arg;
uid_t             120 fs/ntfs/super.c 		uid_t uid_value;					\
uid_t             620 fs/open.c      static int chown_common(const struct path *path, uid_t user, gid_t group)
uid_t             634 fs/open.c      	if (user != (uid_t) -1) {
uid_t             662 fs/open.c      int do_fchownat(int dfd, const char __user *filename, uid_t user, gid_t group,
uid_t             694 fs/open.c      SYSCALL_DEFINE5(fchownat, int, dfd, const char __user *, filename, uid_t, user,
uid_t             700 fs/open.c      SYSCALL_DEFINE3(chown, const char __user *, filename, uid_t, user, gid_t, group)
uid_t             705 fs/open.c      SYSCALL_DEFINE3(lchown, const char __user *, filename, uid_t, user, gid_t, group)
uid_t             711 fs/open.c      int ksys_fchown(unsigned int fd, uid_t user, gid_t group)
uid_t             731 fs/open.c      SYSCALL_DEFINE3(fchown, unsigned int, fd, uid_t, user, gid_t, group)
uid_t            1249 fs/proc/base.c 	uid_t loginuid;
uid_t             300 fs/qnx4/inode.c 	i_uid_write(inode, (uid_t)le16_to_cpu(raw_inode->di_uid));
uid_t             562 fs/qnx6/inode.c 	i_uid_write(inode, (uid_t)fs32_to_cpu(sbi, raw_inode->di_uid));
uid_t              47 fs/squashfs/inode.c 	uid_t i_uid;
uid_t             200 fs/sysv/inode.c 	i_uid_write(inode, (uid_t)fs16_to_cpu(sbi, raw_inode->i_uid));
uid_t             521 fs/xfs/libxfs/xfs_fs.h 	uid_t		eof_uid;
uid_t              20 include/linux/audit.h 	uid_t		uid;
uid_t             363 include/linux/audit.h extern void __audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode);
uid_t             392 include/linux/audit.h static inline void audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode)
uid_t             578 include/linux/audit.h static inline void audit_ipc_set_perm(unsigned long qbytes, uid_t uid,
uid_t            1559 include/linux/fs.h static inline uid_t i_uid_read(const struct inode *inode)
uid_t            1569 include/linux/fs.h static inline void i_uid_write(struct inode *inode, uid_t uid)
uid_t              53 include/linux/highuid.h #define low2highuid(uid) ((uid) == (old_uid_t)-1 ? (uid_t)-1 : (uid_t)(uid))
uid_t             437 include/linux/syscalls.h asmlinkage long sys_fchownat(int dfd, const char __user *filename, uid_t user,
uid_t             439 include/linux/syscalls.h asmlinkage long sys_fchown(unsigned int fd, uid_t user, gid_t group);
uid_t             706 include/linux/syscalls.h asmlinkage long sys_setreuid(uid_t ruid, uid_t euid);
uid_t             707 include/linux/syscalls.h asmlinkage long sys_setuid(uid_t uid);
uid_t             708 include/linux/syscalls.h asmlinkage long sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
uid_t             709 include/linux/syscalls.h asmlinkage long sys_getresuid(uid_t __user *ruid, uid_t __user *euid, uid_t __user *suid);
uid_t             712 include/linux/syscalls.h asmlinkage long sys_setfsuid(uid_t uid);
uid_t            1042 include/linux/syscalls.h 				uid_t user, gid_t group);
uid_t            1046 include/linux/syscalls.h 				uid_t user, gid_t group);
uid_t            1242 include/linux/syscalls.h int ksys_fchown(unsigned int fd, uid_t user, gid_t group);
uid_t            1342 include/linux/syscalls.h extern int do_fchownat(int dfd, const char __user *filename, uid_t user,
uid_t            1345 include/linux/syscalls.h static inline long ksys_chown(const char __user *filename, uid_t user,
uid_t            1351 include/linux/syscalls.h static inline long ksys_lchown(const char __user *filename, uid_t user,
uid_t              22 include/linux/uidgid.h 	uid_t val;
uid_t              34 include/linux/uidgid.h static inline uid_t __kuid_val(kuid_t uid)
uid_t              44 include/linux/uidgid.h static inline uid_t __kuid_val(kuid_t uid)
uid_t             113 include/linux/uidgid.h 	return __kuid_val(uid) != (uid_t) -1;
uid_t             123 include/linux/uidgid.h extern kuid_t make_kuid(struct user_namespace *from, uid_t uid);
uid_t             126 include/linux/uidgid.h extern uid_t from_kuid(struct user_namespace *to, kuid_t uid);
uid_t             128 include/linux/uidgid.h extern uid_t from_kuid_munged(struct user_namespace *to, kuid_t uid);
uid_t             133 include/linux/uidgid.h 	return from_kuid(ns, uid) != (uid_t) -1;
uid_t             143 include/linux/uidgid.h static inline kuid_t make_kuid(struct user_namespace *from, uid_t uid)
uid_t             153 include/linux/uidgid.h static inline uid_t from_kuid(struct user_namespace *to, kuid_t kuid)
uid_t             163 include/linux/uidgid.h static inline uid_t from_kuid_munged(struct user_namespace *to, kuid_t kuid)
uid_t             165 include/linux/uidgid.h 	uid_t uid = from_kuid(to, kuid);
uid_t             166 include/linux/uidgid.h 	if (uid == (uid_t)-1)
uid_t              88 include/trace/events/ext4.h 		__field(	uid_t,	uid			)
uid_t             117 include/trace/events/ext4.h 		__field(	uid_t,	uid			)
uid_t             269 include/uapi/linux/android/binder.h 	uid_t		sender_euid;
uid_t             150 init/initramfs.c static __initdata uid_t uid;
uid_t            1046 kernel/audit.c 	uid_t uid = from_kuid(&init_user_ns, current_uid());
uid_t            2048 kernel/audit.c 	uid_t auid = from_kuid(&init_user_ns, audit_get_loginuid(current));
uid_t            2209 kernel/audit.c 	uid_t uid, oldloginuid, loginuid;
uid_t             156 kernel/audit.h 			uid_t			perm_uid;
uid_t            2293 kernel/auditsc.c void __audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode)
uid_t             917 kernel/exit.c  	uid_t uid;
uid_t             978 kernel/exit.c  	uid_t uid = from_kuid_munged(current_user_ns(), task_uid(p));
uid_t            1138 kernel/exit.c  	uid_t uid = 0; /* unneeded, required by compiler */
uid_t            1209 kernel/exit.c  	uid_t uid;
uid_t             493 kernel/sys.c   long __sys_setreuid(uid_t ruid, uid_t euid)
uid_t             504 kernel/sys.c   	if ((ruid != (uid_t) -1) && !uid_valid(kruid))
uid_t             506 kernel/sys.c   	if ((euid != (uid_t) -1) && !uid_valid(keuid))
uid_t             515 kernel/sys.c   	if (ruid != (uid_t) -1) {
uid_t             523 kernel/sys.c   	if (euid != (uid_t) -1) {
uid_t             537 kernel/sys.c   	if (ruid != (uid_t) -1 ||
uid_t             538 kernel/sys.c   	    (euid != (uid_t) -1 && !uid_eq(keuid, old->uid)))
uid_t             553 kernel/sys.c   SYSCALL_DEFINE2(setreuid, uid_t, ruid, uid_t, euid)
uid_t             569 kernel/sys.c   long __sys_setuid(uid_t uid)
uid_t             611 kernel/sys.c   SYSCALL_DEFINE1(setuid, uid_t, uid)
uid_t             621 kernel/sys.c   long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid)
uid_t             633 kernel/sys.c   	if ((ruid != (uid_t) -1) && !uid_valid(kruid))
uid_t             636 kernel/sys.c   	if ((euid != (uid_t) -1) && !uid_valid(keuid))
uid_t             639 kernel/sys.c   	if ((suid != (uid_t) -1) && !uid_valid(ksuid))
uid_t             650 kernel/sys.c   		if (ruid != (uid_t) -1        && !uid_eq(kruid, old->uid) &&
uid_t             653 kernel/sys.c   		if (euid != (uid_t) -1        && !uid_eq(keuid, old->uid) &&
uid_t             656 kernel/sys.c   		if (suid != (uid_t) -1        && !uid_eq(ksuid, old->uid) &&
uid_t             661 kernel/sys.c   	if (ruid != (uid_t) -1) {
uid_t             669 kernel/sys.c   	if (euid != (uid_t) -1)
uid_t             671 kernel/sys.c   	if (suid != (uid_t) -1)
uid_t             686 kernel/sys.c   SYSCALL_DEFINE3(setresuid, uid_t, ruid, uid_t, euid, uid_t, suid)
uid_t             691 kernel/sys.c   SYSCALL_DEFINE3(getresuid, uid_t __user *, ruidp, uid_t __user *, euidp, uid_t __user *, suidp)
uid_t             695 kernel/sys.c   	uid_t ruid, euid, suid;
uid_t             797 kernel/sys.c   long __sys_setfsuid(uid_t uid)
uid_t             801 kernel/sys.c   	uid_t old_fsuid;
uid_t             833 kernel/sys.c   SYSCALL_DEFINE1(setfsuid, uid_t, uid)
uid_t               5 kernel/uid16.h long __sys_setuid(uid_t uid);
uid_t               7 kernel/uid16.h long __sys_setreuid(uid_t ruid, uid_t euid);
uid_t               9 kernel/uid16.h long __sys_setresuid(uid_t ruid, uid_t euid, uid_t suid);
uid_t              11 kernel/uid16.h long __sys_setfsuid(uid_t uid);
uid_t             386 kernel/user_namespace.c kuid_t make_kuid(struct user_namespace *ns, uid_t uid)
uid_t             405 kernel/user_namespace.c uid_t from_kuid(struct user_namespace *targ, kuid_t kuid)
uid_t             430 kernel/user_namespace.c uid_t from_kuid_munged(struct user_namespace *targ, kuid_t kuid)
uid_t             432 kernel/user_namespace.c 	uid_t uid;
uid_t             435 kernel/user_namespace.c 	if (uid == (uid_t) -1)
uid_t             582 kernel/user_namespace.c 	uid_t lower;
uid_t             421 net/sunrpc/auth_gss/auth_gss.c 	uid_t uid = from_kuid_munged(userns, gss_msg->uid);
uid_t             724 net/sunrpc/auth_gss/auth_gss.c 	uid_t id;
uid_t             118 net/unix/diag.c 	uid_t uid = from_kuid_munged(sk_user_ns(nlskb->sk), sock_i_uid(sk));
uid_t             119 net/unix/diag.c 	return nla_put(nlskb, UNIX_DIAG_UID, sizeof(uid_t), &uid);
uid_t             374 security/commoncap.c 	uid_t root, mappedroot;
uid_t             418 security/commoncap.c 	if (mappedroot != (uid_t)-1 && mappedroot != (uid_t)0) {
uid_t             457 security/commoncap.c 	uid_t rootid = 0;
uid_t             479 security/commoncap.c 	uid_t nsrootid;
uid_t             148 security/integrity/evm/evm_crypto.c 		uid_t uid;
uid_t            1097 security/integrity/ima/ima_policy.c 						       (uid_t) lnum);
uid_t            1099 security/integrity/ima/ima_policy.c 				    (uid_t)lnum != lnum)
uid_t            1124 security/integrity/ima/ima_policy.c 				entry->fowner = make_kuid(current_user_ns(), (uid_t)lnum);
uid_t            1125 security/integrity/ima/ima_policy.c 				if (!uid_valid(entry->fowner) || (((uid_t)lnum) != lnum))
uid_t             230 security/keys/internal.h extern long keyctl_chown_key(key_serial_t, uid_t, gid_t);
uid_t             255 security/keys/internal.h extern long keyctl_get_persistent(uid_t, key_serial_t);
uid_t             258 security/keys/internal.h static inline long keyctl_get_persistent(uid_t uid, key_serial_t destring)
uid_t             946 security/keys/keyctl.c long keyctl_chown_key(key_serial_t id, uid_t user, gid_t group)
uid_t             958 security/keys/keyctl.c 	if ((user != (uid_t) -1) && !uid_valid(uid))
uid_t             964 security/keys/keyctl.c 	if (user == (uid_t) -1 && group == (gid_t) -1)
uid_t             982 security/keys/keyctl.c 		if (user != (uid_t) -1 && !uid_eq(key->uid, uid))
uid_t             992 security/keys/keyctl.c 	if (user != (uid_t) -1 && !uid_eq(uid, key->uid)) {
uid_t            1825 security/keys/keyctl.c 					(uid_t) arg3,
uid_t            1878 security/keys/keyctl.c 		return keyctl_get_persistent((uid_t)arg2, (key_serial_t)arg3);
uid_t             129 security/keys/persistent.c long keyctl_get_persistent(uid_t _uid, key_serial_t destid)
uid_t             137 security/keys/persistent.c 	if (_uid == (uid_t)-1) {
uid_t              82 security/keys/process_keys.c 	uid_t uid = from_kuid(user_ns, cred->user->uid);
uid_t             260 tools/include/nolibc/nolibc.h 	uid_t     st_uid;     /* user ID of owner */
uid_t            1478 tools/include/nolibc/nolibc.h int sys_chown(const char *path, uid_t owner, gid_t group)
uid_t            1820 tools/include/nolibc/nolibc.h int chown(const char *path, uid_t owner, gid_t group)
uid_t              13 tools/perf/util/target.h 	uid_t	     uid;
uid_t              74 tools/perf/util/thread_map.c static struct perf_thread_map *__thread_map__new_all_cpus(uid_t uid)
uid_t             165 tools/perf/util/thread_map.c struct perf_thread_map *thread_map__new_by_uid(uid_t uid)
uid_t             170 tools/perf/util/thread_map.c struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid)
uid_t             293 tools/perf/util/thread_map.c 				       uid_t uid, bool all_threads)
uid_t              16 tools/perf/util/thread_map.h struct perf_thread_map *thread_map__new_by_uid(uid_t uid);
uid_t              18 tools/perf/util/thread_map.h struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid);
uid_t              22 tools/perf/util/thread_map.h 		const char *tid, uid_t uid, bool all_threads);
uid_t              28 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c 	uid_t my_uid = getuid();
uid_t              89 tools/testing/selftests/capabilities/test_execve.c static bool create_and_enter_ns(uid_t inner_uid)
uid_t              91 tools/testing/selftests/capabilities/test_execve.c 	uid_t outer_uid;
uid_t             234 tools/testing/selftests/capabilities/test_execve.c 		uid_t gid = getegid();
uid_t              73 tools/testing/selftests/filesystems/binderfs/binderfs_test.c 	uid_t uid;
uid_t             156 tools/testing/selftests/mount/unprivileged-remount-test.c 	uid_t uid;
uid_t              95 tools/testing/selftests/safesetid/safesetid-test.c static void ensure_user_exists(uid_t uid)
uid_t             173 tools/testing/selftests/safesetid/safesetid-test.c 	uid_t uid;
uid_t             205 tools/testing/selftests/safesetid/safesetid-test.c static void test_setuid(uid_t child_uid, bool expect_success)
uid_t             104 usr/gen_init_cpio.c 			 unsigned int mode, uid_t uid, gid_t gid)
uid_t             153 usr/gen_init_cpio.c 		       uid_t uid, gid_t gid)
uid_t             241 usr/gen_init_cpio.c 		       uid_t uid, gid_t gid, char dev_type,
uid_t             296 usr/gen_init_cpio.c 			unsigned int mode, uid_t uid, gid_t gid,