[master] cddc44128 Revert this last change, I was not awake.
Poul-Henning Kamp
phk at FreeBSD.org
Wed Sep 5 07:40:09 UTC 2018
commit cddc4412820771e4fdf4f0cde46f72241d7c9176
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Sep 5 07:39:29 2018 +0000
Revert this last change, I was not awake.
diff --git a/bin/varnishd/mgt/mgt_jail_unix.c b/bin/varnishd/mgt/mgt_jail_unix.c
index a173726f0..f91cf24b9 100644
--- a/bin/varnishd/mgt/mgt_jail_unix.c
+++ b/bin/varnishd/mgt/mgt_jail_unix.c
@@ -39,7 +39,6 @@
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
-#include <sys/limits.h>
#include "mgt/mgt.h"
#include "common/heritage.h"
@@ -281,7 +280,7 @@ vju_make_workdir(const char *dname, const char *what, struct vsb *vsb)
dname, strerror(errno));
return (1);
}
- AZ(chown(dname, UID_MAX, vju_gid));
+ AZ(chown(dname, -1, vju_gid));
AZ(seteuid(vju_uid));
return (0);
}
More information about the varnish-commit
mailing list