Home
last modified time | relevance | path

Searched defs:cred (Results 26 – 50 of 141) sorted by relevance

123456

/OK3568_Linux_fs/kernel/fs/nfs/
H A Dnfs4renewd.c60 const struct cred *cred; in nfs4_renew_state() local
H A Dpnfs.c970 pnfs_set_layout_cred(struct pnfs_layout_hdr *lo, const struct cred *cred) in pnfs_set_layout_cred()
983 const struct cred *cred, bool update_barrier) in pnfs_set_layout_stateid()
1198 const struct cred **cred, in pnfs_prepare_layoutreturn()
1249 const struct cred *cred = *pcred; in pnfs_send_layoutreturn() local
1308 const struct cred *cred; in pnfs_layoutreturn_before_put_layout_hdr() local
1342 const struct cred *cred; in _pnfs_return_layout() local
1425 const struct cred *cred) in pnfs_roc()
2549 const struct cred *cred; in pnfs_mark_layout_for_return() local
H A Ddelegation.h18 const struct cred *cred; member
/OK3568_Linux_fs/kernel/security/apparmor/
H A Dlsm.c66 static void apparmor_cred_free(struct cred *cred) in apparmor_cred_free()
75 static int apparmor_cred_alloc_blank(struct cred *cred, gfp_t gfp) in apparmor_cred_alloc_blank()
151 const struct cred *cred; in apparmor_capget() local
180 static int apparmor_capable(const struct cred *cred, struct user_namespace *ns, in apparmor_capable()
593 const struct cred *cred = get_task_cred(task); in apparmor_getprocattr() local
743 int sig, const struct cred *cred) in apparmor_task_kill()
1648 struct cred *cred = (__force struct cred *)current->real_cred; in set_init_ctx() local
/OK3568_Linux_fs/kernel/include/keys/
H A Drequest_key_auth-type.h20 const struct cred *cred; member
/OK3568_Linux_fs/kernel/include/linux/sunrpc/
H A Dauth.h39 const struct cred *cred; member
187 struct rpc_cred *get_rpccred(struct rpc_cred *cred) in get_rpccred()
/OK3568_Linux_fs/kernel/kernel/
H A Duser_namespace.c42 static void set_cred_user_ns(struct cred *cred, struct user_namespace *user_ns) in set_cred_user_ns()
157 struct cred *cred; in unshare_userns() local
1143 const struct cred *cred = file->f_cred; in new_idmap_permitted() local
1318 struct cred *cred; in userns_install() local
H A Dwatch_queue.c200 const struct cred *cred, in __post_watch_notification()
462 const struct cred *cred; in add_one_watch() local
/OK3568_Linux_fs/kernel/include/linux/
H A Dsecurity.h551 static inline int security_capable(const struct cred *cred, in security_capable()
996 static inline int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) in security_cred_alloc_blank()
1001 static inline void security_cred_free(struct cred *cred) in security_cred_free()
1021 static inline int security_kernel_act_as(struct cred *cred, u32 secid) in security_kernel_act_as()
1026 static inline int security_kernel_create_files_as(struct cred *cred, in security_kernel_create_files_as()
1112 static inline int security_task_prlimit(const struct cred *cred, in security_task_prlimit()
1143 const struct cred *cred) in security_task_kill()
1331 const struct cred *cred, in security_post_notification()
1827 const struct cred *cred, in security_key_alloc()
1838 const struct cred *cred, in security_key_permission()
H A Dnsproxy.h57 const struct cred *cred; member
H A Dnfs_fs.h54 const struct cred * cred; member
73 const struct cred *cred; member
92 const struct cred *cred; member
/OK3568_Linux_fs/kernel/fs/nfsd/
H A Dnfssvc.c292 static int nfsd_init_socks(struct net *net, const struct cred *cred) in nfsd_init_socks()
381 static int nfsd_startup_net(int nrservs, struct net *net, const struct cred *cred) in nfsd_startup_net()
740 nfsd_svc(int nrservs, struct net *net, const struct cred *cred) in nfsd_svc()
/OK3568_Linux_fs/kernel/include/linux/lockd/
H A Dbind.h49 const struct cred *cred; member
/OK3568_Linux_fs/kernel/fs/nfs/flexfilelayout/
H A Dflexfilelayoutdev.c285 const struct cred *cred, __rcu **pcred; in ff_layout_get_mirror_cred() local
423 const struct cred *cred; in ff_layout_get_ds_cred() local
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dmips-mt-fpaff.c51 const struct cred *cred = current_cred(), *pcred; in check_same_owner() local
/OK3568_Linux_fs/kernel/fs/cifs/
H A Dcifs_spnego.c192 struct cred *cred; in init_cifs_spnego() local
/OK3568_Linux_fs/kernel/fs/lockd/
H A Dhost.c63 const struct cred *cred; member
223 const struct cred *cred) in nlmclnt_lookup_host()
/OK3568_Linux_fs/kernel/security/safesetid/
H A Dlsm.c90 static int safesetid_security_capable(const struct cred *cred, in safesetid_security_capable()
/OK3568_Linux_fs/kernel/fs/ecryptfs/
H A Dkthread.c119 const struct cred *cred) in ecryptfs_privileged_open()
/OK3568_Linux_fs/kernel/security/keys/
H A Dkey.c226 kuid_t uid, kgid_t gid, const struct cred *cred, in key_alloc()
828 const struct cred *cred = current_cred(); in key_create_or_update() local
H A Drequest_key_auth.c166 const struct cred *cred = current_cred(); in request_key_auth_new() local
/OK3568_Linux_fs/kernel/security/
H A Dsecurity.c493 static int lsm_cred_alloc(struct cred *cred, gfp_t gfp) in lsm_cred_alloc()
512 static void __init lsm_early_cred(struct cred *cred) in lsm_early_cred()
743 int security_capable(const struct cred *cred, in security_capable()
1590 int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) in security_cred_alloc_blank()
1603 void security_cred_free(struct cred *cred) in security_cred_free()
1761 int security_task_prlimit(const struct cred *cred, const struct cred *tcred, in security_task_prlimit()
1789 int sig, const struct cred *cred) in security_task_kill()
2060 const struct cred *cred, in security_post_notification()
2439 int security_key_alloc(struct key *key, const struct cred *cred, in security_key_alloc()
2450 int security_key_permission(key_ref_t key_ref, const struct cred *cred, in security_key_permission()
/OK3568_Linux_fs/kernel/security/smack/
H A Dsmack_lsm.c240 static int smk_bu_credfile(const struct cred *cred, struct file *file, in smk_bu_credfile()
266 #define smk_bu_credfile(cred, file, mode, RC) (RC) argument
1898 static int smack_cred_alloc_blank(struct cred *cred, gfp_t gfp) in smack_cred_alloc_blank()
1910 static void smack_cred_free(struct cred *cred) in smack_cred_free()
1979 static void smack_cred_getsecid(const struct cred *cred, u32 *secid) in smack_cred_getsecid()
2172 int sig, const struct cred *cred) in smack_task_kill()
4238 static int smack_key_alloc(struct key *key, const struct cred *cred, in smack_key_alloc()
4268 const struct cred *cred, in smack_key_permission()
4410 const struct cred *cred, in smack_post_notification()
4884 struct cred *cred = (struct cred *) current->cred; in smack_init() local
/OK3568_Linux_fs/kernel/block/
H A Dioprio.c40 const struct cred *cred = current_cred(), *tcred; in set_task_ioprio() local
/OK3568_Linux_fs/kernel/net/sunrpc/
H A Dsvcauth_unix.c673 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_set_client() local
741 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_null_accept() local
801 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_accept() local

123456