commit | e124f366de7d9acf87d16b7bde1d47d96d681ef3 | [log] [tgz] |
---|---|---|
author | Alexander Martinz <amartinz@shiftphones.com> | Wed Aug 17 10:51:02 2022 +0200 |
committer | Caleb Connolly <caleb.connolly@protonmail.com> | Wed Aug 17 15:44:27 2022 +0100 |
tree | fbdeca3ed74a2e0a448d3fb6e242f63d8be58ee4 | |
parent | 0c2db53b4a00aa116918b99ce4d3e5aac9e9cd7e [diff] |
shared: init: enable memfd See https://android-review.googlesource.com/c/device/linaro/dragonboard/+/2114881 Change-Id: I001a679e9fb6df61878c232e1078410b458fab2f Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/shared/init.sdm845.rc b/shared/init.sdm845.rc index b49fe94..3ce992c 100644 --- a/shared/init.sdm845.rc +++ b/shared/init.sdm845.rc
@@ -36,6 +36,11 @@ mkdir /data/vendor/wifi/wpa 0770 wifi wifi mkdir /data/vendor/wifi/wpa/sockets 0770 wifi wifi +on post-fs-data + # set sys.memfd_use to true now that the ashmem is dropped v5.18 + # https://lore.kernel.org/all/20220315123457.2354812-1-hch@lst.de/. + setprop sys.use_memfd true + on property:sys.boot_completed=1 chmod 0755 /sys/kernel/debug/tracing