Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2015 09:33:51 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r279361 - in head: sys/kern sys/sys usr.sbin/jail
Message-ID:  <1425141231.1281.39.camel@freebsd.org>
In-Reply-To: <alpine.BSF.2.00.1502281802370.37279@woozle.rinet.ru>
References:  <201502271628.t1RGSurE067472@svn.freebsd.org> <alpine.BSF.2.00.1502281802370.37279@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2015-02-28 at 18:03 +0300, Dmitry Morozovsky wrote:
> Ian,
> 
> On Fri, 27 Feb 2015, Ian Lepore wrote:
> 
> > Author: ian
> > Date: Fri Feb 27 16:28:55 2015
> > New Revision: 279361
> > URL: https://svnweb.freebsd.org/changeset/base/279361
> > 
> > Log:
> >   Allow the kern.osrelease and kern.osreldate sysctl values to be set in a
> >   jail's creation parameters.  This allows the kernel version to be reliably
> >   spoofed within the jail whether examined directly with sysctl or
> >   indirectly with the uname -r and -K options.
> >   
> >   The values can only be set at jail creation time, to eliminate the need
> >   for any locking when accessing the values via sysctl.
> >   
> >   The overridden values are inherited by nested jails (unless the config for
> >   the nested jails also overrides the values).
> >   
> >   There is no sanity or range checking, other than disallowing an empty
> >   release string or a zero release date, by design.  The system
> >   administrator is trusted to set sane values.  Setting values that are
> >   newer than the actual running kernel will likely cause compatibility
> >   problems.
> >   
> >   Differential Revision:	https://reviews.freebsd.org/D1948
> >   Relnotes:	yes
> 
> Thanks, very useful feature.  Just one question: no MFC planned?
> 
> [diff snipped]
> 
> -- 
> Sincerely,
> D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
> [ FreeBSD committer:                                 marck@FreeBSD.org ]
> ------------------------------------------------------------------------
> *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
> ------------------------------------------------------------------------

I will definitely mfc (we need this on 10-stable at $work), but I hate
being spammed and/or nagged by robots so I don't use MFC: tags.

-- ian





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