Home
last modified time | relevance | path

Searched refs:current_fsuid (Results 1 – 25 of 65) sorted by relevance

123

/linux/fs/coda/
H A Dcache.c37 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 Dinode.c339 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 Dorangefs-cache.c143 current_fsuid()); in op_alloc()
H A Dorangefs-kernel.h467 sys_attr.owner = from_kuid(&init_user_ns, current_fsuid()); \
H A Dxattr.c114 fsuid = from_kuid(&init_user_ns, current_fsuid()); in orangefs_inode_getxattr()
/linux/fs/hpfs/
H A Dnamei.c104 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 Dattr.c98 if (vfsuid_eq_kuid(vfsuid, current_fsuid()) && in chown_ok()
126 if (vfsuid_eq_kuid(vfsuid, current_fsuid())) { in chgrp_ok()
H A Dposix_acl.c391 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 Dremap_range.c425 if (vfsuid_eq_kuid(i_uid_into_vfsuid(idmap, inode), current_fsuid())) in may_dedupe_file()
/linux/include/linux/
H A Dmnt_idmapping.h226 return from_vfsuid(idmap, fs_userns, VFSUIDT_INIT(current_fsuid())); in mapped_fsuid()
H A Dcred.h378 #define current_fsuid() (current_cred_xxx(fsuid)) macro
/linux/fs/devpts/
H A Dinode.c312 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 Dnamespace.c173 kuid_t uid = current_fsuid(); in fs_context_set_ids()
H A Ddir.c353 args.uid = current_fsuid();
392 newinode->i_uid = current_fsuid();
/linux/fs/9p/
H A Dfid.c299 uid = current_fsuid(); in v9fs_fid_lookup()
/linux/security/apparmor/
H A Dfile.c48 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 Dkeyring.c200 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 Daudit.c177 from_kuid(&init_user_ns, current_fsuid()), in tomoyo_print_header()
/linux/fs/gfs2/
H A Dinode.c390 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 Dbudget.c259 if (uid_eq(current_fsuid(), c->rp_uid) || capable(CAP_SYS_RESOURCE) || in can_use_rp()
/linux/fs/affs/
H A Dinode.c310 inode->i_uid = current_fsuid(); in affs_new_inode()
/linux/fs/fat/
H A Dfile.c465 current_fsuid())) { in fat_allow_set_time()
/linux/fs/ext2/
H A Dialloc.c542 inode->i_uid = current_fsuid(); in ext2_new_inode()
/linux/fs/bcachefs/
H A Dfs-ioctl.c450 if (!kuid_has_mapping(s_user_ns, current_fsuid()) || in bch2_ioctl_subvolume_create()
/linux/security/keys/
H A Drequest_key.c509 user = key_user_lookup(current_fsuid()); in construct_key_and_link()

123