]> git.baikalelectronics.ru Git - kernel.git/commit
SELinux: Write class field in role_trans_write.
authorHarry Ciao <qingtao.cao@windriver.com>
Fri, 25 Mar 2011 05:52:00 +0000 (13:52 +0800)
committerEric Paris <eparis@redhat.com>
Mon, 28 Mar 2011 18:21:05 +0000 (14:21 -0400)
commite2535ce3a26d088fdf99d678b42426e322698899
tree0294cfb5904eec80cf8e84004d46cb8734b714e7
parentf2d4048eb89d42242671ad48fcc49d5c5a30de86
SELinux: Write class field in role_trans_write.

If kernel policy version is >= 26, then write the class field of the
role_trans structure into the binary reprensentation.

Signed-off-by: Harry Ciao <qingtao.cao@windriver.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Eric Paris <eparis@redhat.com>
security/selinux/ss/policydb.c