Merge "init.rc: add missing /dev/fd symlink" am: 54bf0718f4

am: ef605cb749

* commit 'ef605cb7495cec368f7be015f924479969dd8fc2':
  init.rc: add missing /dev/fd symlink
This commit is contained in:
Greg Hackmann 2016-02-01 22:07:42 +00:00 committed by android-build-merger
commit 7026d48d84
1 changed files with 4 additions and 0 deletions

View File

@ -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