Merge \\\"add a property for controlling perf_event_paranoid\\\" into mnc-dev am: 050243df76 am: f11efb251d

am: 2a311a9b38

Change-Id: I6ea7f744704405be67cf3cfa175b4142b5255e05
This commit is contained in:
Daniel Micay 2016-06-23 21:10:41 +00:00 committed by android-build-merger
commit 2d48c395cc

View file

@ -552,6 +552,11 @@ on property:sys.sysctl.extra_free_kbytes=*
on property:sys.sysctl.tcp_def_init_rwnd=*
write /proc/sys/net/ipv4/tcp_default_init_rwnd ${sys.sysctl.tcp_def_init_rwnd}
on property:security.perf_harden=0
write /proc/sys/kernel/perf_event_paranoid 1
on property:security.perf_harden=1
write /proc/sys/kernel/perf_event_paranoid 3
## Daemon processes to be run by init.
##