PERFORCE change 112705 for review

Roman Divacky rdivacky at FreeBSD.org
Wed Jan 10 04:12:30 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=112705

Change 112705 by rdivacky at rdivacky_witten on 2007/01/10 12:11:59

	Inherit setting of the default emulation version to the jails.
	
	Pointed out by: jhb

Affected files ...

.. //depot/projects/linuxolator/src/sys/compat/linux/linux_mib.c#7 edit

Differences ...

==== //depot/projects/linuxolator/src/sys/compat/linux/linux_mib.c#7 (text+ko) ====

@@ -233,7 +233,7 @@
 {
 	struct prison *pr;
 	struct linux_prison *lpr;
-	int use26 = 0;		/* defaults to off */
+	int use26 = linux_use_linux26;
 
 	pr = td->td_ucred->cr_prison;
 	if (pr != NULL) {
@@ -241,8 +241,7 @@
 			lpr = (struct linux_prison *)pr->pr_linux;
 			use26 = lpr->pr_use_linux26;
 		}
-	} else
-		use26 = linux_use_linux26;
+	}
 	
 	return (use26);
 }


More information about the p4-projects mailing list