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

11 lines
517 B
Plaintext
Raw Normal View History

2019-10-07 01:30:56 -04:00
## Copyright (C) 2019 - 2019 ENCRYPTED SUPPORT LP <adrelanos@riseup.net>
## See the file COPYING for copying conditions.
## 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