From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shuah Khan Subject: Re: [PATCH RFC 0/1] Document how to add a new syscall Date: Tue, 28 Jul 2015 07:59:16 -0600 Message-ID: <55B78AB4.2010807@osg.samsung.com> References: <1438083663-24814-1-git-send-email-drysdale@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1438083663-24814-1-git-send-email-drysdale-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: David Drysdale , linux-api-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Michael Kerrisk , Andrew Morton , Arnd Bergmann , 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-fy+rA21nqHI@public.gmane.org List-Id: linux-api@vger.kernel.org On 07/28/2015 05:41 AM, David Drysdale wrote: > 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? > David, Looks good. You could add a one liner on in some cases, it might be necessary to install headers before test compiles. Other than that, the information looks good. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shuahkh-JPH+aEBZ4P+UEJcrhfAQsw@public.gmane.org | (970) 217-8978