diff --git a/test/libc/sock/sendfile_test.c b/test/libc/sock/sendfile_test.c index d7ce70d8b..b907cf605 100644 --- a/test/libc/sock/sendfile_test.c +++ b/test/libc/sock/sendfile_test.c @@ -32,7 +32,7 @@ char testlib_enable_tmp_setup_teardown; void SetUpOnce(void) { - pledge("stdio rpath cpath proc inet", 0); + pledge("stdio rpath wpath cpath proc inet", 0); errno = 0; } diff --git a/tool/build/pledge.c b/tool/build/pledge.c index f0c56c60e..48c7b0997 100644 --- a/tool/build/pledge.c +++ b/tool/build/pledge.c @@ -100,7 +100,7 @@ usage: pledge.com [-hnN] PROG ARGS...\n\ - vminfo: allows /proc/stat, /proc/self/maps, etc.\n\ - tmppath: allows /tmp, $TMPPATH, lstat, unlink\n\ \n\ -pledge.com v1.3\n\ +pledge.com v1.4\n\ copyright 2022 justine alexandra roberts tunney\n\ https://twitter.com/justinetunney\n\ https://linkedin.com/in/jtunney\n\