linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/1] Document how to add a new syscall
@ 2015-07-30  7:52 David Drysdale
  2015-07-30  7:52 ` [PATCHv2 1/1] Documentation: describe how to add a system call David Drysdale
  0 siblings, 1 reply; 25+ messages in thread
From: David Drysdale @ 2015-07-30  7:52 UTC (permalink / raw)
  To: linux-api, Michael Kerrisk, Andrew Morton, Arnd Bergmann,
	Shuah Khan, Jonathan Corbet, Eric B Munson, Randy Dunlap
  Cc: Andrea Arcangeli, Thomas Gleixner, 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, David Drysdale

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.

Thanks,
David

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


Changes since v1:
 - added paragraph on build requirements to Testing section [Shuah Khan,
   Peter Zijlstra]
 - various text clarifications [Kees Cook]
 - added Reviewed-by markers


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

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

--
2.2.0.rc0.207.ga3a616c

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

end of thread, other threads:[~2015-08-01  6:28 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-30  7:52 [PATCHv2 0/1] Document how to add a new syscall David Drysdale
2015-07-30  7:52 ` [PATCHv2 1/1] Documentation: describe how to add a system call David Drysdale
2015-07-30  8:38   ` Ingo Molnar
     [not found]     ` <20150730083831.GA22182-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-07-30 11:10       ` David Drysdale
2015-07-30 18:21         ` Kees Cook
     [not found]           ` <CAGXu5j+5KHy68ELU6PmNWaj7mQBXTbRQGXqJFwsXHt9n0LPw8Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-30 19:04             ` Josh Triplett
2015-07-30 20:03               ` Kees Cook
2015-07-31  1:02                 ` Josh Triplett
2015-07-31  1:03                   ` Josh Triplett
2015-07-31 18:56                   ` Kees Cook
2015-07-31 20:59                     ` josh
2015-07-31 21:19                       ` Andy Lutomirski
     [not found]                         ` <CALCETrUkMXvFRKdTH7ekY7FyGvbKDDJbf7L0shgs5R-Hep6bVA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-31 22:08                           ` josh-iaAMLnmF4UmaiuxdJuQwMA
2015-07-31 22:54                             ` Andy Lutomirski
2015-08-01  4:32                               ` Josh Triplett
2015-08-01  4:56                                 ` H. Peter Anvin
     [not found]                                   ` <55BC518E.4010102-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
2015-08-01  6:18                                     ` Josh Triplett
2015-08-01  6:28                                       ` H. Peter Anvin
2015-07-30 18:22     ` Josh Triplett
2015-07-30 16:30   ` Cyril Hrubis
2015-07-30 16:45     ` Greg Kroah-Hartman
2015-07-30 18:50   ` Josh Triplett
2015-07-31  9:48     ` David Drysdale
2015-07-31 13:06       ` Josh Triplett
2015-07-31 14:42         ` David Drysdale

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).