Searched refs:f_cred (Results 1 – 10 of 10) sorted by relevance
505 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()
474 if (security_capable(file->f_cred, ns, cap, CAP_OPT_NONE) == 0) in file_ns_capable()
883 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()
1013 iter->show_value = kallsyms_show_value(file->f_cred); in kallsyms_open()
2777 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()
127 m->private = kallsyms_show_value(file->f_cred) ? NULL : (void *)8ul; in modules_open()
55 kallsyms_show_value(file->f_cred) in module_sect_read()
3831 const struct cred *f_cred) in bpf_insn_prepare_dump() argument3857 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()
513 cred = of->file->f_cred; in __cgroup1_procs_write()
5186 saved_cred = override_creds(of->file->f_cred); in __cgroup_procs_write()