Home
last modified time | relevance | path

Searched refs:current_uid (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.6.21/security/keys/
Dpersistent.c138 uid = current_uid(); in keyctl_get_persistent()
147 if (!uid_eq(uid, current_uid()) && in keyctl_get_persistent()
/linux-6.6.21/arch/powerpc/mm/
Dfault.c201 from_kuid(&init_user_ns, current_uid())); in bad_kernel_fault()
215 from_kuid(&init_user_ns, current_uid())); in bad_kernel_fault()
317 from_kuid(&init_user_ns, current_uid())); in sanity_check_fault()
/linux-6.6.21/security/integrity/
Dintegrity_audit.c52 from_kuid(&init_user_ns, current_uid()), in integrity_audit_message()
/linux-6.6.21/fs/quota/
Dnetlink.c81 from_kuid_munged(&init_user_ns, current_uid()), in quota_send_warning()
/linux-6.6.21/fs/hfsplus/
Doptions.c57 opts->uid = current_uid(); in hfsplus_fill_defaults()
/linux-6.6.21/include/net/
Dscm.h86 scm_set_cred(scm, task_tgid(current), current_uid(), current_gid()); in scm_send()
/linux-6.6.21/include/linux/
Dcred.h330 #define current_uid() (current_cred_xxx(uid)) macro
/linux-6.6.21/kernel/
Duid16.c205 return high2lowuid(from_kuid_munged(current_user_ns(), current_uid())); in SYSCALL_DEFINE0()
/linux-6.6.21/fs/omfs/
Dinode.c300 if (!uid_eq(sbi->s_uid, current_uid())) in omfs_show_options()
469 sbi->s_uid = current_uid(); in omfs_fill_super()
/linux-6.6.21/fs/ecryptfs/
Dmain.c546 if (check_ruid && !uid_eq(d_inode(path.dentry)->i_uid, current_uid())) { in ecryptfs_mount()
551 from_kuid(&init_user_ns, current_uid())); in ecryptfs_mount()
/linux-6.6.21/fs/autofs/
Dinode.c143 root->i_uid = current_uid(); in parse_options()
Dwaitq.c396 wq->uid = current_uid(); in autofs_wait()
/linux-6.6.21/arch/x86/mm/
Dfault.c525 from_kuid(&init_user_ns, current_uid())); in show_fault_oops()
530 from_kuid(&init_user_ns, current_uid())); in show_fault_oops()
/linux-6.6.21/drivers/virt/vboxguest/
Dvboxguest_linux.c38 if (from_kuid(current_user_ns(), current_uid()) == 0) in vbg_misc_device_requestor()
/linux-6.6.21/security/tomoyo/
Daudit.c171 from_kuid(&init_user_ns, current_uid()), in tomoyo_print_header()
/linux-6.6.21/fs/hfs/
Dsuper.c230 hsb->s_uid = current_uid(); in parse_options()
/linux-6.6.21/arch/ia64/kernel/
Dmca_drv.c162 from_kuid(&init_user_ns, current_uid()), in mca_handler_bh()
/linux-6.6.21/arch/s390/hypfs/
Dinode.c316 sbi->uid = current_uid(); in hypfs_init_fs_context()
/linux-6.6.21/fs/affs/
Dsuper.c198 *uid = current_uid(); in parse_options()
/linux-6.6.21/fs/smb/client/
Dfs_context.c1586 ctx->cred_uid = current_uid(); in smb3_init_fs_context()
1587 ctx->linux_uid = current_uid(); in smb3_init_fs_context()
/linux-6.6.21/fs/hpfs/
Dsuper.c566 uid = current_uid(); in hpfs_fill_super()
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/
Dinode.c750 ctx->uid = current_uid(); in spufs_init_fs_context()
/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dfile_ops.c858 uctxt->jkey != generate_jkey(current_uid()) || in match_ctxt()
1001 uctxt->jkey = generate_jkey(current_uid()); in allocate_ctxt()
/linux-6.6.21/arch/x86/kernel/
Dvm86_32.c230 from_kuid_munged(&init_user_ns, current_uid())); in do_sys_vm86()
/linux-6.6.21/fs/exfat/
Dsuper.c754 sbi->options.fs_uid = current_uid(); in exfat_init_fs_context()

12