I have confirmed this fix. Before upgrade, trying to attach to a process with gdb as non-root fails with 'ptrace: Operation not permitted.' After upgrade, it instead outputs the full explanation:
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 ptrace: Operation not permitted. If I set kernel.yama.ptrace_scope=0, gdb still works correctly with no errors. Likewise, it works fine when attaching as root. Marking verification-done, copying to -updates. ** Tags added: verification-done ** Tags removed: verification-needed -- gdb lost the ptrace education patch https://bugs.launchpad.net/bugs/667815 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
