Skip to content

Commit 45db822

Browse files
Skip test for "VMADDR_CID_RESERVED" and "VMADDR_CID_LOCAL"
VMADDR_CID_RESERVED is NOT available from Linux v5.6. VMADDR_CID_LOCAL is available only on Linux >= v5.6. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
1 parent e93797a commit 45db822

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libc-test/build.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2614,6 +2614,12 @@ fn test_linux(target: &str) {
26142614
// We should do so after a while.
26152615
"SOMAXCONN" if gnu => true,
26162616

2617+
// deprecated: not available from Linux kernel 5.6:
2618+
"VMADDR_CID_RESERVED" => true,
2619+
2620+
// Require Linux kernel 5.6:
2621+
"VMADDR_CID_LOCAL" => true,
2622+
26172623
_ => false,
26182624
}
26192625
});

0 commit comments

Comments
 (0)