• Home
  • Raw
  • Download

Lines Matching +full:apr +full:- +full:domain

1 // SPDX-License-Identifier: GPL-2.0-only
10 * 19-Apr-2000 Chris Evans - Security fix
49 if (aops != NULL && !try_module_get(aops->owner)) in svc_get_auth_ops()
58 module_put(aops->owner); in svc_put_auth_ops()
69 flavor = svc_getnl(&rqstp->rq_arg.head[0]); in svc_authenticate()
79 rqstp->rq_auth_slack = 0; in svc_authenticate()
80 init_svc_cred(&rqstp->rq_cred); in svc_authenticate()
82 rqstp->rq_authop = aops; in svc_authenticate()
83 return aops->accept(rqstp, authp); in svc_authenticate()
89 rqstp->rq_client = NULL; in svc_set_client()
90 return rqstp->rq_authop->set_client(rqstp); in svc_set_client()
100 struct auth_ops *aops = rqstp->rq_authop; in svc_authorise()
103 rqstp->rq_authop = NULL; in svc_authorise()
106 rv = aops->release(rqstp); in svc_authorise()
116 int rv = -EINVAL; in svc_auth_register()
140 * it's second argument 'new'. If this is non-null, it will
155 hlist_del_rcu(&dom->hash); in auth_domain_release()
156 dom->flavour->domain_release(dom); in auth_domain_release()
162 kref_put_lock(&dom->ref, auth_domain_release, &auth_domain_lock); in auth_domain_put()
177 if (strcmp(hp->name, name)==0) { in auth_domain_lookup()
178 kref_get(&hp->ref); in auth_domain_lookup()
184 hlist_add_head_rcu(&new->hash, head); in auth_domain_lookup()
199 if (strcmp(hp->name, name)==0) { in auth_domain_find()
200 if (!kref_get_unless_zero(&hp->ref)) in auth_domain_find()
212 * auth_domain_cleanup - check that the auth_domain table is empty
219 * The ->release() function might be in a module that has already been
230 pr_warn("svc: domain %s still present at module unload.\n", in auth_domain_cleanup()
231 hp->name); in auth_domain_cleanup()