aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ubifs/commit.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2015-02-03 03:53:08 +0000
committerShuah Khan <[email protected]>2015-03-11 16:15:19 +0000
commit9a0b57451ae8142c74d65bddb6d7765818babbed (patch)
tree39b95b227b7a917319267520370381c77edb9e4c /fs/ubifs/commit.c
parentLinux 4.0-rc3 (diff)
downloadkernel-9a0b57451ae8142c74d65bddb6d7765818babbed.tar.gz
kernel-9a0b57451ae8142c74d65bddb6d7765818babbed.zip
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 'fs/ubifs/commit.c')
0 files changed, 0 insertions, 0 deletions