diff options
author | Yang Xu <xuyang2018.jy@cn.fujitsu.com> | 2020-08-18 11:43:28 +0800 |
---|---|---|
committer | Cyril Hrubis <chrubis@suse.cz> | 2020-09-08 15:00:55 +0200 |
commit | 76acfabd3964d33ae42c5cb88c0dfaa3a3671289 (patch) | |
tree | 0e9c01eb235ad72d570c466fe7d10b8076508acb /runtest | |
parent | 9677c557384c36b3c947c97457cc9cae04f0c332 (diff) |
syscalls/msgrcv03: Add error test for MSG_COPY flag
The MSG_COPY flag was added in 3.8 for the implementation of the kernel
checkpoint-restore facility and is available only if the kernel was
built with the CONFIG_CHECKPOINT_RESTORE option.
On old kernel without this support, it only ignores this flag and doesn't
report ENOSYS/EINVAL error, so I add kconfig and min_kver check.
Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com>
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Diffstat (limited to 'runtest')
-rw-r--r-- | runtest/syscalls | 1 | ||||
-rw-r--r-- | runtest/syscalls-ipc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/runtest/syscalls b/runtest/syscalls index 35770e6db..dc0ca5626 100644 --- a/runtest/syscalls +++ b/runtest/syscalls @@ -813,6 +813,7 @@ msgget05 msgget05 msgrcv01 msgrcv01 msgrcv02 msgrcv02 +msgrcv03 msgrcv03 msgrcv05 msgrcv05 msgrcv06 msgrcv06 msgrcv07 msgrcv07 diff --git a/runtest/syscalls-ipc b/runtest/syscalls-ipc index e6837414c..94d1e4001 100644 --- a/runtest/syscalls-ipc +++ b/runtest/syscalls-ipc @@ -17,6 +17,7 @@ msgget05 msgget05 msgrcv01 msgrcv01 msgrcv02 msgrcv02 +msgrcv03 msgrcv03 msgrcv05 msgrcv05 msgrcv06 msgrcv06 msgrcv07 msgrcv07 |