| /linux/fs/ |
| H A D | attr.c | 215 attr->ia_mode &= ~S_ISGID; in setattr_prepare() 350 umode_t mode = attr->ia_mode; in setattr_copy() 461 if (is_sxid(attr->ia_mode)) in notify_change() 502 attr->ia_mode = (inode->i_mode & ~S_ISUID); in notify_change() 509 attr->ia_mode = inode->i_mode; in notify_change() 511 attr->ia_mode &= ~S_ISGID; in notify_change()
|
| /linux/fs/coda/ |
| H A D | coda_linux.c | 171 mode = iattr->ia_mode; in coda_iattr_to_vattr() 187 vattr->va_mode = iattr->ia_mode; in coda_iattr_to_vattr()
|
| /linux/fs/nfsd/ |
| H A D | vfs.c | 400 iap->ia_mode &= S_IALLUGO; in nfsd_sanitize_attrs() 401 iap->ia_mode |= (inode->i_mode & ~S_IALLUGO); in nfsd_sanitize_attrs() 410 iap->ia_mode &= ~S_ISUID; in nfsd_sanitize_attrs() 411 if (iap->ia_mode & S_IXGRP) in nfsd_sanitize_attrs() 412 iap->ia_mode &= ~S_ISGID; in nfsd_sanitize_attrs() 1819 iap->ia_mode = 0; in nfsd_create_locked() 1820 iap->ia_mode = (iap->ia_mode & S_IALLUGO) | type; in nfsd_create_locked() 1823 iap->ia_mode &= ~current_umask(); in nfsd_create_locked() 1828 host_err = vfs_create(&nop_mnt_idmap, dchild, iap->ia_mode, NULL); in nfsd_create_locked() 1833 dchild = vfs_mkdir(&nop_mnt_idmap, dirp, dchild, iap->ia_mode, NULL); in nfsd_create_locked() [all …]
|
| H A D | nfsproc.c | 345 type = attr->ia_mode & S_IFMT; in nfsd_proc_create() 346 mode = attr->ia_mode & ~S_IFMT; in nfsd_proc_create() 386 attr->ia_mode = mode; in nfsd_proc_create()
|
| H A D | nfs3proc.c | 297 iap->ia_mode = 0; in nfsd3_create_file() 365 iap->ia_mode &= ~current_umask(); in nfsd3_create_file() 370 host_err = vfs_create(&nop_mnt_idmap, child, iap->ia_mode, NULL); in nfsd3_create_file()
|
| H A D | nfsxdr.c | 161 iap->ia_mode = tmp1; in svcxdr_decode_sattr()
|
| H A D | trace.h | 2501 __field(umode_t, ia_mode) 2512 __entry->ia_mode = iap->ia_mode; 2517 __entry->ia_size, __entry->ia_mode, __entry->ia_uid, __entry->ia_gid,
|
| H A D | nfs3xdr.c | 225 iap->ia_mode = mode; in svcxdr_decode_sattr3()
|
| H A D | nfs4proc.c | 230 filp = dentry_create(&path, oflags, open->op_iattr.ia_mode, in nfsd4_vfs_create() 266 iap->ia_mode = 0; in nfsd4_create_file() 378 iap->ia_mode &= ~current_umask(); in nfsd4_create_file()
|
| H A D | nfs4xdr.c | 538 iattr->ia_mode = mode; in nfsd4_decode_fattr4() 539 iattr->ia_mode &= (S_IFMT | S_IALLUGO); in nfsd4_decode_fattr4() 631 iattr->ia_mode = mode & (S_IFMT | S_IALLUGO); in nfsd4_decode_fattr4()
|
| /linux/fs/hostfs/ |
| H A D | hostfs.h | 15 unsigned short ia_mode; member
|
| /linux/fs/orangefs/ |
| H A D | inode.c | 762 if (iattr->ia_mode & (S_ISVTX)) { in __orangefs_setattr() 769 iattr->ia_mode -= S_ISVTX; in __orangefs_setattr() 777 if (iattr->ia_mode & (S_ISUID)) { in __orangefs_setattr() 1151 .ia_mode = mode, in orangefs_new_inode()
|
| /linux/security/integrity/evm/ |
| H A D | evm_secfs.c | 232 newattrs.ia_mode = S_IFREG | 0440; in evm_write_xattrs()
|
| H A D | evm_main.c | 944 (!(ia_valid & ATTR_MODE) || attr->ia_mode == inode->i_mode)) in evm_inode_setattr()
|
| /linux/fs/jffs2/ |
| H A D | acl.c | 251 attr.ia_mode = mode; in jffs2_set_acl()
|
| /linux/fs/resctrl/ |
| H A D | rdtgroup.c | 2347 iattr.ia_mode = S_IFDIR; in rdtgroup_kn_mode_restrict() 2350 iattr.ia_mode = S_IFREG; in rdtgroup_kn_mode_restrict() 2353 iattr.ia_mode = S_IFLNK; in rdtgroup_kn_mode_restrict() 2386 iattr.ia_mode = rft->mode & mask; in rdtgroup_kn_mode_restore() 2397 iattr.ia_mode |= parent->mode; in rdtgroup_kn_mode_restore() 2400 iattr.ia_mode |= S_IFDIR; in rdtgroup_kn_mode_restore() 2403 iattr.ia_mode |= S_IFREG; in rdtgroup_kn_mode_restore() 2406 iattr.ia_mode |= S_IFLNK; in rdtgroup_kn_mode_restore()
|
| /linux/fs/nfs/ |
| H A D | dir.c | 2152 attr.ia_mode = mode; in nfs_atomic_open() 2422 attr.ia_mode = mode; in nfs_do_create() 2460 attr.ia_mode = mode; in nfs_mknod() 2488 attr.ia_mode = mode; in nfs_mkdir() 2659 attr.ia_mode = S_IFLNK | S_IRWXUGO; in nfs_symlink()
|
| H A D | nfs2xdr.c | 344 *p++ = cpu_to_be32(attr->ia_mode); in encode_sattr()
|
| H A D | nfs4proc.c | 130 err = security_dentry_init_security(dentry, sattr->ia_mode, in nfs4_label_init_security() 4921 sattr->ia_mode &= ~current_umask(); in nfs4_proc_create() 5351 sattr->ia_mode &= ~current_umask(); in nfs4_proc_mkdir() 5427 int mode = sattr->ia_mode; in _nfs4_proc_mknod() 5471 sattr->ia_mode &= ~current_umask(); in nfs4_proc_mknod()
|
| /linux/fs/tracefs/ |
| H A D | event_inode.c | 172 (iattr->ia_mode & EVENTFS_MODE_MASK) | in update_attr()
|
| /linux/fs/overlayfs/ |
| H A D | copy_up.c | 400 .ia_mode = stat->mode, in ovl_set_attr()
|
| /linux/fs/zonefs/ |
| H A D | super.c | 555 (iattr->ia_mode & 0222)) in zonefs_inode_setattr()
|
| /linux/fs/smb/server/ |
| H A D | smbacl.c | 1697 newattrs.ia_mode = (inode->i_mode & ~0777) | (fattr.cf_mode & 0777); in set_info_sec()
|
| /linux/fs/afs/ |
| H A D | fsclient.c | 198 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_AFS_StoreStatus()
|
| H A D | yfsclient.c | 289 mode = attr->ia_mode & S_IALLUGO; in xdr_encode_YFS_StoreStatus()
|