make pid_max = 65535; this will affect host os if pid_max not isolated by pidns

This commit is contained in:
Ziyang Zhou
2021-08-03 04:48:21 +00:00
parent ebb6845228
commit 2644c913aa

View File

@@ -4,6 +4,9 @@ on early-init
mount none /system/etc /etc bind rec # docker fix mount none /system/etc /etc bind rec # docker fix
mount sysfs sysfs /sys rw remount # ueventd fix mount sysfs sysfs /sys rw remount # ueventd fix
# 32bit app require this, remove for 64bit only redroid
write /proc/sys/kernel/pid_max 65535
# inputflinger require this dir # inputflinger require this dir
mkdir /dev/input mkdir /dev/input