All of lore.kernel.org
 help / color / mirror / Atom feed
From: greg@kroah.com (Greg KH)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Fwd: Adding custom system calls
Date: Thu, 20 Mar 2014 12:26:29 -0700	[thread overview]
Message-ID: <20140320192629.GA2273@kroah.com> (raw)
In-Reply-To: <CABG0-3zgYSpQ4iKi_Kcn5NsaRHyvqX17QAxOGZnuPO4i8-uzRA@mail.gmail.com>

On Fri, Mar 21, 2014 at 12:50:27AM +0530, arun kumar wrote:
> 
> yeah it does seems like a homework question..
> 
> I remember doing it on KernelVersion: 2.6 by modifying some files including
> unistd.h writing a wrapper for it and writing the code for it. This included
> some tweaking inside the /arch subtree of the kernel.
> my intentions are entirely academic.
> 
> Currently working on kernelVer: 3.12.14
> I am somewhat struggling to comprehend the changes (steep learning curve), if
> you could guide me on what files to look for, i am sure i can find my way from
> there.

There's loads of "how to add a syscall to Linux" tutorials out there,
what have you tried and what errors have you gotten when following them?

greg k-h

  reply	other threads:[~2014-03-20 19:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-20 17:25 Adding custom system calls arun kumar
2014-03-20 17:41 ` Greg KH
     [not found]   ` <CABG0-3xY+_5jSPu-QG6ExbqWs45=TdLj3SU1z7EVq7UFMKQTQQ@mail.gmail.com>
2014-03-20 19:20     ` Fwd: " arun kumar
2014-03-20 19:26       ` Greg KH [this message]
2014-03-20 20:17 ` Augusto Mecking Caringi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140320192629.GA2273@kroah.com \
    --to=greg@kroah.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.