diff options
author | Ondrej Mosnacek <omosnace@redhat.com> | 2020-02-03 14:27:23 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-02-12 05:50:26 +0300 |
commit | 89d4d7c88d2b4f252adb434a28ea9b84d629aeb1 (patch) | |
tree | dc1a00d994efd42be540d6e63f170aa6eee0d8fa /security/selinux/ss/conditional.h | |
parent | 8794d7839038fc018e51d0afbf309b71069d9691 (diff) | |
download | linux-89d4d7c88d2b4f252adb434a28ea9b84d629aeb1.tar.xz |
selinux: generalize evaluate_cond_node()
Both callers iterate the cond_list and call it for each node - turn it
into evaluate_cond_nodes(), which does the iteration for them.
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security/selinux/ss/conditional.h')
-rw-r--r-- | security/selinux/ss/conditional.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/conditional.h b/security/selinux/ss/conditional.h index 4677c6ff7450..b9eb888ffa76 100644 --- a/security/selinux/ss/conditional.h +++ b/security/selinux/ss/conditional.h @@ -78,6 +78,6 @@ void cond_compute_av(struct avtab *ctab, struct avtab_key *key, struct av_decision *avd, struct extended_perms *xperms); void cond_compute_xperms(struct avtab *ctab, struct avtab_key *key, struct extended_perms_decision *xpermd); -void evaluate_cond_node(struct policydb *p, struct cond_node *node); +void evaluate_cond_nodes(struct policydb *p); #endif /* _CONDITIONAL_H_ */ |