From owner-cvs-src@FreeBSD.ORG Thu Mar 4 14:56:01 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C34716A4D0 for ; Thu, 4 Mar 2004 14:56:01 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 60E9243D41 for ; Thu, 4 Mar 2004 14:56:01 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 25847 invoked by uid 1000); 4 Mar 2004 22:56:02 -0000 Date: Thu, 4 Mar 2004 14:56:02 -0800 (PST) From: Nate Lawson To: "M. Warner Losh" In-Reply-To: <20040304.150811.124827383.imp@bsdimp.com> Message-ID: <20040304145544.U25845@root.org> References: <20040304170353.64D4F16A4D4@hub.freebsd.org> <20040304100856.Y24532@root.org> <20040304.150811.124827383.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: takawata@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: cvs-src@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/acpi/acpiconf acpiconf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 22:56:01 -0000 On Thu, 4 Mar 2004, M. Warner Losh wrote: > In message: <20040304100856.Y24532@root.org> > Nate Lawson writes: > : I am concerned about this change since being able to open a descriptor > : read-only implies they can do ioctl, which means they can also suspend the > : system. If we have to do this, we might have to go the setgid route > : although I don't necessarily want to deal with the security implications > : of that. Users can get battery status through apm(8) but not battery > : info. > > ioctl can be made to require a write open. That's what the apm ioctls > required, except for battery status. Good idea. Takawata-san, can you make this change? -Nate