Home
last modified time | relevance | path

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

12

/linux/tools/perf/trace/beauty/
H A Dmode_t.c10 #ifndef S_IALLUGO
11 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
/linux/security/tomoyo/
H A Dtomoyo.c180 mode & S_IALLUGO); in tomoyo_path_mkdir()
230 const unsigned int perm = mode & S_IALLUGO; in tomoyo_path_mknod()
364 mode & S_IALLUGO); in tomoyo_path_chmod()
H A Daudit.c203 stat->mode & S_IALLUGO); in tomoyo_print_header()
213 mode & S_IALLUGO, tomoyo_filetype(mode)); in tomoyo_print_header()
H A Dcondition.c1037 value = stat->mode & S_IALLUGO; in tomoyo_condition()
/linux/include/linux/
H A Dstat.h10 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
/linux/fs/9p/
H A Dvfs_inode_dotl.c633 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl()
634 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl()
661 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl()
662 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl()
/linux/kernel/bpf/
H A Dinode.c375 if ((dir->i_mode & S_IALLUGO) && in bpf_lookup()
721 umode_t mode = inode->i_mode & S_IALLUGO & ~S_ISVTX; in bpf_show_options()
860 opts->mode = result.uint_32 & S_IALLUGO; in bpf_parse_param()
1018 inode->i_mode &= ~S_IALLUGO; in bpf_fill_super()
/linux/fs/afs/
H A Dinode.c188 inode->i_mode = S_IFREG | (status->mode & S_IALLUGO); in afs_inode_init_from_status()
195 inode->i_mode = S_IFDIR | (status->mode & S_IALLUGO); in afs_inode_init_from_status()
290 mode &= ~S_IALLUGO; in afs_apply_status()
291 mode |= status->mode & S_IALLUGO; in afs_apply_status()
H A Dfsclient.c105 status->mode = ntohl(xdr->mode) & S_IALLUGO; in xdr_decode_AFSFetchStatus()
198 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_AFS_StoreStatus()
570 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_create_file()
624 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_make_dir()
H A Dyfsclient.c90 mode_t masked_mode = mode ? *mode & S_IALLUGO : 0; in xdr_encode_YFSStoreStatus()
205 status->mode = ntohl(xdr->mode) & S_IALLUGO; in xdr_decode_YFSFetchStatus()
289 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_YFS_StoreStatus()
/linux/fs/devpts/
H A Dinode.c242 opts->mode = result.uint_32 & S_IALLUGO; in devpts_parse_param()
245 opts->ptmxmode = result.uint_32 & S_IALLUGO; in devpts_parse_param()
/linux/fs/configfs/
H A Dfile.c451 umode_t mode = (attr->ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_file()
473 umode_t mode = (bin_attr->cb_attr.ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_bin_file()
/linux/fs/
H A Dopen.c637 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()
1169 .mode = mode & S_IALLUGO, in build_open_how()
1212 if (how->mode & ~S_IALLUGO) in build_open_flags()
/linux/fs/nfs/
H A Dinode.c870 int mode = attr->ia_mode & S_IALLUGO; in nfs_setattr_update_inode()
871 mode |= inode->i_mode & ~S_IALLUGO; in nfs_setattr_update_inode()
1714 … ((fattr->valid & NFS_ATTR_FATTR_MODE) && (inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) in nfs_check_inode_attributes()
2428 if ((inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) { in nfs_update_inode()
2430 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode()
H A Dproc.c142 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr()
/linux/security/
H A Dinode.c120 mode = (mode & S_IALLUGO) | S_IFREG; in securityfs_create_dentry()
/linux/fs/tracefs/
H A Dinode.c320 opts->mode = result.uint_32 & S_IALLUGO; in tracefs_parse_param()
347 tmp_mode = READ_ONCE(inode->i_mode) & ~S_IALLUGO; in tracefs_apply_options()
/linux/fs/debugfs/
H A Dinode.c129 opts->mode = result.uint_32 & S_IALLUGO; in debugfs_parse_param()
159 inode->i_mode &= ~S_IALLUGO; in _debugfs_apply_options()
/linux/fs/sysfs/
H A Dfile.c443 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file()
/linux/fs/ramfs/
H A Dinode.c253 fsi->mount_opts.mode = result.uint_32 & S_IALLUGO; in ramfs_parse_param()
/linux/arch/powerpc/platforms/cell/spufs/
H A Dinode.c589 if ((inode->i_mode & S_IALLUGO) != 0775) in spufs_show_options()
623 ctx->mode = result.uint_32 & S_IALLUGO; in spufs_parse_param()
/linux/fs/nfsd/
H A Dvfs.c398 iap->ia_mode &= S_IALLUGO; in nfsd_sanitize_attrs()
399 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_sanitize_attrs()
1801 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create_locked()
/linux/fs/proc/
H A Dgeneric.c573 if ((mode & S_IALLUGO) == 0) in proc_create_reg()
/linux/fs/smb/client/
H A Dfs_context.c1757 (S_IALLUGO & ~(S_ISUID | S_IXGRP))) in smb3_fs_context_parse_param()
1758 ctx->file_mode = S_IALLUGO; in smb3_fs_context_parse_param()
/linux/fs/hfsplus/
H A Dinode.c216 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms()

12