From 82b1e6144367d98ffd82904898e807289cdfa131 Mon Sep 17 00:00:00 2001 From: Justine Tunney Date: Sun, 23 Jul 2023 16:43:22 -0700 Subject: [PATCH] Fix Landlock Make build config issue --- test/libc/sock/test.mk | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/test/libc/sock/test.mk b/test/libc/sock/test.mk index f4274af66..b2ecdda48 100644 --- a/test/libc/sock/test.mk +++ b/test/libc/sock/test.mk @@ -60,9 +60,6 @@ o/$(MODE)/test/libc/sock/unix_test.com.runs: \ private .PLEDGE = stdio rpath wpath cpath fattr proc unix o/$(MODE)/test/libc/sock/recvfrom_test.com.runs \ -o/$(MODE)/test/libc/sock/recvmsg_test.com.runs \ -o/$(MODE)/test/libc/sock/sendrecvmsg_test.com.runs \ -o/$(MODE)/test/libc/sock/nointernet_test.com.runs \ o/$(MODE)/test/libc/sock/nonblock_test.com.runs \ o/$(MODE)/test/libc/sock/socket_test.com.runs \ o/$(MODE)/test/libc/sock/shutdown_test.com.runs \ @@ -72,11 +69,17 @@ o/$(MODE)/test/libc/sock/poll_test.com.runs \ o/$(MODE)/test/libc/sock/pollfd_test.com.runs: \ private .PLEDGE = stdio rpath wpath cpath fattr proc inet +o/$(MODE)/test/libc/sock/sendrecvmsg_test.com.runs \ +o/$(MODE)/test/libc/sock/nointernet_test.com.runs: \ + private .PLEDGE = stdio rpath wpath cpath fattr proc inet recvfd sendfd + o/$(MODE)/test/libc/sock/socket_test.com.runs: \ private .INTERNET = 1 # todo: ipv6 filtering o/$(MODE)/test/libc/sock/recvmsg_test.com.runs: \ private .INTERNET = 1 # need to bind to 0.0.0.0 +o/$(MODE)/test/libc/sock/recvmsg_test.com.runs: \ + private .PLEDGE = stdio rpath wpath cpath fattr proc inet recvfd sendfd $(TEST_LIBC_SOCK_OBJS): test/libc/sock/test.mk