aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMatthias Kaehlcke <mka@chromium.org>2017-05-19 10:09:32 -0700
committerPaul Moore <paul@paul-moore.com>2017-05-23 10:24:06 -0400
commit270e8573145a26de924e2dc644596332d400445b (patch)
treeac3278c5a14e41e36b8b2a8918d2194be85c45a1 /drivers
parentselinux: log policy capability state when a policy is loaded (diff)
downloadlinux-dev-270e8573145a26de924e2dc644596332d400445b.tar.xz
linux-dev-270e8573145a26de924e2dc644596332d400445b.zip
selinux: Remove redundant check for unknown labeling behavior
The check is already performed in ocontext_read() when the policy is loaded. Removing the array also fixes the following warning when building with clang: security/selinux/hooks.c:338:20: error: variable 'labeling_behaviors' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration] Signed-off-by: Matthias Kaehlcke <mka@chromium.org> Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions