Home
last modified time | relevance | path

Searched refs:umask (Results 1 – 19 of 19) sorted by relevance

/fs/notify/fanotify/
Dfanotify_user.c721 __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/
Dsuper.c313 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/
Dfs_struct.c121 fs->umask = old->umask; in copy_fs_struct()
158 return current->fs->umask; in current_umask()
167 .umask = 0022,
/fs/hfsplus/
Doptions.c56 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()
Dinode.c198 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()
Dhfsplus_fs.h183 umode_t umask; member
/fs/jfs/
Dsuper.c364 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()
Djfs_incore.h190 uint umask; /* umask to override on-disk umask */ member
Djfs_imap.c3043 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/
Darray.c156 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/
Dsuper.c215 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/
Dsuper.c759 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/
Dbacking.c1410 .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()
Ddir.c767 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/
Dnfs4proc.c259 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()
Dnfssvc.c939 current->fs->umask = 0; in nfsd()
Dnfs4xdr.c364 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/
Dnfs4xdr.c1071 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()
Dnfs4proc.c1376 p->o_arg.umask = current_umask(); in nfs4_opendata_alloc()
4861 data->arg.umask = current_umask(); in nfs4_alloc_createdata()