Searched refs:cred (Results 176 - 200 of 336) sorted by relevance

1234567891011>>

/linux-master/security/keys/
H A Dpersistent.c9 #include <linux/cred.h>
H A Dproc.c167 .cred = m->file->f_cred,
191 rc = key_task_permission(key_ref, ctx.cred, KEY_NEED_VIEW);
H A Dkeyring.c518 const struct cred *cred, key_perm_t perm,
527 uid, gid, cred, perm, flags, restrict_link);
617 ctx->cred, KEY_NEED_SEARCH) < 0) {
794 ctx->cred, KEY_NEED_SEARCH) < 0)
916 err = key_task_permission(keyring_ref, ctx->cred, KEY_NEED_SEARCH);
946 .cred = current_cred(),
517 keyring_alloc(const char *description, kuid_t uid, kgid_t gid, const struct cred *cred, key_perm_t perm, unsigned long flags, struct key_restriction *restrict_link, struct key *dest) argument
/linux-master/fs/cachefiles/
H A Dvolume.c21 const struct cred *saved_cred;
H A Dcache.c22 const struct cred *saved_cred;
345 const struct cred *saved_cred;
/linux-master/kernel/
H A Dusermode_driver.c96 static int umd_setup(struct subprocess_info *info, struct cred *new)
H A Dpid_namespace.c16 #include <linux/cred.h>
396 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN))
/linux-master/security/integrity/platform_certs/
H A Dload_uefi.c5 #include <linux/cred.h>
/linux-master/kernel/cgroup/
H A Dnamespace.c103 if (!ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN) ||
H A Dcgroup-v1.c494 const struct cred *cred, *tcred; local
512 cred = of->file->f_cred;
514 if (!uid_eq(cred->euid, GLOBAL_ROOT_UID) &&
515 !uid_eq(cred->euid, tcred->uid) &&
516 !uid_eq(cred->euid, tcred->suid))
/linux-master/fs/
H A Dfs_context.c293 fc->cred = get_current_cred();
301 fc->user_ns = get_user_ns(fc->cred->user_ns);
409 get_cred(fc->cred);
525 put_cred(fc->cred);
H A Danon_inodes.c12 #include <linux/cred.h>
H A Dmnt_idmapping.c4 #include <linux/cred.h>
/linux-master/net/netfilter/
H A Dxt_owner.c13 #include <linux/cred.h>
/linux-master/kernel/module/
H A Ddups.c19 #include <linux/cred.h>
/linux-master/block/
H A Dioprio.c26 #include <linux/cred.h>
/linux-master/ipc/
H A Dmq_sysctl.c15 #include <linux/cred.h>
/linux-master/kernel/time/
H A Dnamespace.c17 #include <linux/cred.h>
313 !ns_capable(nsset->cred->user_ns, CAP_SYS_ADMIN))
/linux-master/security/tomoyo/
H A Dtomoyo.c31 * @new: Pointer to "struct cred".
32 * @old: Pointer to "struct cred".
37 static int tomoyo_cred_prepare(struct cred *new, const struct cred *old,
/linux-master/include/linux/
H A Dio_uring_types.h363 const struct cred *sq_creds; /* cred used for __io_sq_thread() */
667 const struct cred *creds;
/linux-master/fs/nfsd/
H A Dnfs4callback.c1007 static const struct cred *get_backchannel_cred(struct nfs4_client *clp, struct rpc_clnt *client, struct nfsd4_session *ses)
1015 struct cred *kcred;
1044 .cred = current_cred(),
1047 const struct cred *cred; local
1076 cred = get_backchannel_cred(clp, client, ses);
1077 if (!cred) {
1086 clp->cl_cb_cred = cred;
/linux-master/drivers/misc/vmw_vmci/
H A Dvmci_host.c18 #include <linux/cred.h>
302 const struct cred *cred; local
324 cred = get_current_cred();
328 cred);
329 put_cred(cred);
/linux-master/net/sunrpc/
H A Drpcb_clnt.c240 .cred = current_cred(),
314 .cred = current_cred(),
370 const struct cred *cred,
384 .cred = cred,
366 rpcb_create(struct net *net, const char *nodename, const char *hostname, struct sockaddr *srvaddr, size_t salen, int proto, u32 version, const struct cred *cred, const struct rpc_timeout *timeo) argument
H A Dsvc_xprt.c299 const struct cred *cred)
320 newxprt->xpt_cred = get_cred(cred);
340 * @cred: credential to bind to this transport
349 const struct cred *cred)
353 err = _svc_xprt_create(serv, xprt_name, net, family, port, flags, cred);
356 err = _svc_xprt_create(serv, xprt_name, net, family, port, flags, cred);
296 _svc_xprt_create(struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred) argument
346 svc_xprt_create(struct svc_serv *serv, const char *xprt_name, struct net *net, const int family, const unsigned short port, int flags, const struct cred *cred) argument
/linux-master/mm/
H A Doom_kill.c47 #include <linux/cred.h>
758 const struct cred *cred; local
778 cred = get_task_cred(tsk);
779 trace_mark_victim(tsk, cred->uid.val);
780 put_cred(cred);

Completed in 221 milliseconds

1234567891011>>