Messages in this thread | | | Date | Sun, 2 Apr 2023 10:00:05 +0200 | From | Willy Tarreau <> | Subject | Re: [PATCH 3/3] tools/nolibc: add testcases for vfprintf |
| |
On Tue, Mar 28, 2023 at 09:01:31PM +0000, Thomas Weißschuh wrote: > + fd = memfd_create("vfprintf", 0); > + if (fd == -1) { > + pad_spc(llen, 64, "[FAIL]\n"); > + return 1; > + }
Also for this you'll need to include <sys/mman.h> in the part where nolibc is not detected so that it continues to work with regular libcs (at least glibc so that we have one reference to compare against).
Thanks, Willy
| |