aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorPaul Moore <pmoore@redhat.com>2014-08-01 11:17:29 -0400
committerPaul Moore <pmoore@redhat.com>2014-08-01 11:17:29 -0400
commitd960a6184a92c8da70d26355bfcb5bd8ad637743 (patch)
tree119b2fd2674484a3228278d140f62d6d58f4aa13 /security
parentnetlabel: fix the horribly broken catmap functions (diff)
downloadlinux-dev-d960a6184a92c8da70d26355bfcb5bd8ad637743.tar.xz
linux-dev-d960a6184a92c8da70d26355bfcb5bd8ad637743.zip
netlabel: fix the catmap walking functions
The two NetLabel LSM secattr catmap walk functions didn't handle certain edge conditions correctly, causing incorrect security labels to be generated in some cases. This patch corrects these problems and converts the functions to use the new _netlbl_secattr_catmap_getnode() function in order to reduce the amount of repeated code. Cc: stable@vger.kernel.org Signed-off-by: Paul Moore <pmoore@redhat.com> Tested-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions