Searched refs:f_cred (Results 1 - 25 of 48) sorted by last modified time

12

/linux-master/fs/nfs/
H A Dinode.c1043 ctx->cred = get_cred(filp->f_cred);
H A Ddir.c588 .cred = desc->file->f_cred,
/linux-master/include/net/
H A Dsock.h911 return sk->sk_socket->file->f_cred->user_ns;
/linux-master/drivers/android/
H A Dbinder.c5641 proc->cred = get_cred(filp->f_cred);
/linux-master/fs/fuse/
H A Dinode.c1784 (ctx->file->f_cred->user_ns != sb->s_user_ns))
H A Dcuse.c512 * be represented in file->f_cred->user_ns.
514 fuse_conn_init(&cc->fc, &cc->fm, file->f_cred->user_ns,
/linux-master/kernel/
H A Dkprobes.c2769 if (!kallsyms_show_value(pi->file->f_cred))
2861 if (!kallsyms_show_value(m->file->f_cred))
H A Duser_namespace.c886 const struct user_namespace *file_ns = file->f_cred->user_ns;
1167 const struct cred *cred = file->f_cred;
/linux-master/drivers/scsi/
H A Dsg.c226 if (filp->f_cred != current_real_cred()) {
/linux-master/kernel/bpf/
H A Dsyscall.c4450 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/include/linux/
H A Dfs.h1011 const struct cred *f_cred; member in struct:file
2685 return dentry_open(&file->f_path, file->f_flags, file->f_cred);
/linux-master/security/smack/
H A Dsmack_lsm.c2014 struct task_smack *tsp = smack_cred(file->f_cred);
2022 rc = smk_bu_credfile(file->f_cred, file, MAY_READ, rc);
4999 tsp = smack_cred(file->f_cred);
5005 rc = smk_bu_credfile(file->f_cred, file, MAY_READ, rc);
/linux-master/security/selinux/
H A Dhooks.c3986 return file_path_has_perm(file->f_cred, file, open_file_to_av(file));
/linux-master/security/landlock/
H A Dfs.c1341 get_fs_domain(landlock_cred(file->f_cred)->domain);
/linux-master/security/apparmor/
H A Dlsm.c480 label = aa_get_newest_cred_label(file->f_cred);
491 error = aa_path_perm(OP_OPEN, file->f_cred,
/linux-master/net/sched/
H A Dcls_flow.c208 kuid_t skuid = sk->sk_socket->file->f_cred->fsuid;
220 kgid_t skgid = sk->sk_socket->file->f_cred->fsgid;
/linux-master/net/netfilter/
H A Dnfnetlink_queue.c442 cred = sk->sk_socket->file->f_cred;
H A Dnfnetlink_log.c617 const struct cred *cred = file->f_cred;
H A Dnf_log_syslog.c173 const struct cred *cred = sk->sk_socket->file->f_cred;
/linux-master/fs/nfsd/
H A Dnfsctl.c409 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/
H A Dfile_table.c68 put_cred(f->f_cred);
151 f->f_cred = get_cred(cred);
154 put_cred(f->f_cred);
/linux-master/drivers/net/ppp/
H A Dppp_generic.c393 if (!ns_capable(file->f_cred->user_ns, CAP_NET_ADMIN))
/linux-master/fs/proc/
H A Dbase.c1260 from_kuid(file->f_cred->user_ns,
1298 kloginuid = make_kuid(file->f_cred->user_ns, loginuid);
/linux-master/net/sunrpc/auth_gss/
H A Dauth_gss.c426 gss_encode_v0_msg(gss_msg, file->f_cred);
515 file->f_cred);
/linux-master/kernel/cgroup/
H A Dcgroup.c5167 saved_cred = override_creds(of->file->f_cred);

Completed in 481 milliseconds

12