Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 1999 12:33:39 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Warner Losh <imp@village.org>
Cc:        Mike Smith <mike@smith.net.au>, Mike Smith <msmith@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/apm apm.c 
Message-ID:  <199907301933.MAA00684@dingo.cdrom.com>
In-Reply-To: Your message of "Fri, 30 Jul 1999 13:11:25 MDT." <199907301911.NAA83225@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.  

Only root can use the bpf device, yet there are screams of protest 
every time people talk about that too.

> 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 looking at a "bios lock" that should be fairly straightforward to 
implement; it needs to cover the vm86 stuff as well, as there are 
several ways into the BIOS.

> 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...

It wouldn't work because the arguments to the BIOS connector changed; 
it wasn't too hard to copy them back and forth from the "old" ones. 

> : 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.

Where?

-- 
\\  The mind's the standard       \\  Mike Smith
\\  of the man.                   \\  msmith@freebsd.org
\\    -- Joseph Merrick           \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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