ctypes - random access to address space

Tim Roberts timr at probo.com
Wed Apr 15 02:37:18 EDT 2009


janislaw <wicijowski at gmail.com> wrote:
>
>I am currently doing a project in which I interface to a PCI card. To
>ease the prototyping, I call the API functions, which map the address
>space of the card to a process memory.

As a driver developer, I am obligated by the Driver Curmudgeon's Code of
Ethics to point out that this is a dangerous design for a driver.  It
represents a serious security exposure.

Having said that, however, it is a design that is commonly used for
prototyping.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the Python-list mailing list