SELinux: break ocontext reading into a separate function
authorEric Paris <eparis@redhat.com>
Wed, 21 Jul 2010 16:51:03 +0000 (12:51 -0400)
committerJames Morris <jmorris@namei.org>
Mon, 2 Aug 2010 05:35:06 +0000 (15:35 +1000)
commit692a8a231b212dfc68f612956d63f34abf098e0f
tree4af3c03535ebc49e38c3c0c8f67061adbdf44c72
parentd1b43547e56b163bc5c622243c47d8a13626175b
SELinux: break ocontext reading into a separate function

Move the reading of ocontext type data out of policydb_read() in a separate
function ocontext_read()

Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Stephen D. Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/ss/policydb.c