Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/security/tomoyo/
H A 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()
H A Daudit.c203 stat->mode & S_IALLUGO); in tomoyo_print_header()
213 mode & S_IALLUGO, tomoyo_filetype(mode)); in tomoyo_print_header()
/OK3568_Linux_fs/kernel/include/linux/
H A Dstat.h10 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
/OK3568_Linux_fs/kernel/kernel/bpf/
H A 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()
/OK3568_Linux_fs/kernel/fs/afs/
H A 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()
H A 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()
H A 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()
293 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_YFS_StoreStatus()
/OK3568_Linux_fs/kernel/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()
660 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl()
661 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl()
H A Dvfs_inode.c89 res = mode & S_IALLUGO; in p9mode2perm()
1148 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode()
/OK3568_Linux_fs/kernel/fs/nfs/
H A Dinode.c720 int mode = attr->ia_mode & S_IALLUGO; in nfs_setattr_update_inode()
721 mode |= inode->i_mode & ~S_IALLUGO; in nfs_setattr_update_inode()
1487 … ((fattr->valid & NFS_ATTR_FATTR_MODE) && (inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) in nfs_check_inode_attributes()
2002 if ((inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) { in nfs_update_inode()
2004 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode()
H A Dproc.c141 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr()
/OK3568_Linux_fs/kernel/fs/configfs/
H A 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()
/OK3568_Linux_fs/kernel/fs/tracefs/
H A Dinode.c272 opts->mode = option & S_IALLUGO; in tracefs_parse_options()
298 inode->i_mode &= ~S_IALLUGO; in tracefs_apply_options()
/OK3568_Linux_fs/kernel/fs/devpts/
H A Dinode.c298 opts->mode = option & S_IALLUGO; in parse_mount_options()
303 opts->ptmxmode = option & S_IALLUGO; in parse_mount_options()
/OK3568_Linux_fs/kernel/fs/
H A Dopen.c582 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()
993 .mode = mode & S_IALLUGO, in build_open_how()
1038 if (how->mode & ~S_IALLUGO) in build_open_flags()
/OK3568_Linux_fs/kernel/security/
H A Dinode.c117 mode = (mode & S_IALLUGO) | S_IFREG; in securityfs_create_dentry()
/OK3568_Linux_fs/kernel/fs/sysfs/
H A Dfile.c403 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file()
/OK3568_Linux_fs/kernel/fs/debugfs/
H A Dinode.c137 opts->mode = option & S_IALLUGO; in debugfs_parse_options()
155 inode->i_mode &= ~S_IALLUGO; in debugfs_apply_options()
/OK3568_Linux_fs/kernel/fs/ramfs/
H A Dinode.c210 fsi->mount_opts.mode = result.uint_32 & S_IALLUGO; in ramfs_parse_param()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/cell/spufs/
H A 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()
/OK3568_Linux_fs/kernel/fs/incfs/
H A Dpseudo_files.c198 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod()
/OK3568_Linux_fs/kernel/fs/nfsd/
H A Dvfs.c311 iap->ia_mode &= S_IALLUGO; in nfsd_sanitize_attrs()
312 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_sanitize_attrs()
1254 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create_locked()
/OK3568_Linux_fs/kernel/fs/hfsplus/
H A Dinode.c198 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms()
/OK3568_Linux_fs/kernel/fs/proc/
H A Dgeneric.c553 if ((mode & S_IALLUGO) == 0) in proc_create_reg()

12