From owner-freebsd-security@FreeBSD.ORG Fri May 2 10:02:38 2014 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9145EC0; Fri, 2 May 2014 10:02:38 +0000 (UTC) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 3994B1382; Fri, 2 May 2014 10:02:37 +0000 (UTC) Received: from nine.des.no (smtp.des.no [194.63.250.102]) by smtp-int.des.no (Postfix) with ESMTP id 06FE4623B; Fri, 2 May 2014 10:02:37 +0000 (UTC) Received: by nine.des.no (Postfix, from userid 1001) id 9197431A48; Fri, 2 May 2014 12:02:39 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Matthew Seaman Subject: Re: FreeBSD Security Advisory FreeBSD-SA-14:07.devfs References: <536147DE.5030703@delphij.net> <53614D16.9060206@FreeBSD.org> Date: Fri, 02 May 2014 12:02:39 +0200 In-Reply-To: <53614D16.9060206@FreeBSD.org> (Matthew Seaman's message of "Wed, 30 Apr 2014 20:20:54 +0100") Message-ID: <86tx98ijls.fsf@nine.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Corey Smith , freebsd-security@freebsd.org, d@delphij.net X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2014 10:02:38 -0000 Matthew Seaman writes: > You can start snmpd with the '-r' flag which means it will at least run > without needing access to /dev/mem or anything else privileged, but at > the cost of reduced functionality. For instance the 'proc foo' test to > check on the presence of a foo process doesn't work. Quite why that > should need rootly privilege I do not know: it's effectively the same as > grepping the output of 'ps -acx'. It probably uses libkvm instead of the newer libprocstat, which does not require access to /dev/mem. The only reason you'd ever want to use libkvm is if you want to be able to operate on kernel dumps. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no