/fs/notify/fanotify/ |
D | fanotify_user.c | 721 __u32 umask, int *destroy) in fanotify_mark_remove_from_mask() argument 726 mask &= ~umask; in fanotify_mark_remove_from_mask() 740 *destroy = !((fsn_mark->mask | fsn_mark->ignored_mask) & ~umask); in fanotify_mark_remove_from_mask() 748 unsigned int flags, __u32 umask) in fanotify_remove_mark() argument 762 umask, &destroy_mark); in fanotify_remove_mark() 778 unsigned int flags, __u32 umask) in fanotify_remove_vfsmount_mark() argument 781 mask, flags, umask); in fanotify_remove_vfsmount_mark() 786 unsigned int flags, __u32 umask) in fanotify_remove_sb_mark() argument 789 flags, umask); in fanotify_remove_sb_mark() 794 unsigned int flags, __u32 umask) in fanotify_remove_inode_mark() argument [all …]
|
/fs/hpfs/ |
D | super.c | 313 static int parse_opts(char *opts, kuid_t *uid, kgid_t *gid, umode_t *umask, in parse_opts() argument 352 *umask = option; in parse_opts() 446 umode_t umask; in hpfs_remount_fs() local 457 umask = 0777 & ~sbi->sb_mode; in hpfs_remount_fs() 462 if (!(o = parse_opts(data, &uid, &gid, &umask, &lowercase, in hpfs_remount_fs() 479 sbi->sb_mode = 0777 & ~umask; in hpfs_remount_fs() 548 umode_t umask; in hpfs_fill_super() local 568 umask = current_umask(); in hpfs_fill_super() 576 if (!(o = parse_opts(options, &uid, &gid, &umask, &lowercase, in hpfs_fill_super() 627 sbi->sb_mode = 0777 & ~umask; in hpfs_fill_super()
|
/fs/ |
D | fs_struct.c | 121 fs->umask = old->umask; in copy_fs_struct() 158 return current->fs->umask; in current_umask() 167 .umask = 0022,
|
/fs/hfsplus/ |
D | options.c | 56 opts->umask = current_umask(); in hfsplus_fill_defaults() 132 sbi->umask = (umode_t)tmp; in hfsplus_parse_options() 229 seq_printf(seq, ",umask=%o,uid=%u,gid=%u", sbi->umask, in hfsplus_show_options()
|
D | inode.c | 198 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms() 201 mode = S_IFREG | ((S_IRUGO|S_IWUGO) & ~(sbi->umask)); in hfsplus_get_perms()
|
D | hfsplus_fs.h | 183 umode_t umask; member
|
/fs/jfs/ |
D | super.c | 364 char *umask = args[0].from; in parse_options() local 365 int rc = kstrtouint(umask, 8, &sbi->umask); in parse_options() 369 if (sbi->umask & ~0777) { in parse_options() 512 sbi->umask = -1; in jfs_fill_super() 706 if (sbi->umask != -1) in jfs_show_options() 707 seq_printf(seq, ",umask=%03o", sbi->umask); in jfs_show_options()
|
D | jfs_incore.h | 190 uint umask; /* umask to override on-disk umask */ member
|
D | jfs_imap.c | 3043 if (sbi->umask != -1) { in copy_from_dinode() 3044 ip->i_mode = (ip->i_mode & ~0777) | (0777 & ~sbi->umask); in copy_from_dinode() 3143 if (sbi->umask == -1) in copy_to_dinode()
|
/fs/proc/ |
D | array.c | 156 int g, umask = -1; in task_state() local 176 umask = p->fs->umask; in task_state() 182 if (umask >= 0) in task_state() 183 seq_printf(m, "Umask:\t%#04o\n", umask); in task_state()
|
/fs/udf/ |
D | super.c | 215 umode_t umask; member 526 uopt->umask = option; in udf_parse_options() 619 uopt.umask = sbi->s_umask; in udf_remount_fs() 631 sbi->s_umask = uopt.umask; in udf_remount_fs() 2140 uopt.umask = 0; in udf_fill_super() 2162 sbi->s_umask = uopt.umask; in udf_fill_super()
|
/fs/exfat/ |
D | super.c | 759 sbi->options.fs_fmask = current->fs->umask; in exfat_init_fs_context() 760 sbi->options.fs_dmask = current->fs->umask; in exfat_init_fs_context()
|
/fs/fuse/ |
D | backing.c | 1410 .umask = current_umask(), in fuse_mknod_initialize() 1448 mode &= ~fmi->umask; in fuse_mknod_backing() 1487 .umask = current_umask(), in fuse_mkdir_initialize() 1525 mode &= ~fmi->umask; in fuse_mkdir_backing()
|
D | dir.c | 767 inarg.umask = current_umask(); in fuse_create_open() 962 inarg.umask = current_umask(); in fuse_mknod() 1000 inarg.umask = current_umask(); in fuse_mkdir()
|
/fs/nfsd/ |
D | nfs4proc.c | 259 current->fs->umask = open->op_umask; in do_open_lookup() 265 current->fs->umask = 0; in do_open_lookup() 625 current->fs->umask = create->cr_umask; in nfsd4_create() 694 current->fs->umask = 0; in nfsd4_create()
|
D | nfssvc.c | 939 current->fs->umask = 0; in nfsd()
|
D | nfs4xdr.c | 364 struct xdr_netobj *label, int *umask) in nfsd4_decode_fattr() argument 527 if (!umask) in nfsd4_decode_fattr() 534 *umask = dummy32 & S_IRWXUGO; in nfsd4_decode_fattr()
|
/fs/nfs/ |
D | nfs4xdr.c | 1071 const umode_t *umask, in encode_attrs() argument 1091 if (umask && (attrmask[2] & FATTR4_WORD2_MODE_UMASK)) { in encode_attrs() 1182 *p++ = cpu_to_be32(*umask); in encode_attrs() 1238 encode_attrs(xdr, create->attrs, create->label, &create->umask, in encode_create() 1424 encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask, in encode_createmode() 1429 encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask, in encode_createmode() 1439 encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask, in encode_createmode()
|
D | nfs4proc.c | 1376 p->o_arg.umask = current_umask(); in nfs4_opendata_alloc() 4861 data->arg.umask = current_umask(); in nfs4_alloc_createdata()
|