[LTP] [PATCH] syscalls/shmctl04: Add kernel version requestions
Zhao Gongyi
zhaogongyi@huawei.com
Mon Mar 29 15:46:47 CEST 2021
SHM_STAT_ANY is imported to linux in v4.17.
Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
---
testcases/kernel/syscalls/ipc/shmctl/shmctl04.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases/kernel/syscalls/ipc/shmctl/shmctl04.c b/testcases/kernel/syscalls/ipc/shmctl/shmctl04.c
index 9e8ec4199..18ac8ba0a 100644
--- a/testcases/kernel/syscalls/ipc/shmctl/shmctl04.c
+++ b/testcases/kernel/syscalls/ipc/shmctl/shmctl04.c
@@ -168,6 +168,7 @@ static void cleanup(void)
}
static struct tst_test test = {
+ .min_kver = "4.17",
.setup = setup,
.cleanup = cleanup,
.test = verify_shminfo,
--
2.17.1
More information about the ltp
mailing list