Files
kernel_google_wahoo/security
Matthias Kaehlcke 6f404b5b81 BACKPORT: 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]

Change-Id: I2e0e16f4043c79cf57b1de64b5f79cb9cde91c64
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>
Bug: 62057517
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2017-07-31 20:36:32 -07:00
..
2016-10-16 17:36:15 +02:00
2016-03-23 21:24:04 -07:00