Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/tools/perf/trace/beauty/
A Dmode_t.c10 #ifndef S_IALLUGO
11 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
/linux-6.3-rc2/security/tomoyo/
A Dtomoyo.c179 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()
A Daudit.c203 stat->mode & S_IALLUGO); in tomoyo_print_header()
213 mode & S_IALLUGO, tomoyo_filetype(mode)); in tomoyo_print_header()
/linux-6.3-rc2/include/linux/
A Dstat.h10 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
/linux-6.3-rc2/kernel/bpf/
A Dinode.c378 if ((dir->i_mode & S_IALLUGO) && in bpf_lookup()
606 umode_t mode = d_inode(root)->i_mode & S_IALLUGO & ~S_ISVTX; in bpf_show_options()
670 opts->mode = result.uint_32 & S_IALLUGO; in bpf_parse_param()
758 inode->i_mode &= ~S_IALLUGO; in bpf_fill_super()
/linux-6.3-rc2/fs/9p/
A Dvfs_inode_dotl.c644 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl()
645 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl()
671 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl()
672 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl()
A Dvfs_inode.c87 res = mode & S_IALLUGO; in p9mode2perm()
1189 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode()
/linux-6.3-rc2/fs/afs/
A Dinode.c103 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()
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()
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()
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()
286 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_YFS_StoreStatus()
/linux-6.3-rc2/fs/configfs/
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-6.3-rc2/fs/tracefs/
A Dinode.c274 opts->mode = option & S_IALLUGO; in tracefs_parse_options()
300 inode->i_mode &= ~S_IALLUGO; in tracefs_apply_options()
/linux-6.3-rc2/security/
A Dinode.c117 mode = (mode & S_IALLUGO) | S_IFREG; in securityfs_create_dentry()
/linux-6.3-rc2/fs/devpts/
A Dinode.c298 opts->mode = option & S_IALLUGO; in parse_mount_options()
303 opts->ptmxmode = option & S_IALLUGO; in parse_mount_options()
/linux-6.3-rc2/fs/nfs/
A Dinode.c725 int mode = attr->ia_mode & S_IALLUGO; in nfs_setattr_update_inode()
726 mode |= inode->i_mode & ~S_IALLUGO; in nfs_setattr_update_inode()
1526 … ((fattr->valid & NFS_ATTR_FATTR_MODE) && (inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) in nfs_check_inode_attributes()
2151 if ((inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) { in nfs_update_inode()
2153 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode()
A Dproc.c142 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr()
/linux-6.3-rc2/fs/
A Dopen.c641 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()
1144 .mode = mode & S_IALLUGO, in build_open_how()
1189 if (how->mode & ~S_IALLUGO) in build_open_flags()
/linux-6.3-rc2/fs/ramfs/
A Dinode.c224 fsi->mount_opts.mode = result.uint_32 & S_IALLUGO; in ramfs_parse_param()
/linux-6.3-rc2/fs/debugfs/
A Dinode.c144 opts->mode = option & S_IALLUGO; in debugfs_parse_options()
170 inode->i_mode &= ~S_IALLUGO; in _debugfs_apply_options()
/linux-6.3-rc2/fs/sysfs/
A Dfile.c424 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file()
/linux-6.3-rc2/arch/powerpc/platforms/cell/spufs/
A Dinode.c601 if ((inode->i_mode & S_IALLUGO) != 0775) in spufs_show_options()
635 ctx->mode = result.uint_32 & S_IALLUGO; in spufs_parse_param()
/linux-6.3-rc2/fs/nfsd/
A Dvfs.c376 iap->ia_mode &= S_IALLUGO; in nfsd_sanitize_attrs()
377 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_sanitize_attrs()
1364 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create_locked()
/linux-6.3-rc2/fs/cifs/
A Dfs_context.c1353 (S_IALLUGO & ~(S_ISUID | S_IXGRP))) in smb3_fs_context_parse_param()
1354 ctx->file_mode = S_IALLUGO; in smb3_fs_context_parse_param()
/linux-6.3-rc2/fs/hfsplus/
A Dinode.c203 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms()
/linux-6.3-rc2/fs/proc/
A Dgeneric.c548 if ((mode & S_IALLUGO) == 0) in proc_create_reg()

Completed in 77 milliseconds

12