Files
vendor_redroid/post-fs-data.redroid.sh
2025-09-16 15:54:17 +08:00

6 lines
149 B
Bash

#!/system/bin/sh
## enable `memfd` if `ashmem` missing
## memfd is disabled in post-fs-data (init.rc)
[ -c /dev/ashmem ] || setprop sys.use_memfd 1