Philippe Waroquiers
2ce4aedfab
fix 319235 --db-attach=yes is broken with Yama ptrace scoping enabled
...
On Ubuntu systems, ptrace_scoping could forbid a process to ptrace another.
This ptrace scoping was already handled for vgdb by using SET_PTRACER
(the valgrind process must be ptraced by vgdb when it is blocked
in a syscall).
set_ptracer is however also needed when the old mechanism --db-attach=yes
is used.
The following changes are done:
* make the set_ptracer logic callable outside gdbserver
* make set_ptracer less restrictive (i.e. allow all
processes of the user to ptrace). This removes a limitation for vgdb.
* call the set_ptracer in the child launched for --db-attach=yes
* cleaned up the ptrace scope restriction message and doc as vgdb
is now working properly by default, even with ptrace_scope enabled.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13384
2013-05-09 21:29:23 +00:00
..
2011-05-06 21:02:55 +00:00
2012-03-14 21:27:35 +00:00
2012-03-14 21:27:35 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2012-03-14 21:27:35 +00:00
2012-03-14 21:27:35 +00:00
2011-05-06 21:02:55 +00:00
2012-05-24 21:33:17 +00:00
2012-05-24 21:33:17 +00:00
2012-05-24 21:33:17 +00:00
2012-03-14 21:27:35 +00:00
2012-03-14 21:27:35 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2012-03-14 21:27:35 +00:00
2012-03-14 21:27:35 +00:00
2011-05-06 21:02:55 +00:00
2012-05-24 21:33:17 +00:00
2012-05-24 21:33:17 +00:00
2012-05-24 21:33:17 +00:00
2012-05-24 21:33:17 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2012-03-14 01:15:59 +00:00
2012-03-14 01:15:59 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2013-05-02 22:06:31 +00:00
2013-02-27 23:17:33 +00:00
2013-02-27 23:17:33 +00:00
2013-02-27 23:17:33 +00:00
2013-02-27 23:17:33 +00:00
2013-02-27 23:17:33 +00:00
2013-02-27 23:17:33 +00:00
2013-02-27 23:17:33 +00:00
2013-02-27 23:17:33 +00:00
2013-02-27 23:17:33 +00:00
2013-02-27 23:17:33 +00:00
2013-02-27 23:17:33 +00:00
2012-06-07 09:23:23 +00:00
2012-06-07 09:23:23 +00:00
2012-06-07 09:23:23 +00:00
2012-06-07 09:23:23 +00:00
2012-06-07 09:23:23 +00:00
2012-06-07 09:23:23 +00:00
2012-06-07 09:23:23 +00:00
2012-06-07 09:23:23 +00:00
2012-06-07 09:23:23 +00:00
2012-06-07 09:23:23 +00:00
2012-06-07 09:23:23 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2012-05-25 23:22:39 +00:00
2012-05-25 23:22:39 +00:00
2011-05-06 21:02:55 +00:00
2012-03-14 01:15:59 +00:00
2012-03-14 01:15:59 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2012-03-13 02:13:50 +00:00
2012-11-24 19:41:54 +00:00
2012-11-24 19:41:54 +00:00
2012-11-23 16:17:43 +00:00
2013-05-09 21:29:23 +00:00
2012-03-13 02:13:50 +00:00
2012-03-13 02:13:50 +00:00
2012-03-13 02:13:50 +00:00
2012-03-13 02:13:50 +00:00
2012-03-13 02:13:50 +00:00
2012-03-13 02:13:50 +00:00
2012-03-13 02:13:50 +00:00
2012-03-13 02:13:50 +00:00
2012-03-13 02:13:50 +00:00
2012-03-13 02:13:50 +00:00
2012-03-13 02:13:50 +00:00
2012-03-13 02:13:50 +00:00
2012-03-13 02:13:50 +00:00
2012-03-13 02:13:50 +00:00
2013-01-26 16:45:01 +00:00
2013-01-20 17:11:58 +00:00
2012-11-23 16:17:43 +00:00
2013-02-27 23:17:33 +00:00
2012-11-23 16:17:43 +00:00
2012-11-23 16:17:43 +00:00
2013-02-27 23:17:33 +00:00
2013-01-19 21:08:27 +00:00
2012-11-23 16:17:43 +00:00
2012-11-23 16:17:43 +00:00
2013-02-27 23:17:33 +00:00
2012-11-23 16:17:43 +00:00
2012-11-23 16:17:43 +00:00
2012-11-23 16:17:43 +00:00
2012-11-23 16:17:43 +00:00
2011-05-06 21:02:55 +00:00