Watch
1
0
Fork
You've already forked android_device_oneplus_dre
0

dre: init: Remove redundant mlock() limit setting

The per-process limit for the mlock() family of system calls only
needs to be set in one group of config files. Remove from here as it
is being set in init.qcom.rc .

Change-Id: Ia7d46800eabe2954e3e2618a38ff180c88fee348
This commit is contained in:
Chris Goldsworthy 2023-06-20 20:59:14 -07:00 committed by Albert Tang
commit f18f325a6d

View file

@ -81,10 +81,6 @@ on fs
mkdir /mnt/vendor/persist/wlan 0700 system system mkdir /mnt/vendor/persist/wlan 0700 system system
chmod 0700 /mnt/vendor/persist/wlan chmod 0700 /mnt/vendor/persist/wlan
on post-fs
# set RLIMIT_MEMLOCK to 64MB
setrlimit 8 67108864 67108864
on late-fs on late-fs
mount_all --late mount_all --late