Searched refs:uid (Results 176 - 200 of 581) sorted by relevance

1234567891011>>

/linux-master/fs/efivarfs/
H A Dinternal.h13 kuid_t uid; member in struct:efivarfs_mount_opts
/linux-master/tools/crypto/ccp/
H A Dtest_dbc.py37 self.uid = b"1111111111111111"
90 # 0x2 (set uid), and invalid data
99 # 0x2 as RW (set uid), and invalid data
147 """set uid"""
150 set_uid(self.d, self.uid, self.signature)
175 set_uid(self.d, self.uid, self.signature)
218 set_uid(self.d, self.uid, self.signature)
/linux-master/include/uapi/linux/genwqe/
H A Dgenwqe_card.h42 #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 Dunprivileged-remount-test.c156 uid_t uid; local
159 uid = getuid();
168 write_file("/proc/self/uid_map", "0 %d 1", uid);
/linux-master/kernel/
H A Daudit.h81 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 Duser_namespace.c33 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 Dcred.c46 .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 Duser_namespace.h118 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 Daudit.h23 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
/linux-master/security/
H A Dcommoncap.c35 * 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 Dnamespace.c173 kuid_t uid = current_fsuid(); local
178 ctx->linux_uid = uid;
183 ctx->cred_uid = uid;
/linux-master/arch/s390/pci/
H A Dpci_sysfs.c37 zpci_attr(uid, "0x%x\n", uid);
184 index = zdev->uid;
/linux-master/tools/testing/selftests/move_mount_set_group/
H A Dmove_mount_set_group_test.c78 uid_t uid; local
82 uid = getuid();
92 snprintf(map, sizeof(map), "0 %d 1", uid);
/linux-master/fs/
H A Dnsfs.c128 uid_t uid; local
144 uid = from_kuid_munged(current_user_ns(), user_ns->owner);
145 return put_user(uid, argp);
/linux-master/fs/autofs/
H A Dwaitq.c148 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 Dcard_utils.c828 * @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 Dcard_base.c659 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 Dlinuxvfs.c342 * 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 Dmixart_core.c76 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 Dmlx5_vnet.c368 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/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dscan.h816 * @uid: scan id, &enum iwl_umac_scan_uid_offsets
845 __le32 uid; member in struct:iwl_scan_req_umac
1094 * @uid: scan id, &enum iwl_umac_scan_uid_offsets
1099 __le32 uid; member in struct:iwl_scan_req_umac_v12
1106 * @uid: scan id, &enum iwl_umac_scan_uid_offsets
1111 __le32 uid; member in struct:iwl_scan_req_umac_v17
1118 * @uid: scan id, &enum iwl_umac_scan_uid_offsets
1122 __le32 uid; member in struct:iwl_umac_scan_abort
1128 * @uid: scan id, &enum iwl_umac_scan_uid_offsets
1137 __le32 uid; member in struct:iwl_umac_scan_complete
1252 __le32 uid; member in struct:iwl_umac_scan_iter_complete_notif
[all...]
/linux-master/net/sunrpc/auth_gss/
H A Dauth_gss.c261 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 Dinitramfs.c182 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 Drpcgss.h574 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/block/
H A Dblk-ioc.c258 if (!uid_eq(tcred->uid, cred->euid) &&
259 !uid_eq(tcred->uid, cred->uid) && !capable(CAP_SYS_NICE)) {

Completed in 283 milliseconds

1234567891011>>