Smack: user access check bounds
authorCasey Schaufler <casey@schaufler-ca.com>
Tue, 19 Jun 2012 02:01:36 +0000 (19:01 -0700)
committerCasey Schaufler <casey@schaufler-ca.com>
Fri, 13 Jul 2012 22:49:24 +0000 (15:49 -0700)
commit3518721a8932b2a243f415c374aef020380efc9d
treef16a039687aaf395e6751b7a9edda85e83b52502
parent1880eff77e7a7cb46c68fae7cfa33f72f0a6e70e
Smack: user access check bounds

Some of the bounds checking used on the /smack/access
interface was lost when support for long labels was
added. No kernel access checks are affected, however
this is a case where /smack/access could be used
incorrectly and fail to detect the error. This patch
reintroduces the original checks.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smackfs.c