Home
last modified time | relevance | path

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

12

/Linux-v5.4/tools/perf/trace/beauty/
Dmode_t.c10 #ifndef S_IALLUGO
11 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
/Linux-v5.4/security/tomoyo/
Dtomoyo.c174 mode & S_IALLUGO); in tomoyo_path_mkdir()
224 const unsigned int perm = mode & S_IALLUGO; in tomoyo_path_mknod()
349 mode & S_IALLUGO); in tomoyo_path_chmod()
Daudit.c203 stat->mode & S_IALLUGO); in tomoyo_print_header()
213 mode & S_IALLUGO, tomoyo_filetype(mode)); in tomoyo_print_header()
Dcondition.c1037 value = stat->mode & S_IALLUGO; in tomoyo_condition()
/Linux-v5.4/include/linux/
Dstat.h10 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
/Linux-v5.4/kernel/bpf/
Dinode.c560 umode_t mode = d_inode(root)->i_mode & S_IALLUGO & ~S_ISVTX; in bpf_show_options()
619 opts->mode = result.uint_32 & S_IALLUGO; in bpf_parse_param()
641 inode->i_mode &= ~S_IALLUGO; in bpf_fill_super()
/Linux-v5.4/fs/configfs/
Dfile.c525 umode_t mode = (attr->ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_file()
547 umode_t mode = (bin_attr->cb_attr.ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_bin_file()
/Linux-v5.4/fs/sysfs/
Dfile.c402 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file()
/Linux-v5.4/fs/tracefs/
Dinode.c198 opts->mode = option & S_IALLUGO; in tracefs_parse_options()
216 inode->i_mode &= ~S_IALLUGO; in tracefs_apply_options()
/Linux-v5.4/fs/nfs/
Dinode.c692 int mode = attr->ia_mode & S_IALLUGO; in nfs_setattr_update_inode()
693 mode |= inode->i_mode & ~S_IALLUGO; in nfs_setattr_update_inode()
1446 … ((fattr->valid & NFS_ATTR_FATTR_MODE) && (inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) in nfs_check_inode_attributes()
1958 if ((inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) { in nfs_update_inode()
1960 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode()
Dproc.c136 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr()
/Linux-v5.4/security/
Dinode.c117 mode = (mode & S_IALLUGO) | S_IFREG; in securityfs_create_dentry()
/Linux-v5.4/fs/devpts/
Dinode.c298 opts->mode = option & S_IALLUGO; in parse_mount_options()
303 opts->ptmxmode = option & S_IALLUGO; in parse_mount_options()
/Linux-v5.4/fs/ramfs/
Dinode.c215 fsi->mount_opts.mode = result.uint_32 & S_IALLUGO; in ramfs_parse_param()
/Linux-v5.4/fs/debugfs/
Dinode.c136 opts->mode = option & S_IALLUGO; in debugfs_parse_options()
154 inode->i_mode &= ~S_IALLUGO; in debugfs_apply_options()
/Linux-v5.4/fs/
Dopen.c559 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()
970 op->mode = (mode & S_IALLUGO) | S_IFREG; in build_open_flags()
/Linux-v5.4/arch/powerpc/platforms/cell/spufs/
Dinode.c612 if ((inode->i_mode & S_IALLUGO) != 0775) in spufs_show_options()
646 ctx->mode = result.uint_32 & S_IALLUGO; in spufs_parse_param()
/Linux-v5.4/fs/9p/
Dvfs_inode_dotl.c617 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl()
618 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl()
Dvfs_inode.c89 res = mode & S_IALLUGO; in p9mode2perm()
1197 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode()
/Linux-v5.4/fs/nfsd/
Dvfs.c305 iap->ia_mode &= S_IALLUGO; in nfsd_sanitize_attrs()
306 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_sanitize_attrs()
1169 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create_locked()
/Linux-v5.4/fs/afs/
Dyfsclient.c93 x->mode = htonl(mode & S_IALLUGO); in xdr_encode_YFSStoreStatus_mode()
214 status->mode = ntohl(xdr->mode) & S_IALLUGO; in xdr_decode_YFSFetchStatus()
295 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_YFS_StoreStatus()
Dfsclient.c109 status->mode = ntohl(xdr->mode) & S_IALLUGO; in xdr_decode_AFSFetchStatus()
201 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_AFS_StoreStatus()
666 *bp++ = htonl(mode & S_IALLUGO); /* unix mode */ in afs_fs_create()
/Linux-v5.4/fs/proc/
Dgeneric.c524 if ((mode & S_IALLUGO) == 0) in proc_create_reg()
/Linux-v5.4/fs/kernfs/
Dfile.c1001 kn = kernfs_new_node(parent, name, (mode & S_IALLUGO) | S_IFREG, in __kernfs_create_file()
/Linux-v5.4/fs/hfsplus/
Dinode.c198 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms()

12