aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/getconf.c
AgeCommit message (Collapse)Author
2018-12-07macOS: fix getconf(1) build.Elliott Hughes
Several parameters common on Linux are missing on macOS.
2018-10-30getconf: add -a, fix the LFS_ output, and blame bionic rather than musl for ↵Elliott Hughes
UIO_MAXIOV/_SC_UIO_MAXIOV.
2018-10-07Fix getconf build for musl.Rob Landley
2018-10-06getconf: add missing names used by AOSP.Rob Landley
2018-10-06Say undefined for sysconf/pathconf -1, remove goto, help text tweak,Rob Landley
remove curly brackets around single line if().
2018-10-05getconf: add pathconf(3) variables.Elliott Hughes
Also improve the -l output to include sections (because you need to know whether you're dealing with a pathconf variable to supply the required path).
2018-10-05getconf: fix glibc NPROCESSORS_ONLN.Elliott Hughes
glibc doesn't have _XOPEN_UUCP (though bionic does), which meant that the generated array of values was out of sync with the hand-written array of names. This patch removes that by using a unified array and the preprocessor. A side benefit of this for me is that it makes toybox easier to integrate in the AOSP build system (the less shell script magic, the better).
2018-04-18Add the flags linux kernel build checks for.Rob Landley
2018-04-13Add getconf.Rob Landley