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