/linux-master/include/uapi/linux/genwqe/ |
H A D | genwqe_card.h | 42 #define GENWQE_UID_OFFS(uid) ((uid) << 24) 343 __u32 uid; /* 1=host/x=dram */ member in struct:genwqe_bitstream
|
/linux-master/tools/testing/selftests/mount/ |
H A D | unprivileged-remount-test.c | 156 uid_t uid; local 159 uid = getuid(); 168 write_file("/proc/self/uid_map", "0 %d 1", uid);
|
/linux-master/kernel/ |
H A D | audit.h | 81 kuid_t uid; member in struct:audit_names 137 kuid_t uid, euid, suid, fsuid; member in struct:audit_context 160 kuid_t uid; member in struct:audit_context::__anon3761::__anon3763
|
H A D | user_namespace.c | 33 static struct ucounts *inc_user_namespaces(struct user_namespace *ns, kuid_t uid) argument 35 return inc_ucount(ns, uid, UCOUNT_USER_NAMESPACES); 399 * make_kuid - Map a user-namespace uid pair into a kuid. 400 * @ns: User namespace that the uid is in 401 * @uid: User identifier 403 * Maps a user-namespace uid pair into a kernel internal kuid, 406 * When there is no mapping defined for the user-namespace uid 411 kuid_t make_kuid(struct user_namespace *ns, uid_t uid) argument 413 /* Map the uid to a global kernel uid */ 457 uid_t uid; local 1179 kuid_t uid = make_kuid(ns->parent, id); local [all...] |
H A D | cred.c | 46 .uid = GLOBAL_ROOT_UID, 444 if (!uid_eq(new->uid, old->uid) || 536 * provide the same access to files based on mode/uid/gid. 591 if (old_ucounts->ns == new->user_ns && uid_eq(old_ucounts->uid, new->uid)) 594 if (!(new_ucounts = alloc_ucounts(new->user_ns, new->uid)))
|
/linux-master/include/linux/ |
H A D | user_namespace.h | 118 kuid_t uid; member in struct:ucounts 129 struct ucounts *inc_ucount(struct user_namespace *ns, kuid_t uid, enum ucount_type type); 131 struct ucounts *alloc_ucounts(struct user_namespace *ns, kuid_t uid);
|
H A D | audit.h | 23 uid_t uid; member in struct:audit_sig_info 68 kuid_t uid; member in union:audit_field::__anon459 405 extern void __audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode); 437 static inline void audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode) argument 440 __audit_ipc_set_perm(qbytes, uid, gid, mode); 633 static inline void audit_ipc_set_perm(unsigned long qbytes, uid_t uid, argument
|
H A D | key.h | 213 kuid_t uid; member in struct:key 285 kuid_t uid, kgid_t gid, 420 extern struct key *keyring_alloc(const char *description, kuid_t uid, kgid_t gid,
|
/linux-master/security/ |
H A D | commoncap.c | 35 * bit is left on either to change the uid (plausible) or 426 /* If the root kuid maps to a valid uid in current ns, then return 488 * rootid_from_xattr - translate root uid of vfs caps 694 * or the more limited uid specified in the xattr. 768 static inline bool __is_real(kuid_t uid, struct cred *cred) argument 769 { return uid_eq(cred->uid, uid); } 771 static inline bool __is_eff(kuid_t uid, struct cred *cred) argument 772 { return uid_eq(cred->euid, uid); } 774 static inline bool __is_suid(kuid_t uid, struc argument [all...] |
/linux-master/fs/smb/client/ |
H A D | namespace.c | 173 kuid_t uid = current_fsuid(); local 178 ctx->linux_uid = uid; 183 ctx->cred_uid = uid;
|
/linux-master/tools/testing/selftests/move_mount_set_group/ |
H A D | move_mount_set_group_test.c | 78 uid_t uid; local 82 uid = getuid(); 92 snprintf(map, sizeof(map), "0 %d 1", uid);
|
/linux-master/fs/ |
H A D | nsfs.c | 128 uid_t uid; local 144 uid = from_kuid_munged(current_user_ns(), user_ns->owner); 145 return put_user(uid, argp);
|
/linux-master/arch/s390/pci/ |
H A D | pci_sysfs.c | 37 zpci_attr(uid, "0x%x\n", uid); 183 index = zdev->uid;
|
/linux-master/drivers/iommu/amd/ |
H A D | init.c | 133 u8 uid; member in struct:ivhd_entry 542 /* For ACPI_HID, offset 21 is uid len */ 1216 static int __init add_acpi_hid_device(u8 *hid, u8 *uid, u32 *devid, argument 1224 (*uid && *entry->uid && strcmp(entry->uid, uid)) || 1228 pr_info("Command-line override for hid:%s uid:%s\n", 1229 hid, uid); 1238 memcpy(entry->uid, ui 1488 u8 uid[ACPIHID_UID_LEN]; local 3580 char *hid, *uid, *p, *addr; local [all...] |
/linux-master/fs/autofs/ |
H A D | waitq.c | 148 packet->uid = from_kuid_munged(user_ns, wq->uid); 396 wq->uid = current_uid(); 445 * uid and gid in the dentry info struct. This is so it can be 448 * to existing, active, autofs mounts. The uid and gid (and 468 ino->uid = wq->uid;
|
/linux-master/drivers/misc/genwqe/ |
H A D | card_utils.c | 828 * @uid: unit ID 830 int genwqe_ffdc_buff_size(struct genwqe_dev *cd, int uid) argument 836 eevptr_addr = GENWQE_UID_OFFS(uid) | IO_EXTENDED_ERROR_POINTER; 840 l_addr = GENWQE_UID_OFFS(uid) | eevptr; 865 addr = GENWQE_UID_OFFS(uid) | IO_EXTENDED_DIAG_MAP(ring); 883 * @uid: unit ID 887 int genwqe_ffdc_buff_read(struct genwqe_dev *cd, int uid, argument 895 eevptr_addr = GENWQE_UID_OFFS(uid) | IO_EXTENDED_ERROR_POINTER; 899 l_addr = GENWQE_UID_OFFS(uid) | eevptr; 908 d_addr |= GENWQE_UID_OFFS(uid); [all...] |
H A D | card_base.c | 659 u64 mask, fir, fec, uid, gfir, gfir_masked, sfir, sfec; local 689 for (uid = 0; uid < GENWQE_MAX_UNITS; uid++) { /* 0..2 in zEDC */ 692 fir_addr = (uid << 24) + 0x08; 702 fec_addr = (uid << 24) + 0x18; 715 sfir_addr = (uid << 24) + 0x100 + 0x08 * j; 723 sfec_addr = (uid << 24) + 0x300 + 0x08 * j; 746 sfir_addr = (uid << 24) + 0x100 + 0x08 * j; 763 fir_clr_addr = (uid << 2 [all...] |
/linux-master/fs/befs/ |
H A D | linuxvfs.c | 342 * set uid and gid. But since current BeOS is single user OS, so 343 * you can change by "uid" or "gid" options. 347 befs_sb->mount_opts.uid : 348 make_kuid(&init_user_ns, fs32_to_cpu(sb, raw_inode->uid)); 681 {Opt_uid, "uid=%d"}, 694 kuid_t uid; local 698 opts->uid = GLOBAL_ROOT_UID; 719 uid = INVALID_UID; 721 uid = make_kuid(current_user_ns(), option); 722 if (!uid_valid(uid)) { [all...] |
/linux-master/sound/pci/mixart/ |
H A D | mixart_core.c | 76 resp->uid.object_id = readl_be(MIXART_MEM(mgr, msg_frame_address + 8)); /* uidDest */ 77 resp->uid.desc = readl_be(MIXART_MEM(mgr, msg_frame_address + 12)); /* */ 168 writel_be( msg->uid.object_id, MIXART_MEM(mgr, msg_frame_address + 8) ); /* uidDest */ 169 writel_be( msg->uid.desc, MIXART_MEM(mgr, msg_frame_address + 12) ); /* */ 252 resp.uid = (struct mixart_uid){0,0}; 370 "received mf(%x) : msg_id(%x) uid(%x, %x) size(%zd)\n", 371 msg, resp.message_id, resp.uid.object_id, resp.uid.desc, resp.size);
|
/linux-master/drivers/vdpa/mlx5/net/ |
H A D | mlx5_vnet.c | 368 MLX5_SET(create_qp_in, in, uid, ndev->mvdev.res.uid); 448 vqp->mqp.uid = ndev->mvdev.res.uid; 472 MLX5_SET(destroy_qp_in, in, uid, ndev->mvdev.res.uid); 578 MLX5_SET(create_cq_in, in, uid, ndev->mvdev.res.uid); 729 MLX5_SET(create_umem_in, in, uid, ndev->mvdev.res.uid); [all...] |
/linux-master/net/sunrpc/auth_gss/ |
H A D | auth_gss.c | 261 kuid_t uid; member in struct:gss_upcall_msg 315 __gss_find_upcall(struct rpc_pipe *pipe, kuid_t uid, const struct gss_auth *auth) argument 319 if (!uid_eq(pos->uid, uid)) 330 * If an upcall owned by our uid already exists, then we return a reference 340 old = __gss_find_upcall(pipe, gss_msg->uid, gss_msg->auth); 410 uid_t uid = from_kuid_munged(userns, gss_msg->uid); local 411 memcpy(gss_msg->databuf, &uid, sizeof(uid)); 523 gss_alloc_msg(struct gss_auth *gss_auth, kuid_t uid, const char *service_name) argument 567 kuid_t uid = cred->cr_cred->fsuid; local 706 gss_find_downcall(struct rpc_pipe *pipe, kuid_t uid) argument 731 kuid_t uid; local [all...] |
/linux-master/init/ |
H A D | initramfs.c | 182 static __initdata uid_t uid; variable 200 uid = parsed[2]; 379 vfs_fchown(wfile, uid, gid); 387 init_chown(collected, uid, gid, 0); 394 init_chown(collected, uid, gid, 0); 429 init_chown(collected, uid, gid, AT_SYMLINK_NOFOLLOW);
|
/linux-master/include/trace/events/ |
H A D | rpcgss.h | 574 u32 uid, 578 TP_ARGS(uid, result), 581 __field(u32, uid) 587 __entry->uid = uid; 591 TP_printk("for uid %u, result=%d", __entry->uid, __entry->result)
|
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | scan.h | 825 * @uid: scan id, &enum iwl_umac_scan_uid_offsets 854 __le32 uid; member in struct:iwl_scan_req_umac 1103 * @uid: scan id, &enum iwl_umac_scan_uid_offsets 1108 __le32 uid; member in struct:iwl_scan_req_umac_v12 1115 * @uid: scan id, &enum iwl_umac_scan_uid_offsets 1120 __le32 uid; member in struct:iwl_scan_req_umac_v17 1127 * @uid: scan id, &enum iwl_umac_scan_uid_offsets 1131 __le32 uid; member in struct:iwl_umac_scan_abort 1137 * @uid: scan id, &enum iwl_umac_scan_uid_offsets 1146 __le32 uid; member in struct:iwl_umac_scan_complete 1261 __le32 uid; member in struct:iwl_umac_scan_iter_complete_notif [all...] |
/linux-master/block/ |
H A D | blk-ioc.c | 258 if (!uid_eq(tcred->uid, cred->euid) && 259 !uid_eq(tcred->uid, cred->uid) && !capable(CAP_SYS_NICE)) {
|