kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 811b2eb3f0660c799e68e67f72d6ab82ca73965b
parent 8311c036d9c11f182522a69174c264ffeed88fb3
Author: Raymond Pasco <ray@the.ug>
Date:   Sun,  3 Nov 2019 11:47:49 +0100

Add dns to pledges when initializing curl

Without the dns pledge, curl can't resolve names on OpenBSD.

Diffstat:
src/curl.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/curl.c b/src/curl.c @@ -114,6 +114,9 @@ kore_curl_sysinit(void) #if defined(__linux__) kore_seccomp_filter("curl", filter_curl, KORE_FILTER_LEN(filter_curl)); #endif +#if defined(KORE_USE_PLATFORM_PLEDGE) + kore_platform_add_pledge("dns"); +#endif } int