Hi,

I have filed an Ubuntu bug after being unable to use --db-attach=yes feature 
of valgrind.
https://bugs.launchpad.net/bugs/665850

It looks like this feature has been destroyed "by design":
https://wiki.ubuntu.com/Security/Features#ptrace
https://wiki.ubuntu.com/SecurityTeam/Roadmap/KernelHardening#ptrace%20Protection

This new hardened behaviour can be deactivated by modifying 
/proc/sys/kernel/yama/ptrace_scope
which is then global and not really pretty solution.

Does anybody have suggestion how to fix the problem in user space?

I can easily imagine scenario where I would need to use valgrind with debugger 
on a machine, where I have no root access.

Thanks,

Paul

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to