Introduction
Introduction Statistics Contact Development Disclaimer Help
Add rpath for OpenBSD. - geomyidae - a small C-based gopherd (mirror)
git clone git://git.codemadness.org/geomyidae
Log
Files
Refs
README
LICENSE
---
commit 0e9b1dd3e874665fdf6377ef52f3f41b8b29d155
parent 9884d6e830dba5751c5363086e74b5f9a9c1691d
Author: Christoph Lohmann <[email protected]>
Date: Wed, 23 Aug 2023 20:01:37 +0200
Add rpath for OpenBSD.
Diffstat:
M main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/main.c b/main.c
@@ -871,7 +871,7 @@ main(int argc, char *argv[])
#ifdef __OpenBSD__
char promises[31]; /* check the size needed in the fork too */
- snprintf(promises, sizeof(promises), "inet stdio proc exec %s",
+ snprintf(promises, sizeof(promises), "rpath inet stdio proc exec %s",
revlookup ? "dns" : "");
if (pledge(promises, NULL) == -1) {
perror("pledge");
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.