Commit Graph

8 Commits

Author SHA1 Message Date
pooka
bce4ea0296 one more lock to destroy 2007-11-28 17:01:59 +00:00
pooka
efe797dc32 * version the registration interface
* destroy all created locks
2007-11-28 16:59:02 +00:00
pooka
bc3b2e6a39 PUD_CONF_IOCTL is a goner. Noticed by dillo. 2007-11-22 13:51:59 +00:00
pooka
2bde3fa647 Support bdev/cdev ioctl. 2007-11-22 11:26:27 +00:00
pooka
750d633918 Add support for block devices. 2007-11-21 18:10:48 +00:00
pooka
2f06310f4b mmap should return -1 on error. Also, shuffle functions around to
make this more feng shui.
2007-11-21 11:19:44 +00:00
dogcow
37ec50ec33 silence, might be used uninitialized warning! 2007-11-21 01:31:34 +00:00
pooka
001b8e986e Add initial support for userspace block/char device drivers. This
is a very rough cut supporting only open/close/read/write for char
devices for the time being.  It also takes some extra liberties in
error value processing wrt. to the request-response protocol, but
that will be fixed later.  On the bright side, I haven't managed
to crash my test kernel in several hours with this anymore, so it
can be considered extra-stable ...  All in all this is remarkably
similar to puffs from multiple angles (well, actually, big surprise
there) and these two will share more and more code in the future.

The hardest part, coming up with the name, was done by agc.  I'm
not exactly sure what "pud" is supposed to stand for, but if my
British is anything close to par, I understand that "pud" over
there can stand for just about anything, so it's a safe bet.
2007-11-20 18:47:05 +00:00