/linux/fs/coda/ |
H A D | cache.c | 37 if (!uid_eq(cii->c_uid, current_fsuid())) { in coda_cache_enter() 38 cii->c_uid = current_fsuid(); in coda_cache_enter() 69 uid_eq(cii->c_uid, current_fsuid()) && in coda_cache_check()
|
/linux/fs/orangefs/ |
H A D | inode.c | 339 uid_eq(wr->uid, current_fsuid()) && in orangefs_write_begin() 356 wr->uid = current_fsuid(); in orangefs_write_begin() 422 wr->uid = current_fsuid(); in orangefs_invalidate_folio() 433 wr->uid = current_fsuid(); in orangefs_invalidate_folio() 653 if (uid_eq(wr->uid, current_fsuid()) && in orangefs_page_mkwrite() 672 wr->uid = current_fsuid(); in orangefs_page_mkwrite() 794 if (uid_eq(ORANGEFS_I(inode)->attr_uid, current_fsuid()) && in __orangefs_setattr() 804 ORANGEFS_I(inode)->attr_uid = current_fsuid(); in __orangefs_setattr()
|
H A D | orangefs-cache.c | 143 current_fsuid()); in op_alloc()
|
H A D | orangefs-kernel.h | 467 sys_attr.owner = from_kuid(&init_user_ns, current_fsuid()); \
|
H A D | xattr.c | 114 fsuid = from_kuid(&init_user_ns, current_fsuid()); in orangefs_inode_getxattr()
|
/linux/fs/hpfs/ |
H A D | namei.c | 104 if (!uid_eq(result->i_uid, current_fsuid()) || in hpfs_mkdir() 107 result->i_uid = current_fsuid(); in hpfs_mkdir() 192 if (!uid_eq(result->i_uid, current_fsuid()) || in hpfs_create() 195 result->i_uid = current_fsuid(); in hpfs_create() 251 result->i_uid = current_fsuid(); in hpfs_mknod() 326 result->i_uid = current_fsuid(); in hpfs_symlink()
|
/linux/fs/ |
H A D | attr.c | 98 if (vfsuid_eq_kuid(vfsuid, current_fsuid()) && in chown_ok() 126 if (vfsuid_eq_kuid(vfsuid, current_fsuid())) { in chgrp_ok()
|
H A D | posix_acl.c | 391 if (vfsuid_eq_kuid(vfsuid, current_fsuid())) in posix_acl_permission() 397 if (vfsuid_eq_kuid(vfsuid, current_fsuid())) in posix_acl_permission()
|
H A D | remap_range.c | 425 if (vfsuid_eq_kuid(i_uid_into_vfsuid(idmap, inode), current_fsuid())) in may_dedupe_file()
|
/linux/include/linux/ |
H A D | mnt_idmapping.h | 226 return from_vfsuid(idmap, fs_userns, VFSUIDT_INIT(current_fsuid())); in mapped_fsuid()
|
H A D | cred.h | 378 #define current_fsuid() (current_cred_xxx(fsuid)) macro
|
/linux/fs/devpts/ |
H A D | inode.c | 312 kuid_t ptmx_uid = current_fsuid(); in mknod_ptmx() 560 inode->i_uid = opts->setuid ? opts->uid : current_fsuid(); in devpts_pty_new()
|
/linux/fs/smb/client/ |
H A D | namespace.c | 173 kuid_t uid = current_fsuid(); in fs_context_set_ids()
|
H A D | dir.c | 353 args.uid = current_fsuid(); 392 newinode->i_uid = current_fsuid();
|
/linux/fs/9p/ |
H A D | fid.c | 299 uid = current_fsuid(); in v9fs_fid_lookup()
|
/linux/security/apparmor/ |
H A D | file.c | 48 kuid_t fsuid = ad->subj_cred ? ad->subj_cred->fsuid : current_fsuid(); in file_audit_cb() 188 if (uid_eq(current_fsuid(), cond->uid)) in aa_lookup_fperms()
|
/linux/fs/crypto/ |
H A D | keyring.c | 200 mk_identifier, __kuid_val(current_fsuid())); in format_mk_user_description() 395 current_fsuid(), current_gid(), current_cred(), in add_master_key_user()
|
/linux/security/tomoyo/ |
H A D | audit.c | 177 from_kuid(&init_user_ns, current_fsuid()), in tomoyo_print_header()
|
/linux/fs/gfs2/ |
H A D | inode.c | 390 else if (!uid_eq(dip->i_inode.i_uid, current_fsuid())) in munge_mode_uid_gid() 394 inode->i_uid = current_fsuid(); in munge_mode_uid_gid() 1087 !uid_eq(dip->i_inode.i_uid, current_fsuid()) && in gfs2_unlink_ok() 1088 !uid_eq(ip->i_inode.i_uid, current_fsuid()) && !capable(CAP_FOWNER)) in gfs2_unlink_ok()
|
/linux/fs/ubifs/ |
H A D | budget.c | 259 if (uid_eq(current_fsuid(), c->rp_uid) || capable(CAP_SYS_RESOURCE) || in can_use_rp()
|
/linux/fs/affs/ |
H A D | inode.c | 310 inode->i_uid = current_fsuid(); in affs_new_inode()
|
/linux/fs/fat/ |
H A D | file.c | 465 current_fsuid())) { in fat_allow_set_time()
|
/linux/fs/ext2/ |
H A D | ialloc.c | 542 inode->i_uid = current_fsuid(); in ext2_new_inode()
|
/linux/fs/bcachefs/ |
H A D | fs-ioctl.c | 450 if (!kuid_has_mapping(s_user_ns, current_fsuid()) || in bch2_ioctl_subvolume_create()
|
/linux/security/keys/ |
H A D | request_key.c | 509 user = key_user_lookup(current_fsuid()); in construct_key_and_link()
|