Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jan 2007 12:12:29 GMT
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 112705 for review
Message-ID:  <200701101212.l0ACCT1L028422@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=112705

Change 112705 by rdivacky@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);
 }



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