Files
i2som-imx-linux/security
Eric Paris 186ef2385c 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-11 16:10:02 -07:00
..
2013-11-29 10:50:34 -08:00
2013-03-28 12:12:27 -07:00
2012-10-07 08:32:28 -07:00
2012-01-10 10:20:35 -05:00
2012-02-10 09:18:52 +11:00
2012-02-10 09:18:52 +11:00
2012-02-14 10:45:42 +11:00