crash02: Blacklist the pause() syscall
PATCH 1/1 crash02: Blacklist the pause() syscall
pause() causes the calling process/thread to sleep indefinitely until waken up by a signal. This will cause test timeouts.
Signed-off-by Martin Doucha <[email protected]>
--- testcases/misc/crash/crash02.c | 3 +++ 1 file changed, 3 insertions(+)
testcases/misc/crash/crash02.c +3 -0
@@ -473,6 +473,9 @@ int in_blacklist(int sysno)#endif #if defined(__NR_vhangup) && __NR_vhangup __NR_vhangup, /* int vhangup(void); - terminal logout */ +#endif +#if defined(__NR_pause) && __NR_pause + __NR_pause,/* int pause(void); - sleep indefinitely */ #endif-1 };
Signature · 1 line
2.26.2
PATCH 1/1 crash02: Blacklist the pause() syscall
Hi Martin,
Quoted 2 lines
pause()causes the calling process/thread to sleep indefinitely until waken up by a signal. This will cause test timeouts.
Thanks, pushed!
Kind regards,
Petr