Searched refs:f_cred (Results 1 – 9 of 9) sorted by relevance
486 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()
473 if (security_capable(file->f_cred, ns, cap, CAP_OPT_NONE) == 0) in file_ns_capable()
878 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()
828 iter->show_value = kallsyms_show_value(file->f_cred); in kallsyms_open()
2565 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()
1537 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()
3529 const struct cred *f_cred) in bpf_insn_prepare_dump() argument3555 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()
518 cred = of->file->f_cred; in __cgroup1_procs_write()
5029 saved_cred = override_creds(of->file->f_cred); in __cgroup_procs_write()