Home
last modified time | relevance | path

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

/linux-4.4.14/security/tomoyo/
Dtomoyo.c186 mode & S_IALLUGO); in tomoyo_path_mkdir()
234 const unsigned int perm = mode & S_IALLUGO; in tomoyo_path_mknod()
357 mode & S_IALLUGO); in tomoyo_path_chmod()
Daudit.c200 stat->mode & S_IALLUGO); in tomoyo_print_header()
210 mode & S_IALLUGO, tomoyo_filetype(mode)); in tomoyo_print_header()
Dcondition.c1011 value = stat->mode & S_IALLUGO; in tomoyo_condition()
/linux-4.4.14/include/linux/
Dstat.h9 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dobdo.c93 dst->o_mode = (dst->o_mode & S_IALLUGO) | in obdo_from_inode()
99 (src->i_mode & S_IALLUGO); in obdo_from_inode()
/linux-4.4.14/fs/9p/
Dacl.c302 iattr.ia_mode = ((mode & S_IALLUGO) | in v9fs_xattr_set_acl()
303 (inode->i_mode & ~S_IALLUGO)); in v9fs_xattr_set_acl()
Dvfs_inode_dotl.c629 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl()
630 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl()
Dvfs_inode.c104 res = mode & S_IALLUGO; in p9mode2perm()
1196 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode()
/linux-4.4.14/security/
Dinode.c88 mode = (mode & S_IALLUGO) | S_IFREG; in securityfs_create_file()
/linux-4.4.14/fs/sysfs/
Dfile.c392 newattrs.ia_mode = (mode & S_IALLUGO) | (kn->mode & ~S_IALLUGO); in sysfs_chmod_file()
/linux-4.4.14/fs/nfs/
Dinode.c606 int mode = attr->ia_mode & S_IALLUGO; in nfs_setattr_update_inode()
607 mode |= inode->i_mode & ~S_IALLUGO; in nfs_setattr_update_inode()
1266 … ((fattr->valid & NFS_ATTR_FATTR_MODE) && (inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) in nfs_check_inode_attributes()
1766 if ((inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) { in nfs_update_inode()
1768 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode()
Dproc.c134 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr()
Dnfs3xdr.c589 *p++ = cpu_to_be32(attr->ia_mode & S_IALLUGO); in encode_sattr3()
Dnfs4xdr.c1105 *p++ = cpu_to_be32(iap->ia_mode & S_IALLUGO); in encode_attrs()
/linux-4.4.14/fs/tracefs/
Dinode.c201 opts->mode = option & S_IALLUGO; in tracefs_parse_options()
219 inode->i_mode &= ~S_IALLUGO; in tracefs_apply_options()
/linux-4.4.14/fs/debugfs/
Dinode.c107 opts->mode = option & S_IALLUGO; in debugfs_parse_options()
125 inode->i_mode &= ~S_IALLUGO; in debugfs_apply_options()
/linux-4.4.14/fs/ramfs/
Dinode.c193 opts->mode = option & S_IALLUGO; in ramfs_parse_options()
/linux-4.4.14/fs/devpts/
Dinode.c211 opts->mode = option & S_IALLUGO; in parse_mount_options()
217 opts->ptmxmode = option & S_IALLUGO; in parse_mount_options()
/linux-4.4.14/fs/configfs/
Dfile.c324 umode_t mode = (attr->ca_mode & S_IALLUGO) | S_IFREG; in configfs_create_file()
Ddir.c425 error = configfs_create(dentry, (attr->ca_mode & S_IALLUGO) | S_IFREG, in configfs_attach_attr()
/linux-4.4.14/fs/
Dopen.c517 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()
889 op->mode = (mode & S_IALLUGO) | S_IFREG; in build_open_flags()
Dnamei.c2659 mode &= S_IALLUGO; in vfs_create()
/linux-4.4.14/kernel/bpf/
Dinode.c352 inode->i_mode &= ~S_IALLUGO; in bpf_fill_super()
/linux-4.4.14/fs/afs/
Dfsclient.c86 status->mode &= S_IALLUGO; in xdr_decode_AFSFetchStatus()
102 mode &= ~S_IALLUGO; in xdr_decode_AFSFetchStatus()
200 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_AFS_StoreStatus()
710 *bp++ = htonl(mode & S_IALLUGO); /* unix mode */ in afs_fs_create()
/linux-4.4.14/fs/ncpfs/
Dinode.c344 tmp = server->m.file_mode & S_IALLUGO; in ncp_show_options()
347 tmp = server->m.dir_mode & S_IALLUGO; in ncp_show_options()
/linux-4.4.14/fs/nfsd/
Dvfs.c307 iap->ia_mode &= S_IALLUGO; in nfsd_sanitize_attrs()
308 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_sanitize_attrs()
1191 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create()
Dnfs3xdr.c168 *p++ = htonl((u32) (stat->mode & S_IALLUGO)); in encode_fattr3()
Dnfs4xdr.c351 iattr->ia_mode &= (S_IFMT | S_IALLUGO); in nfsd4_decode_fattr()
2627 *p++ = cpu_to_be32(stat.mode & S_IALLUGO); in nfsd4_encode_fattr()
/linux-4.4.14/fs/proc/
Dgeneric.c497 if ((mode & S_IALLUGO) == 0) in proc_create_data()
/linux-4.4.14/fs/kernfs/
Dfile.c921 kn = kernfs_new_node(parent, name, (mode & S_IALLUGO) | S_IFREG, flags); in __kernfs_create_file()
/linux-4.4.14/fs/hfsplus/
Dinode.c198 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dnamei.c621 it->it_create_mode = (mode & S_IALLUGO) | S_IFREG; in ll_atomic_open()
/linux-4.4.14/fs/cifs/
Dconnect.c1413 (S_IALLUGO & ~(S_ISUID | S_IXGRP))) in cifs_parse_mount_options()
1414 vol->file_mode = S_IALLUGO; in cifs_parse_mount_options()
Dinode.c2351 attrs->ia_mode &= ~(S_IALLUGO);