]> Pileus Git - ~andy/linux/commit
SELinux: use define for number of bits in the mnt flags mask
authorEric Paris <eparis@redhat.com>
Fri, 24 Aug 2012 19:59:00 +0000 (15:59 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 25 Jul 2013 17:02:58 +0000 (13:02 -0400)
commitaf8e50cc7d546c508e9091bbbdf3cf8b243bd8cd
tree9e0dde9b982f805c8260800163532888ed06869f
parentd355987f47bbe24e7450b509a3f8aac0db88b65a
SELinux: use define for number of bits in the mnt flags mask

We had this random hard coded value of '8' in the code (I put it there)
for the number of bits to check for mount options.  This is stupid.  Instead
use the #define we already have which tells us the number of mount
options.

Signed-off-by: Eric Paris <eparis@redhat.com>
security/selinux/hooks.c