aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorAndrea Righi <[email protected]>2020-04-10 10:02:59 +0000
committerShuah Khan <[email protected]>2020-04-14 15:49:13 +0000
commit651e0d881461ab2b1cd5cbec3a642d22fc8d6057 (patch)
tree64758fd2c504428a2f3b710350999686cc95ed6d /tools/perf/scripts/python/mem-phys-addr.py
parentselftests/harness: fix spelling mistake "SIGARLM" -> "SIGALRM" (diff)
downloadkernel-651e0d881461ab2b1cd5cbec3a642d22fc8d6057.tar.gz
kernel-651e0d881461ab2b1cd5cbec3a642d22fc8d6057.zip
kselftest/runner: allow to properly deliver signals to tests
While running seccomp_bpf, kill_after_ptrace() gets stuck if we run it via /usr/bin/timeout (that is the default), until the timeout expires. This is because /usr/bin/timeout is preventing to properly deliver signals to ptrace'd children (SIGSYS in this case). This problem can be easily reproduced by running: $ sudo make TARGETS=seccomp kselftest ... # [ RUN ] TRACE_syscall.skip_a# not ok 1 selftests: seccomp: seccomp_bpf # TIMEOUT The test is hanging at this point until the timeout expires and then it reports the timeout error. Prevent this problem by passing --foreground to /usr/bin/timeout, allowing to properly deliver signals to children processes. Signed-off-by: Andrea Righi <[email protected]> Acked-by: Kees Cook <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions