SELinux: Add class support to the role_trans structure
authorHarry Ciao <qingtao.cao@windriver.com>
Fri, 25 Mar 2011 05:51:56 +0000 (13:51 +0800)
committerEric Paris <eparis@redhat.com>
Mon, 28 Mar 2011 18:20:58 +0000 (14:20 -0400)
If kernel policy version is >= 26, then the binary representation of
the role_trans structure supports specifying the class for the current
subject or the newly created object.

If kernel policy version is < 26, then the class field would be default
to the process class.

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>

No differences found