submitted to AOSP as https://android-review.googlesource.com/#/c/145711/ (SHA 64843fb0e2881466c0127216e78d7724505874e4).
On Sat, Mar 28, 2015 at 1:27 PM, enh <[email protected]> wrote: > getenforce takes no arguments. > > diff --git a/toys/android/getenforce.c b/toys/android/getenforce.c > index 465452e..b828ce5 100644 > --- a/toys/android/getenforce.c > +++ b/toys/android/getenforce.c > @@ -2,7 +2,7 @@ > * > * Copyright 2014 The Android Open Source Project > > -USE_GETENFORCE(NEWTOY(getenforce, "", TOYFLAG_USR|TOYFLAG_SBIN)) > +USE_GETENFORCE(NEWTOY(getenforce, ">0", TOYFLAG_USR|TOYFLAG_SBIN)) > > config GETENFORCE > bool "getenforce" -- Elliott Hughes - http://who/enh - http://jessies.org/~enh/ Android native code/tools questions? Mail me/drop by/add me as a reviewer. _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
