Home
last modified time | relevance | path

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

123

/linux/fs/coda/
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/
A Dinode.c359 uid_eq(wr->uid, current_fsuid()) && in orangefs_write_begin()
376 wr->uid = current_fsuid(); in orangefs_write_begin()
443 wr->uid = current_fsuid(); in orangefs_invalidatepage()
454 wr->uid = current_fsuid(); in orangefs_invalidatepage()
676 if (uid_eq(wr->uid, current_fsuid()) && in orangefs_page_mkwrite()
695 wr->uid = current_fsuid(); in orangefs_page_mkwrite()
817 if (uid_eq(ORANGEFS_I(inode)->attr_uid, current_fsuid()) && in __orangefs_setattr()
827 ORANGEFS_I(inode)->attr_uid = current_fsuid(); in __orangefs_setattr()
A Dorangefs-cache.c143 current_fsuid()); in op_alloc()
A Dorangefs-kernel.h476 sys_attr.owner = from_kuid(&init_user_ns, current_fsuid()); \
A Dxattr.c114 fsuid = from_kuid(&init_user_ns, current_fsuid()); in orangefs_inode_getxattr()
/linux/fs/hpfs/
A Dnamei.c107 if (!uid_eq(result->i_uid, current_fsuid()) || in hpfs_mkdir()
110 result->i_uid = current_fsuid(); in hpfs_mkdir()
197 if (!uid_eq(result->i_uid, current_fsuid()) || in hpfs_create()
200 result->i_uid = current_fsuid(); in hpfs_create()
258 result->i_uid = current_fsuid(); in hpfs_mknod()
335 result->i_uid = current_fsuid(); in hpfs_symlink()
/linux/fs/
A Dattr.c38 if (uid_eq(current_fsuid(), kuid) && uid_eq(uid, inode->i_uid)) in chown_ok()
64 if (uid_eq(current_fsuid(), i_uid_into_mnt(mnt_userns, inode)) && in chgrp_ok()
A Dposix_acl.c373 if (uid_eq(uid, current_fsuid())) in posix_acl_permission()
378 if (uid_eq(uid, current_fsuid())) in posix_acl_permission()
A Dremap_range.c430 if (uid_eq(current_fsuid(), i_uid_into_mnt(mnt_userns, inode))) in allow_file_dedupe()
/linux/fs/devpts/
A Dinode.c331 kuid_t ptmx_uid = current_fsuid(); in mknod_ptmx()
579 inode->i_uid = opts->setuid ? opts->uid : current_fsuid(); in devpts_pty_new()
/linux/security/apparmor/
A Dfile.c47 kuid_t fsuid = current_fsuid(); in file_audit_cb()
225 if (uid_eq(current_fsuid(), cond->uid)) { in aa_compute_fperms()
/linux/fs/9p/
A Dfid.c282 uid = current_fsuid(); in v9fs_fid_lookup()
/linux/include/linux/
A Dcred.h387 #define current_fsuid() (current_cred_xxx(fsuid)) macro
/linux/fs/cifs/
A Ddir.c332 args.uid = current_fsuid(); in cifs_do_create()
369 newinode->i_uid = current_fsuid(); in cifs_do_create()
/linux/fs/crypto/
A Dkeyring.c196 mk_identifier, __kuid_val(current_fsuid())); in format_mk_user_description()
300 current_fsuid(), current_gid(), current_cred(), in add_master_key_user()
/linux/fs/gfs2/
A Dinode.c363 else if (!uid_eq(dip->i_inode.i_uid, current_fsuid())) in munge_mode_uid_gid()
367 inode->i_uid = current_fsuid(); in munge_mode_uid_gid()
1052 !uid_eq(dip->i_inode.i_uid, current_fsuid()) && in gfs2_unlink_ok()
1053 !uid_eq(ip->i_inode.i_uid, current_fsuid()) && !capable(CAP_FOWNER)) in gfs2_unlink_ok()
/linux/security/tomoyo/
A Daudit.c177 from_kuid(&init_user_ns, current_fsuid()), in tomoyo_print_header()
/linux/fs/exfat/
A Dfile.c48 if (!uid_eq(current_fsuid(), inode->i_uid)) { in exfat_allow_set_time()
/linux/fs/ubifs/
A Dbudget.c263 if (uid_eq(current_fsuid(), c->rp_uid) || capable(CAP_SYS_RESOURCE) || in can_use_rp()
/linux/fs/affs/
A Dinode.c313 inode->i_uid = current_fsuid(); in affs_new_inode()
/linux/fs/fat/
A Dfile.c455 if (!uid_eq(current_fsuid(), i_uid_into_mnt(mnt_userns, inode))) { in fat_allow_set_time()
/linux/fs/nfsd/
A Dvfs.c1177 if (!uid_eq(current_fsuid(), GLOBAL_ROOT_UID)) in nfsd_create_setattr()
2348 inode->i_uid, inode->i_gid, current_fsuid(), current_fsgid()); in nfsd_permission()
2391 uid_eq(inode->i_uid, current_fsuid())) in nfsd_permission()
/linux/fs/ext2/
A Dialloc.c551 inode->i_uid = current_fsuid(); in ext2_new_inode()
/linux/security/keys/
A Drequest_key.c493 user = key_user_lookup(current_fsuid()); in construct_key_and_link()
/linux/arch/powerpc/platforms/cell/spufs/
A Dinode.c87 inode->i_uid = current_fsuid(); in spufs_new_inode()

Completed in 50 milliseconds

123