Home
last modified time | relevance | path

Searched refs:S_IALLUGO (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v4.19/tools/perf/trace/beauty/
Dmode_t.c10 #ifndef S_IALLUGO
11 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
/Linux-v4.19/security/tomoyo/
Dtomoyo.c187 mode & S_IALLUGO); in tomoyo_path_mkdir()
235 const unsigned int perm = mode & S_IALLUGO; in tomoyo_path_mknod()
358 mode & S_IALLUGO); in tomoyo_path_chmod()
Daudit.c201 stat->mode & S_IALLUGO); in tomoyo_print_header()
211 mode & S_IALLUGO, tomoyo_filetype(mode)); in tomoyo_print_header()
Dcondition.c1012 value = stat->mode & S_IALLUGO; in tomoyo_condition()
/Linux-v4.19/include/linux/
Dstat.h10 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
/Linux-v4.19/kernel/bpf/
Dinode.c575 umode_t mode = d_inode(root)->i_mode & S_IALLUGO & ~S_ISVTX; in bpf_show_options()
620 opts->mode = option & S_IALLUGO; in bpf_parse_options()
651 inode->i_mode &= ~S_IALLUGO; in bpf_fill_super()
/Linux-v4.19/fs/configfs/
Dfile.c539 umode_t mode = (attr->ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_file()
561 umode_t mode = (bin_attr->cb_attr.ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_bin_file()
/Linux-v4.19/fs/tracefs/
Dinode.c201 opts->mode = option & S_IALLUGO; in tracefs_parse_options()
219 inode->i_mode &= ~S_IALLUGO; in tracefs_apply_options()
/Linux-v4.19/fs/devpts/
Dinode.c301 opts->mode = option & S_IALLUGO; in parse_mount_options()
306 opts->ptmxmode = option & S_IALLUGO; in parse_mount_options()
/Linux-v4.19/fs/sysfs/
Dfile.c402 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file()
/Linux-v4.19/fs/nfs/
Dinode.c688 int mode = attr->ia_mode & S_IALLUGO; in nfs_setattr_update_inode()
689 mode |= inode->i_mode & ~S_IALLUGO; in nfs_setattr_update_inode()
1436 … ((fattr->valid & NFS_ATTR_FATTR_MODE) && (inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) in nfs_check_inode_attributes()
1950 if ((inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) { in nfs_update_inode()
1952 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode()
Dproc.c136 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr()
/Linux-v4.19/security/
Dinode.c111 mode = (mode & S_IALLUGO) | S_IFREG; in securityfs_create_dentry()
/Linux-v4.19/fs/ramfs/
Dinode.c206 opts->mode = option & S_IALLUGO; in ramfs_parse_options()
/Linux-v4.19/fs/debugfs/
Dinode.c106 opts->mode = option & S_IALLUGO; in debugfs_parse_options()
124 inode->i_mode &= ~S_IALLUGO; in debugfs_apply_options()
/Linux-v4.19/fs/
Dopen.c539 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()
936 op->mode = (mode & S_IALLUGO) | S_IFREG; in build_open_flags()
/Linux-v4.19/fs/9p/
Dvfs_inode_dotl.c630 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl()
631 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl()
Dvfs_inode.c104 res = mode & S_IALLUGO; in p9mode2perm()
1217 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode()
/Linux-v4.19/fs/nfsd/
Dvfs.c332 iap->ia_mode &= S_IALLUGO; in nfsd_sanitize_attrs()
333 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_sanitize_attrs()
1193 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create_locked()
Dnfs3xdr.c170 *p++ = htonl((u32) (stat->mode & S_IALLUGO)); in encode_fattr3()
/Linux-v4.19/arch/powerpc/platforms/cell/spufs/
Dinode.c619 if ((inode->i_mode & S_IALLUGO) != 0775) in spufs_show_options()
/Linux-v4.19/fs/hfsplus/
Dinode.c198 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms()
/Linux-v4.19/fs/proc/
Dgeneric.c521 if ((mode & S_IALLUGO) == 0) in proc_create_reg()
/Linux-v4.19/fs/afs/
Dfsclient.c90 mode &= ~S_IALLUGO; in afs_update_inode_from_status()
350 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_AFS_StoreStatus()
817 *bp++ = htonl(mode & S_IALLUGO); /* unix mode */ in afs_fs_create()
/Linux-v4.19/fs/kernfs/
Dfile.c992 kn = kernfs_new_node(parent, name, (mode & S_IALLUGO) | S_IFREG, in __kernfs_create_file()

12