/openbmc/linux/tools/perf/trace/beauty/ |
H A D | mode_t.c | 10 #ifndef S_IALLUGO 11 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
|
/openbmc/linux/security/tomoyo/ |
H A D | tomoyo.c | 179 mode & S_IALLUGO); in tomoyo_path_mkdir() 229 const unsigned int perm = mode & S_IALLUGO; in tomoyo_path_mknod() 362 mode & S_IALLUGO); in tomoyo_path_chmod()
|
H A D | audit.c | 203 stat->mode & S_IALLUGO); in tomoyo_print_header() 213 mode & S_IALLUGO, tomoyo_filetype(mode)); in tomoyo_print_header()
|
H A D | condition.c | 1037 value = stat->mode & S_IALLUGO; in tomoyo_condition()
|
/openbmc/linux/include/linux/ |
H A D | stat.h | 10 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
|
/openbmc/linux/kernel/bpf/ |
H A D | inode.c | 376 if ((dir->i_mode & S_IALLUGO) && in bpf_lookup() 603 umode_t mode = d_inode(root)->i_mode & S_IALLUGO & ~S_ISVTX; in bpf_show_options() 667 opts->mode = result.uint_32 & S_IALLUGO; in bpf_parse_param() 755 inode->i_mode &= ~S_IALLUGO; in bpf_fill_super()
|
/openbmc/linux/fs/9p/ |
H A D | vfs_inode_dotl.c | 655 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl() 656 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl() 682 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl() 683 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl()
|
/openbmc/linux/fs/afs/ |
H A D | inode.c | 103 inode->i_mode = S_IFREG | (status->mode & S_IALLUGO); in afs_inode_init_from_status() 110 inode->i_mode = S_IFDIR | (status->mode & S_IALLUGO); in afs_inode_init_from_status() 201 mode &= ~S_IALLUGO; in afs_apply_status() 202 mode |= status->mode & S_IALLUGO; in afs_apply_status()
|
H A D | fsclient.c | 105 status->mode = ntohl(xdr->mode) & S_IALLUGO; in xdr_decode_AFSFetchStatus() 198 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_AFS_StoreStatus() 559 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_create_file() 612 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_make_dir()
|
H A D | yfsclient.c | 90 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() 286 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_YFS_StoreStatus()
|
/openbmc/linux/fs/devpts/ |
H A D | inode.c | 280 opts->mode = option & S_IALLUGO; in parse_mount_options() 285 opts->ptmxmode = option & S_IALLUGO; in parse_mount_options()
|
/openbmc/linux/fs/configfs/ |
H A D | file.c | 451 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()
|
/openbmc/linux/security/ |
H A D | inode.c | 117 mode = (mode & S_IALLUGO) | S_IFREG; in securityfs_create_dentry()
|
/openbmc/linux/fs/nfs/ |
H A D | inode.c | 728 int mode = attr->ia_mode & S_IALLUGO; in nfs_setattr_update_inode() 729 mode |= inode->i_mode & ~S_IALLUGO; in nfs_setattr_update_inode() 1536 … ((fattr->valid & NFS_ATTR_FATTR_MODE) && (inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) in nfs_check_inode_attributes() 2240 if ((inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) { in nfs_update_inode() 2242 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode()
|
H A D | proc.c | 142 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr()
|
/openbmc/linux/fs/ |
H A D | open.c | 641 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common() 1207 .mode = mode & S_IALLUGO, in build_open_how() 1252 if (how->mode & ~S_IALLUGO) in build_open_flags()
|
/openbmc/linux/fs/sysfs/ |
H A D | file.c | 424 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file()
|
/openbmc/linux/fs/debugfs/ |
H A D | inode.c | 143 opts->mode = option & S_IALLUGO; in debugfs_parse_options() 169 inode->i_mode &= ~S_IALLUGO; in _debugfs_apply_options()
|
/openbmc/linux/fs/tracefs/ |
H A D | inode.c | 344 opts->mode = option & S_IALLUGO; in tracefs_parse_options() 373 tmp_mode = READ_ONCE(inode->i_mode) & ~S_IALLUGO; in tracefs_apply_options()
|
/openbmc/linux/fs/ramfs/ |
H A D | inode.c | 224 fsi->mount_opts.mode = result.uint_32 & S_IALLUGO; in ramfs_parse_param()
|
/openbmc/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | inode.c | 601 if ((inode->i_mode & S_IALLUGO) != 0775) in spufs_show_options() 635 ctx->mode = result.uint_32 & S_IALLUGO; in spufs_parse_param()
|
/openbmc/linux/fs/nfsd/ |
H A D | vfs.c | 377 iap->ia_mode &= S_IALLUGO; in nfsd_sanitize_attrs() 378 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_sanitize_attrs() 1430 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create_locked()
|
/openbmc/linux/fs/smb/client/ |
H A D | fs_context.c | 1581 (S_IALLUGO & ~(S_ISUID | S_IXGRP))) in smb3_fs_context_parse_param() 1582 ctx->file_mode = S_IALLUGO; in smb3_fs_context_parse_param()
|
/openbmc/linux/fs/proc/ |
H A D | generic.c | 547 if ((mode & S_IALLUGO) == 0) in proc_create_reg()
|
/openbmc/linux/fs/hfsplus/ |
H A D | inode.c | 203 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms()
|