Subject: Re: low-level hacking
From: rpw3@rpw3.org (Rob Warnock)
Date: Fri, 13 Jan 2006 01:53:58 -0600
Newsgroups: comp.lang.lisp
Message-ID: <sOSdndOnkbULwVreRVn-sw@speakeasy.net>
Ivan Boldyrev  <boldyrev+nospam@cgitftp.uiggm.nsc.ru> wrote:
+---------------
| Rob Warnock wrote:
| > 6. You have to un CMUCL as root to mmap I/O memory space. Running
| >    CMUCL as root can crash your system. YOU HAVE BEEN WARNED!
| 
| Can (unix:unix-setuid +BLA-BLA-BLA+) after mmap'ing help?
+---------------

Not really, since mainly it's what you do with the MMAP'd area
that's potentially dangerous [regardless of which UID you do it
with]. E.g., if you reset a PCI device and don't restore the BARs
(or don't restore them correctly!) before the next time the O/S
touches that device... *BOOM!*


-Rob

-----
Rob Warnock			<rpw3@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607