/fs/9p/ |
D | fid.c | 76 static struct p9_fid *v9fs_fid_find(struct dentry *dentry, u32 uid, int any) in v9fs_fid_find() argument 82 dentry->d_name.name, dentry, uid, any); in v9fs_fid_find() 88 if (any || fid->uid == uid) { in v9fs_fid_find() 112 u32 uid; in v9fs_fid_lookup() local 123 uid = current_fsuid(); in v9fs_fid_lookup() 128 uid = v9ses->uid; in v9fs_fid_lookup() 133 uid = ~0; in v9fs_fid_lookup() 138 fid = v9fs_fid_find(dentry, uid, any); in v9fs_fid_lookup() 143 fid = v9fs_fid_find(ds, uid, any); in v9fs_fid_lookup() 149 fid = v9fs_fid_find(ds, uid, any); in v9fs_fid_lookup() [all …]
|
D | v9fs.c | 163 v9ses->uid = simple_strtoul(s, &e, 10); in v9fs_parse_options() 165 v9ses->uid = ~0; in v9fs_parse_options() 206 v9ses->uid = ~0; in v9fs_session_init() 245 v9ses->uid = ~0; in v9fs_session_init() 258 fid->uid = v9ses->uid; in v9fs_session_init() 260 fid->uid = ~0; in v9fs_session_init()
|
D | vfs_super.c | 116 uid_t uid = current_fsuid(); in v9fs_get_sb() local 153 inode->i_uid = uid; in v9fs_get_sb()
|
/fs/nfsd/ |
D | auth.h | 11 #define nfsd_luid(rq, uid) ((u32)(uid)) argument 13 #define nfsd_ruid(rq, uid) ((u32)(uid)) argument
|
D | nfs4acl.c | 409 uid_t uid; member 542 pace->e_id = state->users->aces[i].uid; in posix_state_to_acl() 563 pace->e_id = state->groups->aces[i].uid; in posix_state_to_acl() 598 static int find_uid(struct posix_acl_state *state, struct posix_ace_state_array *a, uid_t uid) in find_uid() argument 603 if (a->aces[i].uid == uid) in find_uid() 607 a->aces[i].uid = uid; in find_uid()
|
/fs/squashfs/ |
D | squashfs_fs.h | 248 __le16 uid; member 257 __le16 uid; member 267 __le16 uid; member 278 __le16 uid; member 290 __le16 uid; member 304 __le16 uid; member 321 __le16 uid; member 335 __le16 uid; member
|
/fs/ |
D | ioprio.c | 38 if (tcred->uid != cred->euid && in set_task_ioprio() 39 tcred->uid != cred->uid && !capable(CAP_SYS_NICE)) { in set_task_ioprio() 141 if (__task_cred(p)->uid != who) in SYSCALL_DEFINE3() 234 if (__task_cred(p)->uid != user->uid) in SYSCALL_DEFINE2()
|
D | fcntl.c | 199 uid_t uid, uid_t euid, int force) in f_modown() argument 206 filp->f_owner.uid = uid; in f_modown() 222 f_modown(filp, pid, type, cred->uid, cred->euid, force); in __f_setown() 418 fown->euid == cred->suid || fown->euid == cred->uid || in sigio_perm() 419 fown->uid == cred->suid || fown->uid == cred->uid) && in sigio_perm()
|
/fs/gfs2/ |
D | quota.h | 18 extern int gfs2_quota_hold(struct gfs2_inode *ip, u32 uid, u32 gid); 21 extern int gfs2_quota_lock(struct gfs2_inode *ip, u32 uid, u32 gid); 24 extern int gfs2_quota_check(struct gfs2_inode *ip, u32 uid, u32 gid); 26 u32 uid, u32 gid);
|
D | inode.c | 699 unsigned int *uid, unsigned int *gid) in munge_mode_uid_gid() argument 707 *uid = dip->i_inode.i_uid; in munge_mode_uid_gid() 709 *uid = current_fsuid(); in munge_mode_uid_gid() 760 unsigned int uid, unsigned int gid, in init_dinode() argument 777 di->di_uid = cpu_to_be32(uid); in init_dinode() 822 unsigned int uid, gid; in make_dinode() local 825 munge_mode_uid_gid(dip, &mode, &uid, &gid); in make_dinode() 829 error = gfs2_quota_lock(dip, uid, gid); in make_dinode() 833 error = gfs2_quota_check(dip, uid, gid); in make_dinode() 841 init_dinode(dip, gl, inum, mode, uid, gid, generation, dev, bhp); in make_dinode() [all …]
|
D | quota.c | 455 int gfs2_quota_hold(struct gfs2_inode *ip, u32 uid, u32 gid) in gfs2_quota_hold() argument 481 if (uid != NO_QUOTA_CHANGE && uid != ip->i_inode.i_uid) { in gfs2_quota_hold() 482 error = qdsb_get(sdp, QUOTA_USER, uid, CREATE, qd); in gfs2_quota_hold() 849 int gfs2_quota_lock(struct gfs2_inode *ip, u32 uid, u32 gid) in gfs2_quota_lock() argument 856 gfs2_quota_hold(ip, uid, gid); in gfs2_quota_lock() 965 int gfs2_quota_check(struct gfs2_inode *ip, u32 uid, u32 gid) in gfs2_quota_check() argument 983 if (!((qd->qd_id == uid && test_bit(QDF_USER, &qd->qd_flags)) || in gfs2_quota_check() 1010 u32 uid, u32 gid) in gfs2_quota_change() argument 1024 if ((qd->qd_id == uid && test_bit(QDF_USER, &qd->qd_flags)) || in gfs2_quota_change()
|
/fs/ncpfs/ |
D | ioctl.c | 273 uid_t uid = current_uid(); in __ncp_ioctl() local 281 && uid != server->m.mounted_uid) in __ncp_ioctl() 361 && uid != server->m.mounted_uid) in __ncp_ioctl() 365 u16 uid; in __ncp_ioctl() local 366 SET_UID(uid, server->m.mounted_uid); in __ncp_ioctl() 367 if (put_user(uid, (u16 __user *)argp)) in __ncp_ioctl() 385 && uid != server->m.mounted_uid) in __ncp_ioctl() 460 && uid != server->m.mounted_uid) in __ncp_ioctl() 482 && uid != server->m.mounted_uid) in __ncp_ioctl() 494 && uid != server->m.mounted_uid) in __ncp_ioctl() [all …]
|
D | inode.c | 224 inode->i_uid = server->m.uid; in ncp_set_attr() 315 if (server->m.uid != 0) in ncp_show_options() 316 seq_printf(seq, ",uid=%u", server->m.uid); in ncp_show_options() 370 data->uid = 0; in ncp_parse_options() 383 data->uid = optint; in ncp_parse_options() 469 data.uid = md->uid; in ncp_fill_super() 489 data.uid = md->uid; in ncp_fill_super() 865 (attr->ia_uid != server->m.uid))) in ncp_notify_change()
|
/fs/affs/ |
D | super.c | 158 parse_options(char *options, uid_t *uid, gid_t *gid, int *mode, int *reserved, s32 *root, in parse_options() argument 166 *uid = current_uid(); in parse_options() 231 *uid = option; in parse_options() 273 uid_t uid; in affs_fill_super() local 295 if (!parse_options(data,&uid,&gid,&i,&reserved,&root_block, in affs_fill_super() 305 sbi->s_uid = uid; in affs_fill_super() 491 uid_t uid; in affs_remount() local 504 if (!parse_options(data, &uid, &gid, &mode, &reserved, &root_block, in affs_remount() 515 sbi->s_uid = uid; in affs_remount()
|
D | inode.c | 78 id = be16_to_cpu(tail->uid); in affs_iget() 174 uid_t uid; in affs_write_inode() local 195 uid = inode->i_uid; in affs_write_inode() 199 uid = inode->i_uid ^ ~0; in affs_write_inode() 204 tail->uid = cpu_to_be16(uid); in affs_write_inode()
|
/fs/hpfs/ |
D | super.c | 244 static int parse_opts(char *opts, uid_t *uid, gid_t *gid, umode_t *umask, in parse_opts() argument 269 *uid = option; in parse_opts() 383 uid_t uid; in hpfs_remount_fs() local 393 uid = sbi->sb_uid; gid = sbi->sb_gid; in hpfs_remount_fs() 399 if (!(o = parse_opts(data, &uid, &gid, &umask, &lowercase, &conv, in hpfs_remount_fs() 415 sbi->sb_uid = uid; sbi->sb_gid = gid; in hpfs_remount_fs() 455 uid_t uid; in hpfs_fill_super() local 478 uid = current_uid(); in hpfs_fill_super() 489 if (!(o = parse_opts(options, &uid, &gid, &umask, &lowercase, &conv, in hpfs_fill_super() 535 sbi->sb_uid = uid; in hpfs_fill_super()
|
/fs/nfs/ |
D | idmap.c | 492 int nfs_map_name_to_uid(struct nfs_client *clp, const char *name, size_t namelen, __u32 *uid) in nfs_map_name_to_uid() argument 496 return nfs_idmap_id(idmap, &idmap->idmap_user_hash, name, namelen, uid); in nfs_map_name_to_uid() 499 int nfs_map_group_to_gid(struct nfs_client *clp, const char *name, size_t namelen, __u32 *uid) in nfs_map_group_to_gid() argument 503 return nfs_idmap_id(idmap, &idmap->idmap_group_hash, name, namelen, uid); in nfs_map_group_to_gid() 506 int nfs_map_uid_to_name(struct nfs_client *clp, __u32 uid, char *buf) in nfs_map_uid_to_name() argument 510 return nfs_idmap_name(idmap, &idmap->idmap_user_hash, uid, buf); in nfs_map_uid_to_name() 512 int nfs_map_gid_to_group(struct nfs_client *clp, __u32 uid, char *buf) in nfs_map_gid_to_group() argument 516 return nfs_idmap_name(idmap, &idmap->idmap_group_hash, uid, buf); in nfs_map_gid_to_group()
|
/fs/hfsplus/ |
D | options.c | 52 opts->uid = current_uid(); in hfsplus_fill_defaults() 108 sbi->uid = (uid_t)tmp; in hfsplus_parse_options() 179 seq_printf(seq, ",umask=%o,uid=%u,gid=%u", sbi->umask, sbi->uid, sbi->gid); in hfsplus_show_options()
|
/fs/cifs/ |
D | README | 119 must be a cifs mount, and the uid of the current user must match the uid 133 Note that uid, gid and file permissions will display default values if you do 265 uid Set the default uid for inodes. For mounts to servers 268 the uid, gid and mode so this parameter should not be 269 specified unless the server and clients uid and gid 272 the server supports the Unix Extensions then the uid 273 and gid can be retrieved from the server (and uid 276 extensions, the default uid (and gid) returned on lookup 277 of existing files will be the uid (gid) of the person 279 is configured setuid for user mounts) unless the "uid=" [all …]
|
/fs/autofs4/ |
D | waitq.c | 158 packet->uid = wq->uid; in autofs4_notify_daemon() 394 wq->uid = current_uid(); in autofs4_wait() 485 ino->uid = wq->uid; in autofs4_wait()
|
D | inode.c | 56 ino->uid = 0; in autofs4_init_ino() 231 static int parse_options(char *options, int *pipefd, uid_t *uid, gid_t *gid, in parse_options() argument 238 *uid = current_uid(); in parse_options() 264 *uid = option; in parse_options()
|
/fs/nfs_common/ |
D | nfsacl.c | 40 uid_t uid; member 57 *p++ = htonl(nfsacl_desc->uid); in xdr_nfsace_encode() 87 .uid = inode->i_uid, in nfsacl_encode()
|
/fs/jfs/ |
D | super.c | 322 char *uid = args[0].from; in parse_options() local 323 sbi->uid = simple_strtoul(uid, &uid, 0); in parse_options() 430 sbi->uid = sbi->gid = sbi->umask = -1; in jfs_fill_super() 599 if (sbi->uid != -1) in jfs_show_options() 600 seq_printf(seq, ",uid=%d", sbi->uid); in jfs_show_options()
|
/fs/devpts/ |
D | inode.c | 47 uid_t uid; member 99 opts->uid = 0; in parse_mount_options() 121 opts->uid = option; in parse_mount_options() 246 seq_printf(seq, ",uid=%u", opts->uid); in devpts_show_options() 589 inode->i_uid = opts->setuid ? opts->uid : current_fsuid(); in devpts_pty_new()
|
/fs/autofs/ |
D | inode.c | 72 static int parse_options(char *options, int *pipefd, uid_t *uid, gid_t *gid, in parse_options() argument 79 *uid = current_uid(); in parse_options() 105 *uid = option; in parse_options()
|