linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC 0/1] Document how to add a new syscall
@ 2015-07-28 11:41 David Drysdale
       [not found] ` <1438083663-24814-1-git-send-email-drysdale-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: David Drysdale @ 2015-07-28 11:41 UTC (permalink / raw)
  To: linux-api, Michael Kerrisk, Andrew Morton, Arnd Bergmann,
	Shuah Khan, Jonathan Corbet
  Cc: Andrea Arcangeli, Thomas Gleixner, Eric B Munson, Ingo Molnar,
	H. Peter Anvin, Oleg Nesterov, Linus Torvalds, Greg Kroah-Hartman,
	Andy Lutomirski, Al Viro, Rusty Russell, Peter Zijlstra,
	Vivek Goyal, Alexei Starovoitov, David Herrmann,
	Theodore Ts'o, Kees Cook, Miklos Szeredi, Milosz Tanski,
	Fam Zheng, Josh Triplett, Mathieu Desnoyers, linux-doc,
	linux-kernel

Given that I've gotten some of the details wrong in the past (and I've
seen others do likewise), I thought it might be helpful to collate the
best practices for adding a new system call to the kernel.

Apologies for the wide circulation -- I've tried to include folk who've
recently added or proposed a system call, as they're most likely to
have opinions on:
 - whether this a useful addition to Documentation/
 - whether the details of the advice are correct and complete.

Shuah, is there anything more that should be added for the Testing
section in particular?

Thanks,
David

(With thanks to Andrew Morton for looking over an initial draft, and to
Michael Kerrisk for suggesting several clarifications and additions.)


David Drysdale (1):
  Documentation: describe how to add a system call

 Documentation/adding-syscalls.txt | 454 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 454 insertions(+)
 create mode 100644 Documentation/adding-syscalls.txt

--
2.2.0.rc0.207.ga3a616c

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-07-28 21:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-28 11:41 [PATCH RFC 0/1] Document how to add a new syscall David Drysdale
     [not found] ` <1438083663-24814-1-git-send-email-drysdale-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2015-07-28 11:41   ` [PATCH RFC 1/1] Documentation: describe how to add a system call David Drysdale
2015-07-28 14:14     ` Eric B Munson
     [not found]     ` <1438083663-24814-2-git-send-email-drysdale-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2015-07-28 16:43       ` Kees Cook
2015-07-28 17:13         ` David Drysdale
2015-07-28 17:17           ` Kees Cook
2015-07-28 21:22       ` Randy Dunlap
2015-07-28 13:59   ` [PATCH RFC 0/1] Document how to add a new syscall Shuah Khan
     [not found]     ` <55B78AB4.2010807-JPH+aEBZ4P+UEJcrhfAQsw@public.gmane.org>
2015-07-28 14:19       ` Peter Zijlstra
2015-07-28 16:02         ` David Drysdale
     [not found]           ` <CAHse=S_h8c7Sg56V1UR2uW-0hqAMopqvEyvtdOx0hUH2c+8y2w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-28 16:41             ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).