SELinux: make it harder to get the number of mnt opts wrong
authorEric Paris <eparis@redhat.com>
Fri, 24 Aug 2012 19:58:53 +0000 (15:58 -0400)
committerEric Paris <eparis@redhat.com>
Thu, 25 Jul 2013 17:02:53 +0000 (13:02 -0400)
commitd355987f47bbe24e7450b509a3f8aac0db88b65a
tree60bd8865c311f6319f9ab3f26be57b95b55e5685
parent40d3d0b85fa22084fc3b7eeb943aca365097cea3
SELinux: make it harder to get the number of mnt opts wrong

Instead of just hard coding a value, use the enum to out benefit.

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