Searched refs:cred (Results 201 - 225 of 336) sorted by relevance

1234567891011>>

/linux-master/security/apparmor/
H A Dpolicy.c74 #include <linux/cred.h>
80 #include "include/cred.h"
789 static int policy_ns_capable(const struct cred *subj_cred,
795 /* check for MAC_ADMIN cap in cred */
805 * @subj_cred: cred of subject
814 bool aa_policy_view_capable(const struct cred *subj_cred,
834 bool aa_policy_admin_capable(const struct cred *subj_cred,
874 * @subj_cred: subjects cred
881 int aa_may_manage_policy(const struct cred *subj_cred, struct aa_label *label,
1052 * tasks will notice to update their own cred
[all...]
/linux-master/security/integrity/ima/
H A Dima_main.c208 static int process_measurement(struct file *file, const struct cred *cred, argument
235 action = ima_get_action(file_mnt_idmap(file), inode, cred, secid,
552 security_cred_getsecid(bprm->cred, &secid);
553 return process_measurement(bprm->file, bprm->cred, secid, NULL, 0,
/linux-master/fs/nfsd/
H A Dfilecache.c78 nfsd_match_cred(const struct cred *c1, const struct cred *c2)
919 nfsd_file_lookup_locked(const struct net *net, const struct cred *cred, argument
933 if (!nfsd_match_cred(nf->nf_cred, cred))
H A Dnfs4recover.c74 nfs4_save_creds(const struct cred **original_creds)
76 struct cred *new;
90 nfs4_reset_creds(const struct cred *original)
195 const struct cred *original_cred;
292 const struct cred *original_cred;
388 const struct cred *original_cred;
528 const struct cred *original_cred;
/linux-master/fs/ecryptfs/
H A Dmain.c107 const struct cred *cred = current_cred(); local
112 cred);
/linux-master/include/trace/events/
H A Drpcgss.h149 __field(const void *, cred)
155 __entry->cred = gc;
160 TP_printk("cred=%p service=%s principal='%s'",
161 __entry->cred, show_gss_service(__entry->service),
/linux-master/fs/nfs/
H A Dpagelist.c104 hdr->cred = nfs_req_openctx(hdr->req)->cred;
848 const struct cred *cred, const struct nfs_rpc_ops *rpc_ops,
855 .rpc_cred = cred,
1075 hdr->cred,
847 nfs_initiate_pgio(struct rpc_clnt *clnt, struct nfs_pgio_header *hdr, const struct cred *cred, const struct nfs_rpc_ops *rpc_ops, const struct rpc_call_ops *call_ops, int how, int flags) argument
H A Dmount_clnt.c168 .cred = current_cred(),
256 .cred = current_cred(),
H A Dnfs3proc.c225 const struct cred *cred)
236 .rpc_cred = cred,
684 .rpc_cred = nr_arg->cred,
224 nfs3_proc_access(struct inode *inode, struct nfs_access_entry *entry, const struct cred *cred) argument
/linux-master/kernel/
H A Dsignal.c817 const struct cred *cred = current_cred(); local
818 const struct cred *tcred = __task_cred(t);
820 return uid_eq(cred->euid, tcred->suid) ||
821 uid_eq(cred->euid, tcred->uid) ||
822 uid_eq(cred->uid, tcred->suid) ||
823 uid_eq(cred->uid, tcred->uid) ||
1517 static inline bool kill_as_cred_perm(const struct cred *cred, argument
1520 const struct cred *pcre
1553 kill_pid_usb_asyncio(int sig, int errno, sigval_t addr, struct pid *pid, const struct cred *cred) argument
[all...]
H A Dtsacct.c24 const struct cred *tcred;
/linux-master/net/core/
H A Dsock.c1554 static const struct cred *sk_get_peer_cred(struct sock *sk)
1556 const struct cred *cred; local
1559 cred = get_cred(sk->sk_peer_cred);
1562 return cred;
1565 static void cred_to_ucred(struct pid *pid, const struct cred *cred, argument
1570 if (cred) {
1573 ucred->uid = from_kuid_munged(current_ns, cred->euid);
1574 ucred->gid = from_kgid_munged(current_ns, cred
1801 const struct cred *cred; local
[all...]
/linux-master/fs/cachefiles/
H A Dxattr.c175 const struct cred *saved_cred;
/linux-master/certs/
H A Dsystem_keyring.c11 #include <linux/cred.h>
/linux-master/drivers/usb/core/
H A Ddevio.c73 const struct cred *cred; member in struct:usb_dev_state
98 const struct cred *cred; member in struct:async
418 if (as->cred)
419 put_cred(as->cred);
625 const struct cred *cred = NULL; local
638 cred = get_cred(as->cred);
[all...]
/linux-master/include/net/
H A Daf_vsock.h45 const struct cred *owner;
H A Dscm.h7 #include <linux/cred.h>
/linux-master/net/netfilter/
H A Dnfnetlink_log.c617 const struct cred *cred = file->f_cred; local
619 __be32 uid = htonl(from_kuid_munged(user_ns, cred->fsuid));
620 __be32 gid = htonl(from_kgid_munged(user_ns, cred->fsgid));
H A Dnf_log_syslog.c173 const struct cred *cred = sk->sk_socket->file->f_cred; local
176 from_kuid_munged(&init_user_ns, cred->fsuid),
177 from_kgid_munged(&init_user_ns, cred->fsgid));
/linux-master/include/linux/
H A Dptrace.h59 const struct cred *ptracer_cred);
/linux-master/include/linux/sunrpc/
H A Dsched.h29 const struct cred * rpc_cred; /* Credentials */
84 struct rpc_cred * tk_op_cred; /* cred being operated on */
/linux-master/fs/fuse/
H A Dfuse_i.h82 struct cred *cred; member in struct:fuse_backing
269 const struct cred *cred; member in struct:fuse_file
/linux-master/fs/
H A Danon_inodes.c12 #include <linux/cred.h>
/linux-master/init/
H A Dinit_task.c110 RCU_POINTER_INITIALIZER(cred, &init_cred),
/linux-master/drivers/crypto/ccp/
H A Dsev-dev.c236 struct cred *cred; local
237 const struct cred *old_cred;
243 cred = prepare_creds();
244 if (!cred)
246 cred->fsuid = GLOBAL_ROOT_UID;
247 old_cred = override_creds(cred);

Completed in 423 milliseconds

1234567891011>>