Hello,

 

How does one add a system call to user mode linux?

I followed the instructions here:=

http://user-mode-linux.sourceforge.net/lksct/

 

Instead of using his stub(which dosent work) I used this one:

 

#include <stdio.h>

#include <sys/syscall.h>

#include <linux/unistd.h>

 

int main()

{

    syscall(253);   // I assigned number 253 to my system call in unistd.h

    return 0;

}

 

The program compiles but dosent print out the the output from the printk()
statement.

Has anybody successfully installed a system call in uml?

 

Thank you

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to