|
From: Philippe W. <phi...@sk...> - 2011-10-08 16:03:33
|
> Log: > On systems where /proc/sys/kernel/yama/ptrace_scope exists we need to > check its value to avoid testcase failure. What are the failure symptoms that are observed ? It is not clear to me why this needs to be checked. A comment in the vgtest file indicates that there is no need of ptrace invoker : as the process is always executing basic blocks, it will poll for vgdb as part of the scheduler loop, and so will allow vgdb to transmit its command even if ptrace is not implemented in vgdb or restricted by the kernel. A working ptrace invoker is however needed in case a process is blocked in a system call (see e.g. mcinvokeWS.vgtest). Otherwise, if really a working ptrace invoker is needed, other tests are checking that with the existence of the file vgdb.ptraceinvoker (see e.g. mcinvokeWS.vgtest). Philippe |