aboutsummaryrefslogtreecommitdiff
path: root/toys/android
AgeCommit message (Collapse)Author
2015-04-18Android getprop and setprop from Elliott Hughes.Rob Landley
2015-04-10Implement Android restorecon.Elliott Hughes
On Android, much of the restorecon logic is in libselinux, so this isn't portable. We do want to be able to build on the host for testing *other* toys, though, so #if keeps this building. Change-Id: Ida5a6713a926140c549d5770d62798f4aedca748
2015-04-10Fix load_policy error reporting.Elliott Hughes
Also switch to xopen for O_CLOEXEC paranoia and to avoid a conditional. Change-Id: Iee5c4c124bcac800313f586768ffcaade542bd22
2015-04-10getenforce takes no arguments.Elliott Hughes
Change-Id: Icbee1df8b316039c68ef326f9d4d80f32c603b21
2015-04-10setenforce takes exactly one argument.Elliott Hughes
Change-Id: I83c478ea9ddd456c61e3f0f99506a1028a7027a1
2015-03-27Promote setenforce to android.Rob Landley
2015-03-27Promote getenforce.Rob Landley
2015-03-27Promote load_policy to android.Rob Landley
2015-03-23Promote runcon to android (and add an android menu).Rob Landley