Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jul 2014 22:29:45 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363402 - head/www/mod_jail/files
Message-ID:  <201407292229.s6TMTj0o002137@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Tue Jul 29 22:29:45 2014
New Revision: 363402
URL: http://svnweb.freebsd.org/changeset/ports/363402
QAT: https://qat.redports.org/buildarchive/r363402/

Log:
  Unbreak.

Added:
  head/www/mod_jail/files/
  head/www/mod_jail/files/patch-mod_jail.c   (contents, props changed)

Added: head/www/mod_jail/files/patch-mod_jail.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/mod_jail/files/patch-mod_jail.c	Tue Jul 29 22:29:45 2014	(r363402)
@@ -0,0 +1,17 @@
+--- ./mod_jail.c.orig	2014-07-29 18:28:40.000000000 -0400
++++ ./mod_jail.c	2014-07-29 18:28:56.000000000 -0400
+@@ -336,12 +336,12 @@
+ 	if (geteuid()) {
+ 	    ap_log_error(APLOG_MARK, APLOG_ALERT, 0, s,
+ 			"mod_jail can't jail when not started as root.");
+-	    return;
++	    return !OK;
+ 	}
+ 	if (chdir(cfg->jail.path) == -1) {
+ 	    ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
+     		     "mod_jail unable to chdir to %s.", cfg->jail.path);
+-    	    return;
++    	    return !OK;
+ 	}
+         if (jail(&cfg->jail) == -1) {
+             ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407292229.s6TMTj0o002137>