public final class SELinuxMMAC extends Object
Constructor and Description |
---|
SELinuxMMAC() |
Modifier and Type | Method and Description |
---|---|
static void |
assignSeinfoValue(PackageParser.Package pkg)
Applies a security label to a package based on an seinfo tag taken from a matched
policy.
|
static boolean |
readInstallPolicy()
Load the mac_permissions.xml file containing all seinfo assignments used to
label apps.
|
public static boolean readInstallPolicy()
public static void assignSeinfoValue(PackageParser.Package pkg)
pkg
- object representing the package to be labeled.