diff options
author | Ondrej Mosnacek <omosnace@redhat.com> | 2020-01-17 09:58:32 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-02-10 16:49:01 +0100 |
commit | 06c2efe2cf3aa70abbdf97e88641abca2e707a15 (patch) | |
tree | 172985d880e3cb1cd355bc1149e3467c53b645fe /security/selinux/ss/conditional.h | |
parent | Documentation,selinux: deprecate setting checkreqprot to 1 (diff) | |
download | linux-06c2efe2cf3aa70abbdf97e88641abca2e707a15.tar.xz linux-06c2efe2cf3aa70abbdf97e88641abca2e707a15.zip |
selinux: simplify evaluate_cond_node()
It never fails, so it can just return void.
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Reviewed-by: Stephen Smalley <sds@tycho.nsa.gov>
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 ec846e45904c..d86ef286ca84 100644 --- a/security/selinux/ss/conditional.h +++ b/security/selinux/ss/conditional.h @@ -75,6 +75,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); -int evaluate_cond_node(struct policydb *p, struct cond_node *node); +void evaluate_cond_node(struct policydb *p, struct cond_node *node); #endif /* _CONDITIONAL_H_ */ |