]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: generalize evaluate_cond_node()
authorOndrej Mosnacek <omosnace@redhat.com>
Mon, 3 Feb 2020 11:27:23 +0000 (12:27 +0100)
committerPaul Moore <paul@paul-moore.com>
Wed, 12 Feb 2020 02:50:26 +0000 (21:50 -0500)
commit97b36ba6347dc97e185f6cfc481b36ac27ee90ca
treedc1a00d994efd42be540d6e63f170aa6eee0d8fa
parentd6649d0ec9e5ed21914d34de37de3e9fc68c819d
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>
security/selinux/ss/conditional.c
security/selinux/ss/conditional.h
security/selinux/ss/services.c