diff options
author | Elliott Hughes <enh@google.com> | 2016-01-19 10:14:21 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2016-01-19 10:14:21 -0800 |
commit | 29d98209b50f3296b36d10ffaab4e88c31fe493e (patch) | |
tree | 67a3e068bd7aaa4ea555559911d8da2f7184e91f /.config | |
parent | e56796db41c0cda778bb5505394b895fdd77e527 (diff) | |
download | toybox-29d98209b50f3296b36d10ffaab4e88c31fe493e.tar.gz |
Set CONFIG_TOYBOX_NORECURSE.
CONFIG_TOYBOX_NORECURSE means that toybox avoids re-execing where possible.
Unfortunately, this breaks runcon, which requires an exec(2) to have any
effect. Note that this only breaks runcon for toybox commands, and even then
only if you use the bare name (such as "id" rather than "/system/bin/id"),
which is why this went undetected for so long.
Change-Id: Ia02254346800c2c16ac6fc692dc8a79b1ac67f58
Diffstat (limited to '.config')
-rw-r--r-- | .config | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -327,7 +327,7 @@ CONFIG_TOYBOX_HELP=y CONFIG_TOYBOX_HELP_DASHDASH=y CONFIG_TOYBOX_I18N=y # CONFIG_TOYBOX_FREE is not set -# CONFIG_TOYBOX_NORECURSE is not set +CONFIG_TOYBOX_NORECURSE=y CONFIG_TOYBOX_DEBUG=y CONFIG_TOYBOX_UID_SYS=100 CONFIG_TOYBOX_UID_USR=500 |