Tree for my work on http://tools.suckless.org/quark/
Find a file
Laslo Hunhold 5ee8c07e7e
Fix unveil(2) usage
Thanks to the feedback by z0lqLA! I forgot that unveil(NULL, NULL)
only locks further unveil calls when there has been at least _one_ prior
call to unveil!

To fix this, we reorder the calls and also make sure to call unveil()
before we disallow unveils via pledge.

Signed-off-by: Laslo Hunhold <dev@frign.de>
2020-03-20 20:35:34 +01:00
arg.h Correct arg.h license 2018-07-16 11:49:51 +02:00
config.def.h Specify UTF-8 for non-binary content-types 2019-01-02 17:04:23 +01:00
config.mk Be extra pedantic again and remove all warnings 2018-03-05 00:30:53 +01:00
http.c Change target prefix mapping argument order 2019-02-24 00:53:03 +01:00
http.h Refactor the single source file into multiple modules 2018-02-04 21:27:33 +01:00
LICENSE Fix one byte NULL stack overflow 2018-07-16 22:48:20 +02:00
main.c Fix unveil(2) usage 2020-03-20 20:35:34 +01:00
Makefile Refactor the single source file into multiple modules 2018-02-04 21:27:33 +01:00
quark.1 Improve tokenization for m- and v-flag parsing 2019-02-24 21:50:39 +01:00
resp.c Specify UTF-8 for non-binary content-types 2019-01-02 17:04:23 +01:00
resp.h Refactor the single source file into multiple modules 2018-02-04 21:27:33 +01:00
sock.c Use compound literals and explicit initialization 2019-05-30 23:15:47 +02:00
sock.h Refactor the single source file into multiple modules 2018-02-04 21:27:33 +01:00
util.c Use pledge(2) and unveil(2) on OpenBSD 2019-09-23 16:56:28 +02:00
util.h Use pledge(2) and unveil(2) on OpenBSD 2019-09-23 16:56:28 +02:00