test42: disable attach-to-PM test
This commit is contained in:
parent
f4574783dc
commit
307ad7b3b0
1 changed files with 3 additions and 0 deletions
|
@ -855,8 +855,11 @@ void test_attach()
|
|||
if (errno != EPERM) e(4);
|
||||
|
||||
/* Attaching to PM is not allowed. */
|
||||
#if 0
|
||||
/* FIXME: disabled until we can reliably determine PM's pid */
|
||||
if (ptrace(T_ATTACH, 0, 0, 0) != -1) e(5);
|
||||
if (errno != EPERM) e(6);
|
||||
#endif
|
||||
|
||||
pid = traced_fork(test_attach_child);
|
||||
|
||||
|
|
Loading…
Reference in a new issue