aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2015-02-03 14:53:08 +1100
committerShuah Khan <[email protected]>2015-03-11 10:15:19 -0600
commit9a0b57451ae8142c74d65bddb6d7765818babbed (patch)
tree39b95b227b7a917319267520370381c77edb9e4c /scripts/patch-kernel
parent9eccca0843205f87c00404b663188b88eb248051 (diff)
selftests/exec: Check if the syscall exists and bail if not
On systems which don't implement sys_execveat(), this test produces a lot of output. Add a check at the beginning to see if the syscall is present, and if not just note one error and return. When we run on a system that doesn't implement the syscall we will get ENOSYS back from the kernel, so change the logic that handles __NR_execveat not being defined to also use ENOSYS rather than -ENOSYS. Signed-off-by: Michael Ellerman <[email protected]> Acked-by: David Drysdale <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions