mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 20:49:01 -04:00
Add dns to pledges when initializing curl
Without the dns pledge, curl can't resolve names on OpenBSD.
This commit is contained in:
parent
8311c036d9
commit
811b2eb3f0
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user