/linux-master/fs/ |
H A D | attr.c | 207 attr->ia_mode &= ~S_ISGID; 315 umode_t mode = attr->ia_mode; 413 if (is_sxid(attr->ia_mode)) 451 attr->ia_mode = (inode->i_mode & ~S_ISUID); 458 attr->ia_mode = inode->i_mode; 460 attr->ia_mode &= ~S_ISGID;
|
/linux-master/fs/orangefs/ |
H A D | acl.c | 140 &iattr.ia_mode, &acl); 148 if (inode->i_mode != iattr.ia_mode)
|
H A D | inode.c | 772 if (iattr->ia_mode & (S_ISVTX)) { 779 iattr->ia_mode -= S_ISVTX; 787 if (iattr->ia_mode & (S_ISUID)) { 1154 .ia_mode = mode,
|
/linux-master/fs/configfs/ |
H A D | inode.c | 54 sd_iattr->ia_mode = sd->s_mode; 78 umode_t mode = iattr->ia_mode; 82 sd_iattr->ia_mode = sd->s_mode = mode; 96 inode->i_mode = iattr->ia_mode;
|
/linux-master/fs/hostfs/ |
H A D | hostfs.h | 37 * is on, and remove the appropriate bits from attr->ia_mode (attr is a 47 unsigned short ia_mode; member in struct:hostfs_iattr
|
H A D | hostfs_user.c | 203 if (fchmod(fd, attrs->ia_mode) != 0) 205 } else if (chmod(file, attrs->ia_mode) != 0) {
|
/linux-master/fs/adfs/ |
H A D | inode.c | 136 umode_t ia_mode) 151 mode = ia_mode & asb->s_owner_mask; 157 mode = ia_mode & asb->s_other_mask; 342 ADFS_I(inode)->attr = adfs_mode2atts(sb, inode, attr->ia_mode); 135 adfs_mode2atts(struct super_block *sb, struct inode *inode, umode_t ia_mode) argument
|
/linux-master/fs/coda/ |
H A D | coda_linux.c | 171 mode = iattr->ia_mode; 187 vattr->va_mode = iattr->ia_mode;
|
/linux-master/fs/ceph/ |
H A D | acl.c | 143 newattrs.ia_mode = new_mode; 154 newattrs.ia_mode = old_mode;
|
/linux-master/fs/fat/ |
H A D | file.c | 69 ia.ia_mode = fat_make_mode(sbi, attr, S_IRWXUGO); 71 ia.ia_mode = fat_make_mode(sbi, attr, 428 * (attr->ia_mode & ~FAT_VALID_MODE) 527 (attr->ia_mode & ~FAT_VALID_MODE))) 541 if (fat_sanitize_mode(sbi, inode, &attr->ia_mode) < 0)
|
/linux-master/fs/exfat/ |
H A D | file.c | 330 (attr->ia_mode & ~(S_IFREG | S_IFLNK | S_IFDIR | 0777)))) { 340 if (exfat_sanitize_mode(sbi, inode, &attr->ia_mode) < 0) 416 ia.ia_mode = exfat_make_mode(sbi, attr, 0777); 418 ia.ia_mode = exfat_make_mode(sbi, attr, 0666 | (inode->i_mode & 0111));
|
/linux-master/fs/hfs/ |
H A D | inode.c | 629 (attr->ia_mode != inode->i_mode)) || 630 (attr->ia_mode & ~HFS_VALID_MODE_BITS)))) { 636 if (attr->ia_mode & S_IWUSR) 637 attr->ia_mode = inode->i_mode | S_IWUGO; 639 attr->ia_mode = inode->i_mode & ~S_IWUGO; 640 attr->ia_mode &= S_ISDIR(inode->i_mode) ? ~hsb->s_dir_umask: ~hsb->s_file_umask;
|
/linux-master/fs/nfsd/ |
H A D | vfs.c | 393 iap->ia_mode &= S_IALLUGO; 394 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); 403 iap->ia_mode &= ~S_ISUID; 404 if (iap->ia_mode & S_IXGRP) 405 iap->ia_mode &= ~S_ISGID; 1483 iap->ia_mode = 0; 1484 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; 1487 iap->ia_mode &= ~current_umask(); 1493 iap->ia_mode, tru [all...] |
H A D | nfsproc.c | 313 type = attr->ia_mode & S_IFMT; 314 mode = attr->ia_mode & ~S_IFMT; 353 attr->ia_mode = mode;
|
H A D | nfs3proc.c | 242 iap->ia_mode = 0; 311 iap->ia_mode &= ~current_umask(); 316 host_err = vfs_create(&nop_mnt_idmap, inode, child, iap->ia_mode, true);
|
/linux-master/drivers/base/ |
H A D | devtmpfs.c | 224 newattrs.ia_mode = mode; 333 newattrs.ia_mode = stat.mode & ~0777;
|
/linux-master/fs/jffs2/ |
H A D | acl.c | 252 attr.ia_mode = mode;
|
/linux-master/security/integrity/evm/ |
H A D | evm_secfs.c | 227 newattrs.ia_mode = S_IFREG | 0440;
|
/linux-master/fs/udf/ |
H A D | file.c | 241 udf_update_extra_perms(inode, attr->ia_mode);
|
/linux-master/fs/nfs/ |
H A D | proc.c | 141 /* Mask out the non-modebit related stuff from attr->ia_mode */ 142 sattr->ia_mode &= S_IALLUGO; 282 mode = sattr->ia_mode; 284 sattr->ia_mode = (mode & ~S_IFMT) | S_IFCHR; 301 sattr->ia_mode = mode;
|
H A D | nfs3proc.c | 365 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); 596 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); 728 status = posix_acl_create(dir, &sattr->ia_mode, &default_acl, &acl); 739 switch (sattr->ia_mode & S_IFMT) {
|
/linux-master/fs/vboxsf/ |
H A D | utils.c | 283 #define mode_set(r) ((iattr->ia_mode & (S_##r)) ? SHFL_UNIX_##r : 0) 301 if (iattr->ia_mode & S_IFDIR)
|
/linux-master/fs/9p/ |
H A D | acl.c | 210 &iattr.ia_mode,
|
/linux-master/fs/ocfs2/ |
H A D | ocfs2_trace.h | 1408 unsigned int ia_valid, unsigned int ia_mode, 1411 ia_valid, ia_mode, ia_uid, ia_gid), 1419 __field(unsigned int, ia_mode) 1430 __entry->ia_mode = ia_mode; 1436 __get_str(d_name), __entry->ia_valid, __entry->ia_mode,
|
/linux-master/fs/kernfs/ |
H A D | inode.c | 88 kn->mode = iattr->ia_mode;
|