2022年9月29日 星期四

strace encouter : Operation not permitted

strace -fp 1
strace: Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf: Operation not permitted
strace: attach: ptrace(PTRACE_SEIZE, 1): Operation not permitted

Get root access

查看 /etc/sysctl.d/10-prace.conf

kernel.yama.ptrace_scope = 1

把下列的值改成0 , 或者
echo > /proc/sys/kernel/yama/ptrace_scope

沒有留言:

如何下載Facebook 相簿跟影片

影片:透過chrome plug-in : Video Downloader for Facebook<sup>TM</sup> 相簿: 透過chrome plug-in : Tampermonkey 搭配script : Facebo...