Home
last modified time | relevance | path

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

/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.c122 fs->umask = old->umask; in copy_fs_struct()
160 return current->fs->umask; in current_umask()
169 .umask = 0022,
/fs/notify/fanotify/
Dfanotify_user.c1053 __u32 umask, int *destroy) in fanotify_mark_remove_from_mask() argument
1058 mask &= ~umask; in fanotify_mark_remove_from_mask()
1073 *destroy = !((fsn_mark->mask | fsn_mark->ignore_mask) & ~umask); in fanotify_mark_remove_from_mask()
1081 unsigned int flags, __u32 umask) in fanotify_remove_mark() argument
1095 umask, &destroy_mark); in fanotify_remove_mark()
1111 unsigned int flags, __u32 umask) in fanotify_remove_vfsmount_mark() argument
1114 mask, flags, umask); in fanotify_remove_vfsmount_mark()
1119 unsigned int flags, __u32 umask) in fanotify_remove_sb_mark() argument
1122 flags, umask); in fanotify_remove_sb_mark()
1127 unsigned int flags, __u32 umask) in fanotify_remove_inode_mark() argument
[all …]
/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.c203 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms()
206 mode = S_IFREG | ((S_IRUGO|S_IWUGO) & ~(sbi->umask)); in hfsplus_get_perms()
Dhfsplus_fs.h183 umode_t umask; member
/fs/jfs/
Dsuper.c363 char *umask = args[0].from; in parse_options() local
364 int rc = kstrtouint(umask, 8, &sbi->umask); in parse_options()
368 if (sbi->umask & ~0777) { in parse_options()
507 sbi->umask = -1; in jfs_fill_super()
700 if (sbi->umask != -1) in jfs_show_options()
701 seq_printf(seq, ",umask=%03o", sbi->umask); in jfs_show_options()
Djfs_incore.h198 uint umask; /* umask to override on-disk umask */ member
Djfs_imap.c3044 if (sbi->umask != -1) { in copy_from_dinode()
3045 ip->i_mode = (ip->i_mode & ~0777) | (0777 & ~sbi->umask); in copy_from_dinode()
3144 if (sbi->umask == -1) in copy_to_dinode()
/fs/proc/
Darray.c153 int g, umask = -1; in task_state() local
173 umask = p->fs->umask; in task_state()
179 if (umask >= 0) in task_state()
180 seq_printf(m, "Umask:\t%#04o\n", umask); in task_state()
/fs/udf/
Dsuper.c218 umode_t umask; member
531 uopt->umask = option; in udf_parse_options()
624 uopt.umask = sbi->s_umask; in udf_remount_fs()
636 sbi->s_umask = uopt.umask; in udf_remount_fs()
2101 uopt.umask = 0; in udf_fill_super()
2123 sbi->s_umask = uopt.umask; in udf_fill_super()
/fs/exfat/
Dsuper.c756 sbi->options.fs_fmask = current->fs->umask; in exfat_init_fs_context()
757 sbi->options.fs_dmask = current->fs->umask; in exfat_init_fs_context()
/fs/fuse/
Dbacking.c1392 .umask = current_umask(), in fuse_mknod_initialize()
1430 mode &= ~fmi->umask; in fuse_mknod_backing()
1469 .umask = current_umask(), in fuse_mkdir_initialize()
1507 mode &= ~fmi->umask; in fuse_mkdir_backing()
Ddir.c854 inarg.umask = current_umask(); in fuse_create_open()
1073 inarg.umask = current_umask(); in fuse_mknod()
1129 inarg.umask = current_umask(); in fuse_mkdir()
/fs/nfsd/
Dnfs4proc.c446 current->fs->umask = open->op_umask; in do_open_lookup()
448 current->fs->umask = 0; in do_open_lookup()
808 current->fs->umask = create->cr_umask; in nfsd4_create()
873 current->fs->umask = 0; in nfsd4_create()
Dnfssvc.c941 current->fs->umask = 0; in nfsd()
Dnfs4xdr.c382 struct xdr_netobj *label, int *umask) in nfsd4_decode_fattr4() argument
513 if (!umask) in nfsd4_decode_fattr4()
520 *umask = mask & S_IRWXUGO; in nfsd4_decode_fattr4()
/fs/nfs/
Dnfs4xdr.c1083 const umode_t *umask, in encode_attrs() argument
1103 if (umask && (attrmask[2] & FATTR4_WORD2_MODE_UMASK)) { in encode_attrs()
1194 *p++ = cpu_to_be32(*umask); in encode_attrs()
1250 encode_attrs(xdr, create->attrs, create->label, &create->umask, in encode_create()
1436 encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask, in encode_createmode()
1441 encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask, in encode_createmode()
1451 encode_attrs(xdr, arg->u.attrs, arg->label, &arg->umask, in encode_createmode()
Dnfs4proc.c1391 p->o_arg.umask = current_umask(); in nfs4_opendata_alloc()
5000 data->arg.umask = current_umask(); in nfs4_alloc_createdata()