diff options
author | Greg Hackmann <ghackmann@google.com> | 2016-02-01 22:07:42 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-02-01 22:07:42 +0000 |
commit | 7026d48d84b4bf536e52853a3438b0a1dce490a7 (patch) | |
tree | 663ea49587f078c57aa0fe029c8b1f13b403ed9a /rootdir/init.rc | |
parent | 5fff7da71e81b2db01728cb6903674ea97f179fb (diff) | |
parent | ef605cb7495cec368f7be015f924479969dd8fc2 (diff) |
Merge "init.rc: add missing /dev/fd symlink" am: 54bf0718f4
am: ef605cb749
* commit 'ef605cb7495cec368f7be015f924479969dd8fc2':
init.rc: add missing /dev/fd symlink
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r-- | rootdir/init.rc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 343d316e7..438fe59ff 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -219,6 +219,10 @@ on init # enable armv8_deprecated instruction hooks write /proc/sys/abi/swp 1 + # Linux's execveat() syscall may construct paths containing /dev/fd + # expecting it to point to /proc/self/fd + symlink /proc/self/fd /dev/fd + # Healthd can trigger a full boot from charger mode by signaling this # property when the power button is held. on property:sys.boot_from_charger_mode=1 |