* Christopher Klooz:

> Even if the proposal would be implemented with ptrace_scope being 2,
> you would **not** need to reboot to change the ptrace_scope condition
> -> `sysctl kernel.yama.ptrace_scope=0` would temporarily disable it
> (immediately!) without reboot.

You can also run strace and gdb as root, where the restrictions do not
apply.  It's simpler than fiddling with the sysctl, I think.

I expect that the net effect of this change will be that quite a few of
us run these tools as root.  From a security perspective, it doesn't
matter because our machines tend to be single-user anyway, but there's
definitely a trade-off here.

I concur with the suggestions to split this into separate proposals.
The BPF hardening may also need further discussion.  As far as I can
tell, we already disable unprivileged BPF, so I don't see why further
hardening is needed, given that the code comes from root anyway.

Thanks,
Florian

-- 
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to