From owner-svn-src-head@FreeBSD.ORG Fri Aug 30 17:14:01 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E46A71B3; Fri, 30 Aug 2013 17:14:01 +0000 (UTC) (envelope-from jase@FreeBSD.org) Received: from svr06-mx.btshosting.co.uk (mx-2.btshosting.co.uk [IPv6:2a01:4f8:121:2403:2::]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A56472325; Fri, 30 Aug 2013 17:14:01 +0000 (UTC) Received: from [192.168.1.65] (unknown [90.202.210.251]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by svr06-mx.btshosting.co.uk (Postfix) with ESMTPSA id CCC5184438; Fri, 30 Aug 2013 17:13:59 +0000 (UTC) Message-ID: <5220D2D5.6030105@FreeBSD.org> Date: Fri, 30 Aug 2013 18:13:57 +0100 From: Jase Thew Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: Jamie Gritton Subject: Re: svn commit: r252841 - in head/sys: dev/mem kern sys References: <201307052131.r65LVGKr089550@svn.freebsd.org> In-Reply-To: <201307052131.r65LVGKr089550@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Aug 2013 17:14:02 -0000 On 05/07/2013 22:31, Jamie Gritton wrote: > Author: jamie > Date: Fri Jul 5 21:31:16 2013 > New Revision: 252841 > URL: http://svnweb.freebsd.org/changeset/base/252841 > > Log: > Add new privileges, PRIV_KMEM_READ and PRIV_KMEM_WRITE, used in opening > /dev/kmem and /dev/mem (in addition to traditional file permission checks). > PRIV_KMEM_READ is different from other PRIV_* checks in that it's allowed > by default. > > Reviewed by: kib, mckusick > Hi Jamie, As a result of this commit (and r252845), it is no longer possible to access /dev/mem and /dev/kmem inside of a jail - is this behaviour intentional? # dd if=/dev/mem bs=64 count=1 dd: /dev/mem: Operation not permitted Regards, Jase. -- Jase Thew jase@FreeBSD.org FreeBSD Ports Committer