Does python have the capability for driver development ?

Diez B. Roggisch deets at nospam.web.de
Thu Jul 30 02:33:54 EDT 2009


Nick Craig-Wood schrieb:
> Diez B. Roggisch <deets at nospam.web.de> wrote:
>>  MalC0de schrieb:
>>> hello there, I've a question :
>>> I want to know does python have any capability for using Ring0 and
>>> kernel functions for driver and device development stuff .
>>> if there's such a feature it is very good, and if there something for
>>> this kind that you know please refer me to some reference and show me
>>> some snippet .
>>  No, it can't do such things. At least it isn't embedded in the kernel - 
>>  in theory that might be possible, but given the timing-constraints and 
>>  concurrency-requirements, it's not really feasible.
> 
> You can write FUSE (file systems in userspace) drivers in python I believe.
> Not the same as running in ring0 but in most senses a kernel driver...

No. That's why it is called "userspace". The kernel just hooks into a 
running program.

Diez




More information about the Python-list mailing list