security-misc/etc/sysctl.d/ptrace_scope.conf

8 lines
390 B
Plaintext
Raw Normal View History

2019-05-16 12:29:20 -04:00
# Restricts the use of ptrace to root. This might break some programs running under WINE.
# A workaround for WINE would be to give the wineserver and wine-preloader ptrace capabilities. This can be done by running:
#
# sudo apt-get install libcap2-bin
# sudo setcap cap_sys_ptrace=eip /usr/bin/wineserver
# sudo setcap cap_sys_ptrace=eip /usr/bin/wine-preloader
2019-05-06 11:46:37 -04:00
kernel.yama.ptrace_scope=2