Implement load_policy.
authorElliott Hughes <enh@google.com>
Tue, 24 Mar 2015 19:17:03 +0000 (14:17 -0500)
committerElliott Hughes <enh@google.com>
Tue, 24 Mar 2015 19:17:03 +0000 (14:17 -0500)
commitd6d4ad0663dc91a448139d9bac4fecab43a41b30
tree4a63755f31b2f6bf33e430c31e7b5ed0847f6aff
parent47dd32825ea32796f3094f45f4e4b0e7e1657520
Implement load_policy.

Note that this is a case where Android's tool isn't the same as the
usual tool. Ours takes an explicit file containing the policy to be
loaded. restorecon is at least command-line compatible, but the
implementation is all in Android's libselinux where there's a
selinux_android_restorecon function.
toys/pending/load_policy.c [new file with mode: 0644]