Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef605cb7 authored by Greg Hackmann's avatar Greg Hackmann Committed by android-build-merger
Browse files

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

am: 54bf0718

* commit '54bf0718':
  init.rc: add missing /dev/fd symlink
parents d484e7ce 54bf0718
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -214,6 +214,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