Searched refs:current_fsuid (Results 1 – 25 of 63) sorted by relevance
123
/linux-6.6.21/fs/coda/ |
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-6.6.21/fs/orangefs/ |
D | inode.c | 350 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()
|
D | orangefs-cache.c | 143 current_fsuid()); in op_alloc()
|
D | orangefs-kernel.h | 477 sys_attr.owner = from_kuid(&init_user_ns, current_fsuid()); \
|
D | xattr.c | 114 fsuid = from_kuid(&init_user_ns, current_fsuid()); in orangefs_inode_getxattr()
|
/linux-6.6.21/fs/hpfs/ |
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-6.6.21/fs/ |
D | attr.c | 102 if (vfsuid_eq_kuid(vfsuid, current_fsuid()) && in chown_ok() 130 if (vfsuid_eq_kuid(vfsuid, current_fsuid())) { in chgrp_ok()
|
D | posix_acl.c | 392 if (vfsuid_eq_kuid(vfsuid, current_fsuid())) in posix_acl_permission() 398 if (vfsuid_eq_kuid(vfsuid, current_fsuid())) in posix_acl_permission()
|
D | remap_range.c | 432 if (vfsuid_eq_kuid(i_uid_into_vfsuid(idmap, inode), current_fsuid())) in allow_file_dedupe()
|
/linux-6.6.21/include/linux/ |
D | mnt_idmapping.h | 222 return from_vfsuid(idmap, fs_userns, VFSUIDT_INIT(current_fsuid())); in mapped_fsuid()
|
D | cred.h | 336 #define current_fsuid() (current_cred_xxx(fsuid)) macro
|
/linux-6.6.21/fs/devpts/ |
D | inode.c | 313 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/ |
D | namespace.c | 173 kuid_t uid = current_fsuid(); in fs_context_set_ids()
|
D | dir.c | 338 args.uid = current_fsuid(); 377 newinode->i_uid = current_fsuid();
|
/linux-6.6.21/fs/9p/ |
D | fid.c | 300 uid = current_fsuid(); in v9fs_fid_lookup()
|
/linux-6.6.21/security/apparmor/ |
D | file.c | 48 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/ |
D | file.c | 48 if (!uid_eq(current_fsuid(), inode->i_uid)) { in exfat_allow_set_time()
|
/linux-6.6.21/fs/crypto/ |
D | keyring.c | 184 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/ |
D | audit.c | 177 from_kuid(&init_user_ns, current_fsuid()), in tomoyo_print_header()
|
/linux-6.6.21/fs/gfs2/ |
D | inode.c | 388 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/ |
D | budget.c | 259 if (uid_eq(current_fsuid(), c->rp_uid) || capable(CAP_SYS_RESOURCE) || in can_use_rp()
|
/linux-6.6.21/fs/affs/ |
D | inode.c | 313 inode->i_uid = current_fsuid(); in affs_new_inode()
|
/linux-6.6.21/fs/ext2/ |
D | ialloc.c | 542 inode->i_uid = current_fsuid(); in ext2_new_inode()
|
/linux-6.6.21/fs/fat/ |
D | file.c | 465 current_fsuid())) { in fat_allow_set_time()
|
/linux-6.6.21/security/keys/ |
D | request_key.c | 509 user = key_user_lookup(current_fsuid()); in construct_key_and_link()
|
123