Thursday, June 23, 2011

It works!

I've just successfully run my code into Kernel 2.6.38.6-27.

# This shows that my kernel_thread is running
[peter@KDPeter ~]$ ps -ef |grep pst
root 1373 2 0 21:09 ? 00:00:00 [pst_daemon2]


I wasn't being able to invoke my system calls from user land because I was using the obsolete _syscall1 macro instead of using syscall().

The original and old documentation that describes system calls and kernel_thread is here.

There will be new documentation soon... :-)

No comments:

Post a Comment