From owner-cvs-all Fri Jul 30 12: 9:46 1999 Delivered-To: cvs-all@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id 00E9C14F73; Fri, 30 Jul 1999 12:09:39 -0700 (PDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id NAA77090; Fri, 30 Jul 1999 13:09:34 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id NAA83225; Fri, 30 Jul 1999 13:11:25 -0600 (MDT) Message-Id: <199907301911.NAA83225@harmony.village.org> To: Mike Smith Subject: Re: cvs commit: src/usr.sbin/apm apm.c Cc: Mike Smith , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: Your message of "Fri, 30 Jul 1999 11:43:41 PDT." <199907301843.LAA00424@dingo.cdrom.com> References: <199907301843.LAA00424@dingo.cdrom.com> Date: Fri, 30 Jul 1999 13:11:25 -0600 From: Warner Losh Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk In message <199907301843.LAA00424@dingo.cdrom.com> Mike Smith writes: : I'm not entirely sure yet about the ramifications of user-space code : being able to call the BIOS; there are security and locking implications : that I want to consider, and a good case for a more generalised : interface. What are the security implications? Only root or group operator, by default, can do this. Your point about the locking mechanism is well taken. Nothing else is doing any locking, so the same problem exists with the information interface. I'm not sure why you say that it can't work. It is just using the same mechansim that the the get information stuff is using... Data structures in memory aren't supported accross this interface... : APM should also become a module (real soon now), which will take the : pressure off on any "vendor specific" features as well; so far we don't : actually support anything "vendor specific" anyway, so it's a bit of a : furphy right now. Right now there are a couple of information producing programs that use this interface. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message