Debian Codegraph @

strace-4.6/tests/ptrace_setoptions

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2
3 # Ensure that strace tests kernel PTRACE_O_TRACECLONE support properly.
4
5 . "${srcdir=.}/init.sh"
6
7 case "$(unamescip-shell system . . uname. -rs)" in
8 Linux\ 2.6.*) ;;
9 *) skip_ 'The kernel is not Linux 2.6.*' ;;
10 esac
11
12 check_strace
13 check_prog timeout
14
15 timeoutscip-shell system . . timeout. -s 9 9 \
16 $STRACE -df -enone /scip-shell filesystem . . `/`. 2>&1 |
17 grepscip-shell system . . grep. -F -x 'ptrace_setoptions = 0xe' > /dev/nullscip-shell filesystem . . `/dev/null`. ||
18 fail_ 'strace failed to recognize proper kernel PTRACE_O_TRACECLONE support'