From mboxrd@z Thu Jan 1 00:00:00 1970 From: greg@kroah.com (Greg KH) Date: Tue, 3 Jun 2014 20:52:23 -0700 Subject: How to test a syscall prior to compiling the kernel In-Reply-To: References: Message-ID: <20140604035223.GA28272@kroah.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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