submitted to AOSP as https://android-review.googlesource.com/#/c/145667/ (SHA ec13b088cdaf133e4fa5e7a94ed90eb0af59c126).
On Sat, Mar 28, 2015 at 1:09 PM, enh <[email protected]> wrote: > setenforce takes exactly one argument. > > diff --git a/toys/android/setenforce.c b/toys/android/setenforce.c > index 6895746..8194484 100644 > --- a/toys/android/setenforce.c > +++ b/toys/android/setenforce.c > @@ -2,7 +2,7 @@ > * > * Copyright 2014 The Android Open Source Project > > -USE_SETENFORCE(NEWTOY(setenforce, "<1", TOYFLAG_USR|TOYFLAG_SBIN)) > +USE_SETENFORCE(NEWTOY(setenforce, "<1>1", TOYFLAG_USR|TOYFLAG_SBIN)) > > config SETENFORCE > bool "setenforce" -- 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
