Searched refs:f_cred (Results 1 - 25 of 48) sorted by relevance
12
/linux-master/net/netfilter/ |
H A D | xt_owner.c | 90 if ((uid_gte(filp->f_cred->fsuid, uid_min) && 91 uid_lte(filp->f_cred->fsuid, uid_max)) ^ 102 struct group_info *gi = filp->f_cred->group_info; 104 if (gid_gte(filp->f_cred->fsgid, gid_min) && 105 gid_lte(filp->f_cred->fsgid, gid_max))
|
H A D | nft_meta.c | 150 sock->file->f_cred->fsuid); 154 sock->file->f_cred->fsgid);
|
/linux-master/include/rdma/ |
H A D | ib.h | 78 return filp->f_cred == current_cred();
|
/linux-master/security/safesetid/ |
H A D | securityfs.c | 54 rule->src_id.uid = make_kuid(file->f_cred->user_ns, parsed_parent); 55 rule->dst_id.uid = make_kuid(file->f_cred->user_ns, parsed_child); 59 rule->src_id.gid = make_kgid(file->f_cred->user_ns, parsed_parent); 60 rule->dst_id.gid = make_kgid(file->f_cred->user_ns, parsed_child);
|
/linux-master/kernel/module/ |
H A D | procfs.c | 133 m->private = kallsyms_show_value(file->f_cred) ? NULL : (void *)8ul;
|
H A D | sysfs.c | 55 kallsyms_show_value(file->f_cred)
|
/linux-master/fs/efivarfs/ |
H A D | file.c | 76 while (!__ratelimit(&file->f_cred->user->ratelimit))
|
/linux-master/kernel/ |
H A D | acct.c | 505 orig_cred = override_creds(file->f_cred); 516 ac.ac_uid = from_kuid_munged(file->f_cred->user_ns, orig_cred->uid); 517 ac.ac_gid = from_kgid_munged(file->f_cred->user_ns, orig_cred->gid);
|
H A D | capability.c | 460 if (security_capable(file->f_cred, ns, cap, CAP_OPT_NONE) == 0)
|
H A D | user_namespace.c | 886 const struct user_namespace *file_ns = file->f_cred->user_ns; 1167 const struct cred *cred = file->f_cred;
|
H A D | kallsyms.c | 921 iter->show_value = kallsyms_show_value(file->f_cred);
|
/linux-master/fs/ |
H A D | file_table.c | 68 put_cred(f->f_cred); 151 f->f_cred = get_cred(cred); 154 put_cred(f->f_cred);
|
/linux-master/fs/ecryptfs/ |
H A D | messaging.c | 109 if (uid_eq((*daemon)->file->f_cred->euid, current_euid())) {
|
/linux-master/include/linux/ |
H A D | seq_file.h | 241 return seq->file->f_cred->user_ns;
|
/linux-master/security/keys/ |
H A D | proc.c | 167 .cred = m->file->f_cred,
|
/linux-master/fs/coda/ |
H A D | file.c | 272 coda_flags, coda_file->f_cred->fsuid);
|
/linux-master/fs/nfsd/ |
H A D | nfsctl.c | 409 rv = nfsd_svc(newthreads, net, file->f_cred); 772 return __write_ports_addfd(buf, net, file->f_cred); 775 return __write_ports_addxprt(buf, net, file->f_cred);
|
/linux-master/fs/autofs/ |
H A D | waitq.c | 138 struct user_namespace *user_ns = sbi->pipe->f_cred->user_ns;
|
/linux-master/net/sched/ |
H A D | cls_flow.c | 208 kuid_t skuid = sk->sk_socket->file->f_cred->fsuid; 220 kgid_t skgid = sk->sk_socket->file->f_cred->fsgid;
|
/linux-master/fs/orangefs/ |
H A D | devorangefs-req.c | 126 if (file->f_cred->user_ns != &init_user_ns) {
|
/linux-master/security/integrity/ima/ |
H A D | ima_crypto.c | 558 f = dentry_open(&file->f_path, flags, file->f_cred);
|
/linux-master/fs/fuse/ |
H A D | cuse.c | 512 * be represented in file->f_cred->user_ns. 514 fuse_conn_init(&cc->fc, &cc->fm, file->f_cred->user_ns,
|
/linux-master/kernel/bpf/ |
H A D | syscall.c | 4450 const struct cred *f_cred) 4476 if (!bpf_dump_raw_ok(f_cred)) 4616 if (prog->blinded && !bpf_dump_raw_ok(file->f_cred)) { 4620 insns_sanitized = bpf_insn_prepare_dump(prog, file->f_cred); 4654 if (bpf_dump_raw_ok(file->f_cred)) { 4689 if (bpf_dump_raw_ok(file->f_cred)) { 4720 if (bpf_dump_raw_ok(file->f_cred)) { 4780 if (bpf_dump_raw_ok(file->f_cred)) { 4449 bpf_insn_prepare_dump(const struct bpf_prog *prog, const struct cred *f_cred) argument
|
/linux-master/security/apparmor/ |
H A D | lsm.c | 480 label = aa_get_newest_cred_label(file->f_cred); 491 error = aa_path_perm(OP_OPEN, file->f_cred,
|
/linux-master/net/sunrpc/ |
H A D | svcauth_unix.c | 562 struct user_namespace *user_ns = m->file->f_cred->user_ns;
|
Completed in 577 milliseconds
12