> Also, how can I get my pid?

current->pid

See linux/sched.h for the task_struct definition.

Make sure you do it only in your driver's open(),
otherwise the current task will be the queue runner, not the process.

_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to