Home
last modified time | relevance | path

Searched refs:S_IALLUGO (Results 1 – 25 of 27) 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.c202 stat->ino, stat->mode & S_IALLUGO); in tomoyo_print_header()
211 mode & S_IALLUGO, tomoyo_filetype(mode)); in tomoyo_print_header()
H A Dcondition.c1037 value = stat->mode & S_IALLUGO; in tomoyo_condition()
/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()
663 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl()
664 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl()
H A Dvfs_inode.c1147 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode()
/linux/kernel/bpf/
H A Dinode.c420 if ((dir->i_mode & S_IALLUGO) && in bpf_iter_link_pin_kernel()
781 umode_t mode = inode->i_mode & S_IALLUGO & ~S_ISVTX;
1049 opts->mode = result.uint_32 & S_IALLUGO; in bpf_init_fs_context()
1220 inode->i_mode &= ~S_IALLUGO;
/linux/fs/afs/
H A Dinode.c98 inode->i_mode = S_IFREG | (status->mode & S_IALLUGO); in afs_inode_init_from_status()
105 inode->i_mode = S_IFDIR | (status->mode & S_IALLUGO); in afs_inode_init_from_status()
202 mode &= ~S_IALLUGO; in afs_apply_status()
203 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.c450 umode_t mode = (attr->ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_file()
472 umode_t mode = (bin_attr->cb_attr.ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_bin_file()
H A Ddir.c465 umode_t mode = (attr->ca_mode & S_IALLUGO) | S_IFREG; in configfs_lookup()
/linux/security/
H A Dinode.c120 mode = (mode & S_IALLUGO) | S_IFREG; in securityfs_create_dentry()
/linux/fs/nfs/
H A Dinode.c865 int mode = attr->ia_mode & S_IALLUGO; in nfs_setattr_update_inode()
866 mode |= inode->i_mode & ~S_IALLUGO; in nfs_setattr_update_inode()
1723 if ((fattr->valid & NFS_ATTR_FATTR_MODE) && (inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) in nfs_check_inode_attributes()
2437 if ((inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) { in nfs_update_inode()
2439 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode()
H A Dnfs3xdr.c562 *p++ = cpu_to_be32(attr->ia_mode & S_IALLUGO); in encode_sattr3()
/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.c446 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file()
/linux/fs/tracefs/
H A Dinode.c297 opts->mode = result.uint_32 & S_IALLUGO; in tracefs_parse_param()
325 tmp_mode = READ_ONCE(inode->i_mode) & ~S_IALLUGO; in tracefs_apply_options()
/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/smb/client/
H A Dfs_context.c1795 (S_IALLUGO & ~(S_ISUID | S_IXGRP))) in smb3_fs_context_parse_param()
1796 ctx->file_mode = S_IALLUGO; in smb3_fs_context_parse_param()
/linux/fs/kernfs/
H A Dfile.c1050 kn = kernfs_new_node(parent, name, (mode & S_IALLUGO) | S_IFREG, in __kernfs_create_file()
/linux/fs/
H A Dnamei.c4195 mode = vfs_prepare_mode(idmap, dir, mode, S_IALLUGO, S_IFREG); in vfs_create()
4218 mode &= S_IALLUGO; in vfs_mkobj()
5042 mode = vfs_prepare_mode(idmap, dir_inode, mode, S_IALLUGO, S_IFREG); in dentry_create()
/linux/fs/nfsd/
H A Dnfs4xdr.c528 iattr->ia_mode &= (S_IFMT | S_IALLUGO); in nfsd4_decode_fattr4()
620 iattr->ia_mode = mode & (S_IFMT | S_IALLUGO); in nfsd4_decode_fattr4()
3460 return nfsd4_encode_mode4(xdr, args->stat.mode & S_IALLUGO); in nfsd4_encode_fattr4_space_avail()

12