selinux: fix type mismatch
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 10 Jun 2016 21:14:26 +0000 (23:14 +0200)
committerPaul Moore <paul@paul-moore.com>
Wed, 15 Jun 2016 20:20:28 +0000 (16:20 -0400)
commit309c5fad5de44fb9b1703a8f7bd814a223c57d60
tree07f701ff25e2a2143af01e65631ac6c2552219ea
parent50b8629a606b876e2df000699d68904f239dcfeb
selinux: fix type mismatch

avc_cache_threshold is of type unsigned int.  Do not use a signed
new_value in sscanf(page, "%u", &new_value).

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
[PM: subject prefix fix, description cleanup]
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/selinuxfs.c