Merge "add a property for controlling perf_event_paranoid"
am: 9292d7dae3
* commit '9292d7dae3bdfd5e50b8cad7fac843b2909bcec9':
add a property for controlling perf_event_paranoid
Change-Id: If3d0b6079e5e69527da078ad40ca228d5d9509f8
This commit is contained in:
commit
a6d6f45037
1 changed files with 5 additions and 0 deletions
|
@ -571,6 +571,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.
|
||||
##
|
||||
|
|
Loading…
Reference in a new issue