Home
last modified time | relevance | path

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

12

/linux-6.1.9/security/keys/
Dpersistent.c138 uid = current_uid(); in keyctl_get_persistent()
147 if (!uid_eq(uid, current_uid()) && in keyctl_get_persistent()
/linux-6.1.9/arch/powerpc/mm/
Dfault.c206 from_kuid(&init_user_ns, current_uid())); in bad_kernel_fault()
220 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.1.9/security/integrity/
Dintegrity_audit.c52 from_kuid(&init_user_ns, current_uid()), in integrity_audit_message()
/linux-6.1.9/fs/quota/
Dnetlink.c81 from_kuid_munged(&init_user_ns, current_uid()), in quota_send_warning()
/linux-6.1.9/include/net/
Dscm.h85 scm_set_cred(scm, task_tgid(current), current_uid(), current_gid()); in scm_send()
/linux-6.1.9/fs/hfsplus/
Doptions.c57 opts->uid = current_uid(); in hfsplus_fill_defaults()
/linux-6.1.9/kernel/
Duid16.c205 return high2lowuid(from_kuid_munged(current_user_ns(), current_uid())); in SYSCALL_DEFINE0()
/linux-6.1.9/include/linux/
Dcred.h381 #define current_uid() (current_cred_xxx(uid)) macro
/linux-6.1.9/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.1.9/fs/omfs/
Dinode.c301 if (!uid_eq(sbi->s_uid, current_uid())) in omfs_show_options()
470 sbi->s_uid = current_uid(); in omfs_fill_super()
/linux-6.1.9/fs/autofs/
Dinode.c143 root->i_uid = current_uid(); in parse_options()
Dwaitq.c395 wq->uid = current_uid(); in autofs_wait()
/linux-6.1.9/arch/x86/mm/
Dfault.c545 from_kuid(&init_user_ns, current_uid())); in show_fault_oops()
550 from_kuid(&init_user_ns, current_uid())); in show_fault_oops()
/linux-6.1.9/security/tomoyo/
Daudit.c171 from_kuid(&init_user_ns, current_uid()), in tomoyo_print_header()
/linux-6.1.9/drivers/virt/vboxguest/
Dvboxguest_linux.c38 if (from_kuid(current_user_ns(), current_uid()) == 0) in vbg_misc_device_requestor()
/linux-6.1.9/fs/hfs/
Dsuper.c230 hsb->s_uid = current_uid(); in parse_options()
/linux-6.1.9/arch/ia64/kernel/
Dmca_drv.c162 from_kuid(&init_user_ns, current_uid()), in mca_handler_bh()
/linux-6.1.9/arch/s390/hypfs/
Dinode.c316 sbi->uid = current_uid(); in hypfs_init_fs_context()
/linux-6.1.9/fs/affs/
Dsuper.c198 *uid = current_uid(); in parse_options()
/linux-6.1.9/fs/cifs/
Dfs_context.c1511 ctx->cred_uid = current_uid(); in smb3_init_fs_context()
1512 ctx->linux_uid = current_uid(); in smb3_init_fs_context()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dfile_ops.c827 uctxt->jkey != generate_jkey(current_uid()) || in match_ctxt()
970 uctxt->jkey = generate_jkey(current_uid()); in allocate_ctxt()
/linux-6.1.9/fs/hpfs/
Dsuper.c566 uid = current_uid(); in hpfs_fill_super()
/linux-6.1.9/arch/powerpc/platforms/cell/spufs/
Dinode.c750 ctx->uid = current_uid(); in spufs_init_fs_context()
/linux-6.1.9/fs/exfat/
Dsuper.c764 sbi->options.fs_uid = current_uid(); in exfat_init_fs_context()
/linux-6.1.9/arch/x86/kernel/
Dvm86_32.c230 from_kuid_munged(&init_user_ns, current_uid())); in do_sys_vm86()

12