linaro-release team mailing list archive
-
linaro-release team
-
Mailing list archive
-
Message #00043
[Bug 667815] Re: gdb lost the ptrace education patch
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 Linaro
Release Team, which is a direct subscriber.
Status in “gdb” package in Ubuntu: In Progress
Status in “gdb” source package in Maverick: Fix Released
Status in “gdb” source package in Natty: In Progress
Bug description:
Binary package hint: gdb
The 7.2 gdb merge lost the ptrace education patch that was added in https://edge.launchpad.net/ubuntu/+source/gdb/7.1-1ubuntu3 (and ubuntu4). The patch was well-tested in Maverick during the release cycle, so regression potential is very low.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gdb 7.2-1ubuntu2
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Thu Oct 28 10:16:13 2010
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100406)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gdb