patches for easier mirroring, to eliminate a special copy, to make www.freebsd.org/security a full copy of security.freebsd.org and be eventually be the same. For now files are just sitting there. The symlinks are missing. Discussed on: www (repository location) Discussed with: simon (so)
15 lines
487 B
Diff
15 lines
487 B
Diff
Index: usr.sbin/jail/jail.c
|
|
===================================================================
|
|
--- usr.sbin/jail/jail.c (revision 204873)
|
|
+++ usr.sbin/jail/jail.c (working copy)
|
|
@@ -511,6 +511,10 @@
|
|
*value++ = '\0';
|
|
}
|
|
|
|
+ /* jail_set won't chdir along with its chroot, so do it here. */
|
|
+ if (!strcmp(name, "path") && chdir(value) < 0)
|
|
+ err(1, "chdir: %s", value);
|
|
+
|
|
/* Check for repeat parameters */
|
|
for (i = 0; i < nparams; i++)
|
|
if (!strcmp(name, params[i].jp_name)) {
|