Files
linux/security
Eric Paris 3e66969eab SELinux: bigendian problems with filename trans rules
commit 9085a64229 upstream.

When writing policy via /sys/fs/selinux/policy I wrote the type and class
of filename trans rules in CPU endian instead of little endian.  On
x86_64 this works just fine, but it means that on big endian arch's like
ppc64 and s390 userspace reads the policy and converts it from
le32_to_cpu.  So the values are all screwed up.  Write the values in le
format like it should have been to start.

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by:  Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 21:30:12 -08:00
..
2013-02-22 23:31:31 -05:00
2013-11-29 11:11:44 -08:00
2013-05-07 20:16:25 -07:00
2013-04-03 13:13:51 +11:00
2013-02-26 02:46:10 -05:00
2013-04-18 11:34:35 -07:00
2012-01-10 10:20:35 -05:00
2012-02-10 09:18:52 +11:00