Home
last modified time | relevance | path

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

/kernel/
Dacct.c505 orig_cred = override_creds(file->f_cred); in do_acct_process()
516 ac.ac_uid = from_kuid_munged(file->f_cred->user_ns, orig_cred->uid); in do_acct_process()
517 ac.ac_gid = from_kgid_munged(file->f_cred->user_ns, orig_cred->gid); in do_acct_process()
Dcapability.c474 if (security_capable(file->f_cred, ns, cap, CAP_OPT_NONE) == 0) in file_ns_capable()
Duser_namespace.c883 const struct user_namespace *file_ns = file->f_cred->user_ns; in verify_root_map()
1164 const struct cred *cred = file->f_cred; in new_idmap_permitted()
Dkallsyms.c1013 iter->show_value = kallsyms_show_value(file->f_cred); in kallsyms_open()
Dkprobes.c2777 if (!kallsyms_show_value(pi->file->f_cred)) in report_probe()
2869 if (!kallsyms_show_value(m->file->f_cred)) in kprobe_blacklist_seq_show()
/kernel/module/
Dprocfs.c127 m->private = kallsyms_show_value(file->f_cred) ? NULL : (void *)8ul; in modules_open()
Dsysfs.c55 kallsyms_show_value(file->f_cred) in module_sect_read()
/kernel/bpf/
Dsyscall.c3831 const struct cred *f_cred) in bpf_insn_prepare_dump() argument
3857 if (!bpf_dump_raw_ok(f_cred)) in bpf_insn_prepare_dump()
3991 if (prog->blinded && !bpf_dump_raw_ok(file->f_cred)) { in bpf_prog_get_info_by_fd()
3995 insns_sanitized = bpf_insn_prepare_dump(prog, file->f_cred); in bpf_prog_get_info_by_fd()
4029 if (bpf_dump_raw_ok(file->f_cred)) { in bpf_prog_get_info_by_fd()
4064 if (bpf_dump_raw_ok(file->f_cred)) { in bpf_prog_get_info_by_fd()
4095 if (bpf_dump_raw_ok(file->f_cred)) { in bpf_prog_get_info_by_fd()
4155 if (bpf_dump_raw_ok(file->f_cred)) { in bpf_prog_get_info_by_fd()
/kernel/cgroup/
Dcgroup-v1.c513 cred = of->file->f_cred; in __cgroup1_procs_write()
Dcgroup.c5186 saved_cred = override_creds(of->file->f_cred); in __cgroup_procs_write()