Add fixups for previous change

This commit is contained in:
Justine Tunney 2022-06-27 15:00:51 -07:00
parent 3c92adfd6e
commit 5297897ba1
47 changed files with 68 additions and 15 deletions

View file

@ -39,6 +39,7 @@
__attribute__((__constructor__)) static void init(void) {
pledge("stdio rpath proc inet", 0);
errno = 0;
}
dontdiscard char *FormatPollFd(struct pollfd p[2]) {

View file

@ -25,6 +25,7 @@
__attribute__((__constructor__)) static void init(void) {
pledge("stdio rpath", 0);
errno = 0;
}
// TEST(select, allZero) {

View file

@ -29,6 +29,7 @@
__attribute__((__constructor__)) static void init(void) {
pledge("stdio rpath inet", 0);
errno = 0;
}
TEST(setsockopt, SO_RCVTIMEO) {

View file

@ -27,6 +27,7 @@
__attribute__((__constructor__)) static void init(void) {
pledge("stdio rpath tty", 0);
errno = 0;
}
TEST(socketpair, testAfUnixStream) {

View file

@ -33,6 +33,7 @@
__attribute__((__constructor__)) static void init(void) {
pledge("stdio rpath cpath proc unix", 0);
errno = 0;
}
char testlib_enable_tmp_setup_teardown;