How to test a syscall prior to compiling the kernel

Greg KH greg at kroah.com
Tue Jun 3 23:52:23 EDT 2014


On Wed, Jun 04, 2014 at 08:52:31AM +0530, Dipanjan Das wrote:
> 
> Hi,
> 
> While adding a syscall, how do I test the syscall code itself? If I simply try
> to compile the C file individually, will the compiler be able find the
> includes?

Did you try:
	man 2 syscall

greg k-h



More information about the Kernelnewbies mailing list