Home
last modified time | relevance | path

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

12

/linux-3.4.99/security/tomoyo/
Dtomoyo.c193 mode & S_IALLUGO); in tomoyo_path_mkdir()
241 const unsigned int perm = mode & S_IALLUGO; in tomoyo_path_mknod()
364 mode & S_IALLUGO); in tomoyo_path_chmod()
Daudit.c195 stat->ino, stat->mode & S_IALLUGO); in tomoyo_print_header()
203 mode & S_IALLUGO, tomoyo_filetype(mode)); in tomoyo_print_header()
Dcondition.c1011 value = stat->mode & S_IALLUGO; in tomoyo_condition()
/linux-3.4.99/fs/debugfs/
Dinode.c111 mode = (mode & S_IALLUGO) | S_IFLNK; in debugfs_link()
120 mode = (mode & S_IALLUGO) | S_IFREG; in debugfs_create()
184 opts->mode = option & S_IALLUGO; in debugfs_parse_options()
202 inode->i_mode &= ~S_IALLUGO; in debugfs_apply_options()
/linux-3.4.99/include/linux/
Dstat.h51 #define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO) macro
/linux-3.4.99/fs/proc/
Dgeneric.c709 if ((mode & S_IALLUGO) == 0) in create_proc_entry()
715 if ((mode & S_IALLUGO) == 0) in create_proc_entry()
740 if ((mode & S_IALLUGO) == 0) in proc_create_data()
746 if ((mode & S_IALLUGO) == 0) in proc_create_data()
/linux-3.4.99/fs/9p/
Dacl.c339 iattr.ia_mode = ((mode & S_IALLUGO) | in v9fs_xattr_set_acl()
340 (inode->i_mode & ~S_IALLUGO)); in v9fs_xattr_set_acl()
Dvfs_inode_dotl.c650 mode = stat->st_mode & S_IALLUGO; in v9fs_stat2inode_dotl()
651 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode_dotl()
Dvfs_inode.c104 res = mode & S_IALLUGO; in p9mode2perm()
1188 mode |= inode->i_mode & ~S_IALLUGO; in v9fs_stat2inode()
/linux-3.4.99/fs/sysfs/
Dfile.c529 umode_t mode = (amode & S_IALLUGO) | S_IFREG; in sysfs_add_file_mode()
645 newattrs.ia_mode = (mode & S_IALLUGO) | (sd->s_mode & ~S_IALLUGO); in sysfs_chmod_file()
/linux-3.4.99/fs/nfs/
Dinode.c494 int mode = attr->ia_mode & S_IALLUGO; in nfs_setattr_update_inode()
495 mode |= inode->i_mode & ~S_IALLUGO; in nfs_setattr_update_inode()
975 … ((fattr->valid & NFS_ATTR_FATTR_MODE) && (inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) in nfs_check_inode_attributes()
1394 if ((inode->i_mode & S_IALLUGO) != (fattr->mode & S_IALLUGO)) { in nfs_update_inode()
1396 newmode |= fattr->mode & S_IALLUGO; in nfs_update_inode()
Dproc.c134 sattr->ia_mode &= S_IALLUGO; in nfs_proc_setattr()
/linux-3.4.99/security/
Dinode.c93 mode = (mode & S_IALLUGO) | S_IFREG; in securityfs_create_file()
/linux-3.4.99/fs/devpts/
Dinode.c199 opts->mode = option & S_IALLUGO; in parse_mount_options()
205 opts->ptmxmode = option & S_IALLUGO; in parse_mount_options()
/linux-3.4.99/fs/ramfs/
Dinode.c195 opts->mode = option & S_IALLUGO; in ramfs_parse_options()
/linux-3.4.99/fs/configfs/
Dfile.c320 umode_t mode = (attr->ca_mode & S_IALLUGO) | S_IFREG; in configfs_add_file()
Ddir.c443 error = configfs_create(dentry, (attr->ca_mode & S_IALLUGO) | S_IFREG, in configfs_attach_attr()
/linux-3.4.99/fs/
Dopen.c462 newattrs.ia_mode = (mode & S_IALLUGO) | (inode->i_mode & ~S_IALLUGO); in chmod_common()
886 op->mode = (mode & S_IALLUGO) | S_IFREG; in build_open_flags()
/linux-3.4.99/fs/afs/
Dfsclient.c80 status->mode &= S_IALLUGO; in xdr_decode_AFSFetchStatus()
96 mode &= ~S_IALLUGO; in xdr_decode_AFSFetchStatus()
194 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_AFS_StoreStatus()
704 *bp++ = htonl(mode & S_IALLUGO); /* unix mode */ in afs_fs_create()
/linux-3.4.99/fs/ncpfs/
Dinode.c335 tmp = server->m.file_mode & S_IALLUGO; in ncp_show_options()
338 tmp = server->m.dir_mode & S_IALLUGO; in ncp_show_options()
/linux-3.4.99/fs/nfsd/
Dvfs.c344 iap->ia_mode &= S_IALLUGO; in nfsd_sanitize_attrs()
345 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_sanitize_attrs()
1348 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create()
Dnfs4xdr.c311 iattr->ia_mode &= (S_IFMT | S_IALLUGO); in nfsd4_decode_fattr()
2320 WRITE32(stat.mode & S_IALLUGO); in nfsd4_encode_fattr()
/linux-3.4.99/drivers/usb/core/
Dinode.c330 mode = (mode & S_IALLUGO) | S_IFREG; in usbfs_create()
/linux-3.4.99/fs/hfsplus/
Dinode.c245 mode = mode ? (mode & S_IALLUGO) : (S_IRWXUGO & ~(sbi->umask)); in hfsplus_get_perms()
/linux-3.4.99/fs/cifs/
Dconnect.c1357 (S_IALLUGO & ~(S_ISUID | S_IXGRP))) in cifs_parse_mount_options()
1358 vol->file_mode = S_IALLUGO; in cifs_parse_mount_options()

12