[Toybox] [PATCH] setenforce takes exactly one argument

enh enh at google.com
Tue Apr 7 13:13:28 PDT 2015


submitted to AOSP as
https://android-review.googlesource.com/#/c/145667/ (SHA
ec13b088cdaf133e4fa5e7a94ed90eb0af59c126).

On Sat, Mar 28, 2015 at 1:09 PM, enh <enh at google.com> 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.

 1428437608.0


More information about the Toybox mailing list