Skip to contentSkip to conversation

pipe2: add min_kver = "2.6.35" in pipe2_04

LTP Li Wang 1 participant 1 message Apr 26, 2020

lore
Share & tools
lore

Li Wang

author
#0 lore raw

To change the capacity of a pipe was involved from kernel-2.6.35 version.

F_SETPIPE_SZ (int; since Linux 2.6.35)
F_GETPIPE_SZ (void; since Linux 2.6.35)

---
 testcases/kernel/syscalls/pipe2/pipe2_04.c | 1 +
 1 file changed, 1 insertion(+)
testcases/kernel/syscalls/pipe2/pipe2_04.c +1 -0
index 1edb3f151..432007e4d 100644
@@ -98,6 +98,7 @@ static void cleanup(void)
 }
 
 static struct tst_test test = {
+	.min_kver = "2.6.35",
 	.test_all = test_pipe2,
 	.setup = setup,
 	.cleanup = cleanup,
Signature · 1 line
2.21.1