device driver
Roger Oberholtzer
roger
Tue Jan 31 02:41:18 PST 2006
On Mon, 2006-01-30 at 19:12 -0500, Kurt Wall wrote:
> On Mon, Jan 30, 2006 at 04:25:05PM +0100, Roger Oberholtzer took 24 lines to write:
> >
> > Anyone on this list write device drivers for 2.6 kernels? I have a very
> > very odd problem that I would like a second opinion on. Before boring
> > all here, I thought I would ask.
>
> Only simple stuff. Send off-list if you prefer.
Thanks for the offer. I have solved the error. My error, of course... It
was a subtle one wherein I changed the PID of a calling process to 0,
which, when the app later exited, caused great havoc, even after the
device driver had been happily unloaded. Five extra characters in the
source did it. The task_struct is useful - but dangerous in the wrong
hands.
--
Roger Oberholtzer
OPQ Systems AB
Ramb?ll Sverige AB
Kapellgr?nd 7
P.O. Box 4205
SE-102 65 Stockholm, Sweden
Tel: Int +46 8-615 60 20
Fax: Int +46 8-31 42 23
More information about the Linux-users
mailing list