summaryrefslogtreecommitdiff
path: root/security/selinux/ss/conditional.h
diff options
context:
space:
mode:
authorOndrej Mosnacek <omosnace@redhat.com>2020-07-08 14:24:45 +0300
committerPaul Moore <paul@paul-moore.com>2020-07-09 03:21:43 +0300
commit237389e3015e0f4ceac7cf00c70a59746150561d (patch)
tree624f2bf3c6c63457c43775ae16c6c656b3b24ae1 /security/selinux/ss/conditional.h
parent2c3d8dfecedd7f5e24e09730a992b59b1c6f956e (diff)
downloadlinux-237389e3015e0f4ceac7cf00c70a59746150561d.tar.xz
selinux: specialize symtab insert and search functions
This encapsulates symtab a little better and will help with further refactoring later. Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com> Acked-by: Stephen Smalley <stephen.smalley.work@gmail.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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/conditional.h b/security/selinux/ss/conditional.h
index 90c9c964f5f5..79e7e03db859 100644
--- a/security/selinux/ss/conditional.h
+++ b/security/selinux/ss/conditional.h
@@ -69,7 +69,7 @@ int cond_destroy_bool(void *key, void *datum, void *p);
int cond_index_bool(void *key, void *datum, void *datap);
-int cond_read_bool(struct policydb *p, struct hashtab *h, void *fp);
+int cond_read_bool(struct policydb *p, struct symtab *s, void *fp);
int cond_read_list(struct policydb *p, void *fp);
int cond_write_bool(void *key, void *datum, void *ptr);
int cond_write_list(struct policydb *p, void *fp);