[Toybox] [PATCH] getconf: add missing names used by AOSP.

Rob Landley rob at landley.net
Sat Oct 6 20:45:03 PDT 2018


On 10/05/2018 06:32 PM, enh wrote:
> The good news is that this more than covers everything used by AOSP.

I had to apply this one by hand because of the differences in the previous
patch. Lemme know if I screwed anything up.

(I re-sorted things to avoid a #define shift, and put the manually defined ones
at the end both times.)

> The bad news is that it turns out that the relationship between the
> actual constant names and the names understood by the GNU getconf (I
> didn't test a BSD getconf) turn out to be pretty random, especially in
> terms of whether or not they use a leading underscore.

Yeah, that's why my regex approach wound up being so horrible. :)

Rob



More information about the Toybox mailing list