SELinux: deterministic ordering of range transition rules
authorEric Paris <eparis@redhat.com>
Wed, 13 Oct 2010 21:50:14 +0000 (17:50 -0400)
committerJames Morris <jmorris@namei.org>
Wed, 20 Oct 2010 23:12:56 +0000 (10:12 +1100)
commit4419aae1f4f380a3fba0f4f12ffbbbdf3f267c51
treee2f7e4850dc84768f6dd66e38a1454b8e3574714
parentb28efd54d9d5c8005a29cd8782335beb9daaa32d
SELinux: deterministic ordering of range transition rules

Range transition rules are placed in the hash table in an (almost)
arbitrary order.  This patch inserts them in a fixed order to make policy
retrival more predictable.

Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/ss/policydb.c