Home
last modified time | relevance | path

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

123

/linux-6.6.21/fs/coda/
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-6.6.21/fs/orangefs/
Dinode.c350 uid_eq(wr->uid, current_fsuid()) && in orangefs_write_begin()
367 wr->uid = current_fsuid(); in orangefs_write_begin()
432 wr->uid = current_fsuid(); in orangefs_invalidate_folio()
443 wr->uid = current_fsuid(); in orangefs_invalidate_folio()
663 if (uid_eq(wr->uid, current_fsuid()) && in orangefs_page_mkwrite()
682 wr->uid = current_fsuid(); in orangefs_page_mkwrite()
804 if (uid_eq(ORANGEFS_I(inode)->attr_uid, current_fsuid()) && in __orangefs_setattr()
814 ORANGEFS_I(inode)->attr_uid = current_fsuid(); in __orangefs_setattr()
Dorangefs-cache.c143 current_fsuid()); in op_alloc()
Dorangefs-kernel.h477 sys_attr.owner = from_kuid(&init_user_ns, current_fsuid()); \
Dxattr.c114 fsuid = from_kuid(&init_user_ns, current_fsuid()); in orangefs_inode_getxattr()
/linux-6.6.21/fs/hpfs/
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-6.6.21/fs/
Dattr.c102 if (vfsuid_eq_kuid(vfsuid, current_fsuid()) && in chown_ok()
130 if (vfsuid_eq_kuid(vfsuid, current_fsuid())) { in chgrp_ok()
Dposix_acl.c392 if (vfsuid_eq_kuid(vfsuid, current_fsuid())) in posix_acl_permission()
398 if (vfsuid_eq_kuid(vfsuid, current_fsuid())) in posix_acl_permission()
Dremap_range.c432 if (vfsuid_eq_kuid(i_uid_into_vfsuid(idmap, inode), current_fsuid())) in allow_file_dedupe()
/linux-6.6.21/include/linux/
Dmnt_idmapping.h222 return from_vfsuid(idmap, fs_userns, VFSUIDT_INIT(current_fsuid())); in mapped_fsuid()
Dcred.h336 #define current_fsuid() (current_cred_xxx(fsuid)) macro
/linux-6.6.21/fs/devpts/
Dinode.c313 kuid_t ptmx_uid = current_fsuid(); in mknod_ptmx()
561 inode->i_uid = opts->setuid ? opts->uid : current_fsuid(); in devpts_pty_new()
/linux-6.6.21/fs/smb/client/
Dnamespace.c173 kuid_t uid = current_fsuid(); in fs_context_set_ids()
Ddir.c338 args.uid = current_fsuid();
377 newinode->i_uid = current_fsuid();
/linux-6.6.21/fs/9p/
Dfid.c300 uid = current_fsuid(); in v9fs_fid_lookup()
/linux-6.6.21/security/apparmor/
Dfile.c48 kuid_t fsuid = ad->subj_cred ? ad->subj_cred->fsuid : current_fsuid(); in file_audit_cb()
201 if (uid_eq(current_fsuid(), cond->uid)) in aa_lookup_fperms()
/linux-6.6.21/fs/exfat/
Dfile.c48 if (!uid_eq(current_fsuid(), inode->i_uid)) { in exfat_allow_set_time()
/linux-6.6.21/fs/crypto/
Dkeyring.c184 mk_identifier, __kuid_val(current_fsuid())); in format_mk_user_description()
380 current_fsuid(), current_gid(), current_cred(), in add_master_key_user()
/linux-6.6.21/security/tomoyo/
Daudit.c177 from_kuid(&init_user_ns, current_fsuid()), in tomoyo_print_header()
/linux-6.6.21/fs/gfs2/
Dinode.c388 else if (!uid_eq(dip->i_inode.i_uid, current_fsuid())) in munge_mode_uid_gid()
392 inode->i_uid = current_fsuid(); in munge_mode_uid_gid()
1085 !uid_eq(dip->i_inode.i_uid, current_fsuid()) && in gfs2_unlink_ok()
1086 !uid_eq(ip->i_inode.i_uid, current_fsuid()) && !capable(CAP_FOWNER)) in gfs2_unlink_ok()
/linux-6.6.21/fs/ubifs/
Dbudget.c259 if (uid_eq(current_fsuid(), c->rp_uid) || capable(CAP_SYS_RESOURCE) || in can_use_rp()
/linux-6.6.21/fs/affs/
Dinode.c313 inode->i_uid = current_fsuid(); in affs_new_inode()
/linux-6.6.21/fs/ext2/
Dialloc.c542 inode->i_uid = current_fsuid(); in ext2_new_inode()
/linux-6.6.21/fs/fat/
Dfile.c465 current_fsuid())) { in fat_allow_set_time()
/linux-6.6.21/security/keys/
Drequest_key.c509 user = key_user_lookup(current_fsuid()); in construct_key_and_link()

123