summaryrefslogtreecommitdiffstats
path: root/usr.sbin/httpd/src
diff options
context:
space:
mode:
authoravsm <avsm@openbsd.org>2003-04-30 23:08:18 +0000
committeravsm <avsm@openbsd.org>2003-04-30 23:08:18 +0000
commit10ca3bde52893c39f3d8030348f1e8a65512e05d (patch)
treef99720fdf0778f6df2c67c795cdf5a96acc57364 /usr.sbin/httpd/src
parentdo not be hungry for buffers and allocate lower than a max (for iodc io) (diff)
downloadwireguard-openbsd-10ca3bde52893c39f3d8030348f1e8a65512e05d.tar.xz
wireguard-openbsd-10ca3bde52893c39f3d8030348f1e8a65512e05d.zip
add an ap_server_strip_chroot for LoadModule tags. this partially
unbreaks apachectl restarts (it still dies when it hits dlopen later on) henning@ ok
Diffstat (limited to 'usr.sbin/httpd/src')
-rw-r--r--usr.sbin/httpd/src/modules/standard/mod_so.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/httpd/src/modules/standard/mod_so.c b/usr.sbin/httpd/src/modules/standard/mod_so.c
index bb045d6cc92..56ab08dae68 100644
--- a/usr.sbin/httpd/src/modules/standard/mod_so.c
+++ b/usr.sbin/httpd/src/modules/standard/mod_so.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mod_so.c,v 1.9 2003/04/15 16:32:41 henning Exp $ */
+/* $OpenBSD: mod_so.c,v 1.10 2003/04/30 23:08:18 avsm Exp $ */
/* ====================================================================
* The Apache Software License, Version 1.1
@@ -245,6 +245,7 @@ static const char *load_module(cmd_parms *cmd, void *dummy,
/*
* Load the file into the Apache address space
*/
+ ap_server_strip_chroot(szModuleFile, 0);
if (!(modhandle = ap_os_dso_load(szModuleFile))) {
const char *my_error = ap_os_dso_error();
return ap_pstrcat (cmd->pool, "Cannot load ", szModuleFile,