about summary refs log tree commit diff homepage
path: root/image.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-10-17 12:36:09 -0400
committerJune McEnroe <june@causal.agency>2021-10-17 12:36:09 -0400
commit36348922b01dcbf2154ab6b97bb78081d8ed3df8 (patch)
tree4995b050f9e5b1f29091338d1d552d55ee1b083a /image.c
parentBuild chroot only for OpenBSD, remove rc script (diff)
downloadtorus-36348922b01dcbf2154ab6b97bb78081d8ed3df8.tar.gz
torus-36348922b01dcbf2154ab6b97bb78081d8ed3df8.zip
Remove capsicum support
Diffstat (limited to '')
-rw-r--r--image.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/image.c b/image.c
index 8bdce53..584eb4c 100644
--- a/image.c
+++ b/image.c
@@ -27,10 +27,6 @@
 #include <unistd.h>
 #include <zlib.h>
 
-#ifdef __FreeBSD__
-#include <sys/capsicum.h>
-#endif
-
 #ifdef HAVE_KCGI
 #include <sys/types.h>
 #include <stdarg.h>
@@ -290,11 +286,6 @@ int main(int argc, char *argv[]) {
 	}
 #endif
 
-#ifdef __FreeBSD__
-	int error = cap_enter();
-	if (error) err(EX_OSERR, "cap_enter");
-#endif
-
 #ifdef HAVE_KCGI
 	if (kcgi) {
 		worker();