sm8550-common: init: Reduce mlock() limit to 64 KB

Reduce the per-process limit of the mlock() family of system calls to
64 KB on account of a new CTS requirement.

Change-Id: I211668956bb6098e87cb7ef68bb7f1510d93d76f
This commit is contained in:
Chris Goldsworthy
2023-06-20 21:08:59 -07:00
committed by Mezaque Silver
parent 351effd9f3
commit 5f2aba5bc6

View File

@@ -103,8 +103,8 @@ on init
on post-fs on post-fs
on early-boot on early-boot
# set RLIMIT_MEMLOCK to 64MB # set RLIMIT_MEMLOCK to 64KB
setrlimit 8 67108864 67108864 setrlimit 8 65536 65536
exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qcom.early_boot.sh exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qcom.early_boot.sh
exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qti.can.sh exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qti.can.sh
setprop ro.sf.lcd_density ${vendor.display.lcd_density} setprop ro.sf.lcd_density ${vendor.display.lcd_density}