Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/perf/trace/beauty/
Dmode_t.c10 #ifndef S_IALLUGO
11 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
/kernel/linux/linux-5.10/security/tomoyo/
Dtomoyo.c168 mode & S_IALLUGO); in tomoyo_path_mkdir()
218 const unsigned int perm = mode & S_IALLUGO; in tomoyo_path_mknod()
343 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()
/kernel/linux/linux-5.10/include/linux/
Dstat.h10 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
/kernel/linux/linux-5.10/kernel/bpf/
Dinode.c377 if ((dir->i_mode & S_IALLUGO) && in bpf_lookup()
605 umode_t mode = d_inode(root)->i_mode & S_IALLUGO & ~S_ISVTX; in bpf_show_options()
659 opts->mode = result.uint_32 & S_IALLUGO; in bpf_parse_param()
766 inode->i_mode &= ~S_IALLUGO; in bpf_fill_super()
/kernel/liteos_a/fs/proc/include/
Dproc_fs.h137 #define S_IALLUGO (S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO) macro
/kernel/linux/linux-5.10/fs/afs/
Dinode.c95 inode->i_mode = S_IFREG | (status->mode & S_IALLUGO); in afs_inode_init_from_status()
101 inode->i_mode = S_IFDIR | (status->mode & S_IALLUGO); in afs_inode_init_from_status()
190 mode &= ~S_IALLUGO; in afs_apply_status()
191 mode |= status->mode & S_IALLUGO; in afs_apply_status()
Dfsclient.c104 status->mode = ntohl(xdr->mode) & S_IALLUGO; in xdr_decode_AFSFetchStatus()
197 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_AFS_StoreStatus()
586 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_create_file()
639 *bp++ = htonl(op->create.mode & S_IALLUGO); /* unix mode */ in afs_fs_make_dir()
Dyfsclient.c91 x->mode = htonl(mode & S_IALLUGO); in xdr_encode_YFSStoreStatus_mode()
212 status->mode = ntohl(xdr->mode) & S_IALLUGO; in xdr_decode_YFSFetchStatus()
294 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_YFS_StoreStatus()
/kernel/linux/linux-5.10/fs/tracefs/
Dinode.c270 opts->mode = option & S_IALLUGO; in tracefs_parse_options()
288 inode->i_mode &= ~S_IALLUGO; in tracefs_apply_options()
/kernel/linux/linux-5.10/fs/configfs/
Dfile.c523 umode_t mode = (attr->ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_file()
545 umode_t mode = (bin_attr->cb_attr.ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_bin_file()
/kernel/linux/linux-5.10/fs/nfs/
Dinode.c706 int mode = attr->ia_mode & S_IALLUGO; in nfs_setattr_update_inode()
707 mode |= inode->i_mode & ~S_IALLUGO; in nfs_setattr_update_inode()
1477 … ((fattr->valid & NFS_ATTR_FATTR_MODE) && (inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) in nfs_check_inode_attributes()
1992 if ((inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) { in nfs_update_inode()
1994 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode()
Dproc.c141 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr()
/kernel/linux/linux-5.10/security/
Dinode.c117 mode = (mode & S_IALLUGO) | S_IFREG; in securityfs_create_dentry()
/kernel/linux/linux-5.10/fs/devpts/
Dinode.c298 opts->mode = option & S_IALLUGO; in parse_mount_options()
303 opts->ptmxmode = option & S_IALLUGO; in parse_mount_options()
/kernel/linux/linux-5.10/fs/
Dopen.c581 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()
982 .mode = mode & S_IALLUGO, in build_open_how()
1027 if (how->mode & ~S_IALLUGO) in build_open_flags()
/kernel/linux/linux-5.10/fs/ramfs/
Dinode.c213 fsi->mount_opts.mode = result.uint_32 & S_IALLUGO; in ramfs_parse_param()
/kernel/linux/linux-5.10/fs/sysfs/
Dfile.c403 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file()
/kernel/linux/linux-5.10/fs/debugfs/
Dinode.c140 opts->mode = option & S_IALLUGO; in debugfs_parse_options()
158 inode->i_mode &= ~S_IALLUGO; in debugfs_apply_options()
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/
Dinode.c605 if ((inode->i_mode & S_IALLUGO) != 0775) in spufs_show_options()
639 ctx->mode = result.uint_32 & S_IALLUGO; in spufs_parse_param()
/kernel/linux/linux-5.10/fs/9p/
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()
Dvfs_inode.c89 res = mode & S_IALLUGO; in p9mode2perm()
1148 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode()
/kernel/linux/linux-5.10/fs/nfsd/
Dvfs.c311 iap->ia_mode &= S_IALLUGO; in nfsd_sanitize_attrs()
312 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_sanitize_attrs()
1253 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create_locked()
/kernel/liteos_a/fs/proc/src/
Dproc_file.c230 if ((mode & S_IALLUGO) == 0) { in ProcAllocNode()
/kernel/linux/linux-5.10/fs/hfsplus/
Dinode.c198 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms()

12