Initialize policydb.process_class eariler.
authorHarry Ciao <qingtao.cao@windriver.com>
Thu, 7 Apr 2011 06:12:57 +0000 (14:12 +0800)
committerEric Paris <eparis@redhat.com>
Thu, 7 Apr 2011 16:00:26 +0000 (12:00 -0400)
commit1214eac73f798bccabc6adb55e7b2d787527c13c
tree4b379622da0d56be88d7ea87af558ef719317c7d
parenteba71de2cb7c02c5ae4f2ad3656343da71bc4661
Initialize policydb.process_class eariler.

Initialize policydb.process_class once all symtabs read from policy image,
so that it could be used to setup the role_trans.tclass field when a lower
version policy.X is loaded.

Signed-off-by: Harry Ciao <qingtao.cao@windriver.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
security/selinux/ss/policydb.c