Searched refs:current_uid (Results 1 – 25 of 39) sorted by relevance
12
/linux-6.6.21/security/keys/ |
D | persistent.c | 138 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/ |
D | fault.c | 201 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/ |
D | integrity_audit.c | 52 from_kuid(&init_user_ns, current_uid()), in integrity_audit_message()
|
/linux-6.6.21/fs/quota/ |
D | netlink.c | 81 from_kuid_munged(&init_user_ns, current_uid()), in quota_send_warning()
|
/linux-6.6.21/fs/hfsplus/ |
D | options.c | 57 opts->uid = current_uid(); in hfsplus_fill_defaults()
|
/linux-6.6.21/include/net/ |
D | scm.h | 86 scm_set_cred(scm, task_tgid(current), current_uid(), current_gid()); in scm_send()
|
/linux-6.6.21/include/linux/ |
D | cred.h | 330 #define current_uid() (current_cred_xxx(uid)) macro
|
/linux-6.6.21/kernel/ |
D | uid16.c | 205 return high2lowuid(from_kuid_munged(current_user_ns(), current_uid())); in SYSCALL_DEFINE0()
|
/linux-6.6.21/fs/omfs/ |
D | inode.c | 300 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/ |
D | main.c | 546 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/ |
D | inode.c | 143 root->i_uid = current_uid(); in parse_options()
|
D | waitq.c | 396 wq->uid = current_uid(); in autofs_wait()
|
/linux-6.6.21/arch/x86/mm/ |
D | fault.c | 525 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/ |
D | vboxguest_linux.c | 38 if (from_kuid(current_user_ns(), current_uid()) == 0) in vbg_misc_device_requestor()
|
/linux-6.6.21/security/tomoyo/ |
D | audit.c | 171 from_kuid(&init_user_ns, current_uid()), in tomoyo_print_header()
|
/linux-6.6.21/fs/hfs/ |
D | super.c | 230 hsb->s_uid = current_uid(); in parse_options()
|
/linux-6.6.21/arch/ia64/kernel/ |
D | mca_drv.c | 162 from_kuid(&init_user_ns, current_uid()), in mca_handler_bh()
|
/linux-6.6.21/arch/s390/hypfs/ |
D | inode.c | 316 sbi->uid = current_uid(); in hypfs_init_fs_context()
|
/linux-6.6.21/fs/affs/ |
D | super.c | 198 *uid = current_uid(); in parse_options()
|
/linux-6.6.21/fs/smb/client/ |
D | fs_context.c | 1586 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/ |
D | super.c | 566 uid = current_uid(); in hpfs_fill_super()
|
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/ |
D | inode.c | 750 ctx->uid = current_uid(); in spufs_init_fs_context()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | file_ops.c | 858 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/ |
D | vm86_32.c | 230 from_kuid_munged(&init_user_ns, current_uid())); in do_sys_vm86()
|
/linux-6.6.21/fs/exfat/ |
D | super.c | 754 sbi->options.fs_uid = current_uid(); in exfat_init_fs_context()
|
12