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-06-26 09:13:27 +00:00
2012-10-17 21:32:03 +00:00
2011-05-06 21:02:55 +00:00
2011-10-03 23:39:54 +00:00
2011-06-18 08:28:04 +00:00
2011-10-08 12:41:12 +00:00
2011-07-04 22:00:41 +00:00
2012-10-17 21:32:03 +00:00
2011-06-28 08:20:39 +00:00
2011-06-26 09:26:48 +00:00
2013-05-09 21:29:23 +00:00
2013-02-24 23:16:58 +00:00
2012-01-26 23:13:52 +00:00
2012-01-26 23:13:52 +00:00
2012-01-26 23:13:52 +00:00
2012-01-26 23:13:52 +00:00
2011-05-06 21:02:55 +00:00
2012-02-15 22:29:30 +00:00
2011-06-28 08:20:39 +00:00
2011-05-06 21:02:55 +00:00
2011-05-10 11:01:07 +00:00
2011-05-27 13:23:44 +00:00
2011-06-26 09:13:27 +00:00
2011-05-06 21:02:55 +00:00
2011-06-28 08:20:39 +00:00
2011-06-26 09:13:27 +00:00
2011-05-15 06:07:57 +00:00
2011-05-06 21:02:55 +00:00
2011-06-28 08:20:39 +00:00
2013-01-23 22:10:28 +00:00
2011-06-28 08:20:39 +00:00
2011-05-10 11:01:07 +00:00
2011-05-06 21:02:55 +00:00
2011-06-28 08:20:39 +00:00
2011-05-17 17:15:07 +00:00
2011-05-10 11:01:07 +00:00
2011-05-27 13:23:44 +00:00
2011-06-28 08:20:39 +00:00
2011-05-27 13:23:44 +00:00
2011-05-06 21:02:55 +00:00
2011-06-28 08:20:39 +00:00
2011-05-06 21:02:55 +00:00
2011-10-09 19:58:19 +00:00
2011-05-06 21:02:55 +00:00
2011-06-28 08:20:39 +00:00
2011-05-06 21:02:55 +00:00
2011-06-28 08:20:39 +00:00
2011-06-26 12:41:33 +00:00
2012-10-17 21:32:03 +00:00
2012-01-14 13:53:13 +00:00
2012-10-17 21:32:03 +00:00
2011-10-03 23:39:54 +00:00
2011-06-26 09:26:48 +00:00
2012-10-17 21:32:03 +00:00
2011-07-04 22:00:41 +00:00
2011-07-04 22:00:41 +00:00
2012-10-17 21:32:03 +00:00
2011-07-04 22:00:41 +00:00
2011-06-18 08:28:04 +00:00
2011-05-06 21:02:55 +00:00
2011-06-28 08:20:39 +00:00
2011-05-31 07:09:06 +00:00
2012-08-01 22:03:12 +00:00
2011-06-18 08:28:04 +00:00
2011-05-06 21:02:55 +00:00
2011-06-28 08:20:39 +00:00
2011-05-31 07:09:06 +00:00
2012-08-01 22:03:12 +00:00
2011-05-06 21:02:55 +00:00
2011-05-06 21:02:55 +00:00
2011-06-28 08:20:39 +00:00
2011-05-10 11:01:07 +00:00
2011-07-04 22:00:41 +00:00
2011-06-18 08:28:04 +00:00
2011-05-06 21:02:55 +00:00
2012-06-14 19:56:20 +00:00
2012-10-17 21:32:03 +00:00
2011-05-27 13:23:44 +00:00
2011-05-06 21:02:55 +00:00
2013-01-20 17:11:58 +00:00
2011-06-28 08:20:39 +00:00
2011-05-10 11:01:07 +00:00
2011-05-15 06:07:57 +00:00
2011-06-18 08:28:04 +00:00
2011-05-06 21:02:55 +00:00
2011-06-28 08:20:39 +00:00
2012-10-17 21:32:03 +00:00
2011-05-17 17:15:07 +00:00
2011-07-04 22:00:41 +00:00
2011-07-04 22:00:41 +00:00
2011-06-15 21:30:55 +00:00
2012-10-17 21:32:03 +00:00
2012-10-17 21:32:03 +00:00
2012-10-17 21:32:03 +00:00
2012-10-17 21:32:03 +00:00
2012-10-17 21:32:03 +00:00
2012-10-17 21:32:03 +00:00
2012-10-17 21:32:03 +00:00
2012-10-17 21:32:03 +00:00
2012-10-17 21:32:03 +00:00
2012-10-17 21:32:03 +00:00
2012-10-17 21:32:03 +00:00
2012-10-17 21:32:03 +00:00
2012-10-17 21:32:03 +00:00
2012-10-17 21:32:03 +00:00
2012-10-17 21:32:03 +00:00
2012-03-30 20:25:26 +00:00
2012-10-17 21:32:03 +00:00
2012-05-29 17:04:13 +00:00
2012-10-17 21:32:03 +00:00
2011-06-26 09:36:38 +00:00
2013-02-24 23:16:58 +00:00
2013-02-24 23:16:58 +00:00
2013-02-24 23:16:58 +00:00
2013-02-24 23:16:58 +00:00
2011-06-26 09:36:38 +00:00
2011-06-26 09:36:38 +00:00
2011-06-28 08:20:39 +00:00
2011-06-26 09:36:38 +00:00
2012-05-29 17:04:13 +00:00
2012-07-28 13:06:45 +00:00
2013-02-24 23:16:58 +00:00
2012-08-15 13:27:23 +00:00
2011-05-10 11:01:07 +00:00
2011-05-15 05:44:59 +00:00
2011-05-06 21:02:55 +00:00