LWN.net Logo

The ExecShield patches

The ExecShield patches

Posted Jul 25, 2005 18:31 UTC (Mon) by jsbarnes (subscriber, #4096)
In reply to: The ExecShield patches by ch
Parent article: Kernel Summit 2005: The ExecShield patches

Even X isn't a legitimate user--it can use the sysfs or /proc/bus/pci APIs
for accessing device memory (we're working on it for a future X.Org
release). Likewise, user level device drivers should use these
interfaces, /dev/mem will only get you into trouble (e.g. it's not very
portable or flexible).


(Log in to post comments)

The ExecShield patches

Posted Jul 31, 2005 2:13 UTC (Sun) by ch (subscriber, #4097) [Link]

It is just a set of conventions. If conventions against sysfs or /proc/bus/pci make more sense, that's fine. But sometimes the differences are just gratuitous. Maybe not here, but that's what to watch out for.

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds