Home
last modified time | relevance | path

Searched refs:f_cred (Results 1 – 9 of 9) sorted by relevance

/kernel/
Dacct.c486 orig_cred = override_creds(file->f_cred); in do_acct_process()
497 ac.ac_uid = from_kuid_munged(file->f_cred->user_ns, orig_cred->uid); in do_acct_process()
498 ac.ac_gid = from_kgid_munged(file->f_cred->user_ns, orig_cred->gid); in do_acct_process()
Dcapability.c473 if (security_capable(file->f_cred, ns, cap, CAP_OPT_NONE) == 0) in file_ns_capable()
Duser_namespace.c878 const struct user_namespace *file_ns = file->f_cred->user_ns; in verify_root_map()
1159 const struct cred *cred = file->f_cred; in new_idmap_permitted()
Dkallsyms.c828 iter->show_value = kallsyms_show_value(file->f_cred); in kallsyms_open()
Dkprobes.c2565 if (!kallsyms_show_value(pi->file->f_cred)) in report_probe()
2657 if (!kallsyms_show_value(m->file->f_cred)) in kprobe_blacklist_seq_show()
Dmodule.c1537 kallsyms_show_value(file->f_cred) in module_sect_read()
4721 m->private = kallsyms_show_value(file->f_cred) ? NULL : (void *)8ul; in modules_open()
/kernel/bpf/
Dsyscall.c3529 const struct cred *f_cred) in bpf_insn_prepare_dump() argument
3555 if (!bpf_dump_raw_ok(f_cred)) in bpf_insn_prepare_dump()
3686 if (prog->blinded && !bpf_dump_raw_ok(file->f_cred)) { in bpf_prog_get_info_by_fd()
3690 insns_sanitized = bpf_insn_prepare_dump(prog, file->f_cred); in bpf_prog_get_info_by_fd()
3724 if (bpf_dump_raw_ok(file->f_cred)) { in bpf_prog_get_info_by_fd()
3759 if (bpf_dump_raw_ok(file->f_cred)) { in bpf_prog_get_info_by_fd()
3790 if (bpf_dump_raw_ok(file->f_cred)) { in bpf_prog_get_info_by_fd()
3847 if (bpf_dump_raw_ok(file->f_cred)) { in bpf_prog_get_info_by_fd()
/kernel/cgroup/
Dcgroup-v1.c518 cred = of->file->f_cred; in __cgroup1_procs_write()
Dcgroup.c5029 saved_cred = override_creds(of->file->f_cred); in __cgroup_procs_write()