commit | 29d98209b50f3296b36d10ffaab4e88c31fe493e | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jan 19 10:14:21 2016 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Jan 19 10:14:21 2016 -0800 |
tree | 67a3e068bd7aaa4ea555559911d8da2f7184e91f | |
parent | e56796db41c0cda778bb5505394b895fdd77e527 [diff] |
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