public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MAINTAINERS: Add a guideline on notification of new userspace API/ABI elements
@ 2011-03-07 11:35 David Howells
  2011-03-07 14:36 ` Joe Perches
  2011-03-07 17:30 ` Randy Dunlap
  0 siblings, 2 replies; 5+ messages in thread
From: David Howells @ 2011-03-07 11:35 UTC (permalink / raw)
  To: mtk.manpages; +Cc: linux-kernel, David Howells

Add a guideline indicating who to notify about new userspace API/ABI elements,
such as new system calls or error codes.

Signed-off-by: David Howells <dhowells@redhat.com>
---

 MAINTAINERS |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 560ecce..694bec2 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -63,7 +63,10 @@ trivial patch so apply some common sense.
 	please Cc: security@kernel.org, especially if the maintainer
 	does not respond.
 
-8.	Happy hacking.
+8.	When adding new userspace API/ABI elements, notably system calls and
+	error codes, please cc <linux-api@vger.kernel.org>.
+
+9.	Happy hacking.
 
 Descriptions of section entries:
 


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

* Re: [PATCH] MAINTAINERS: Add a guideline on notification of new userspace API/ABI elements
  2011-03-07 11:35 [PATCH] MAINTAINERS: Add a guideline on notification of new userspace API/ABI elements David Howells
@ 2011-03-07 14:36 ` Joe Perches
  2011-03-07 14:43   ` Arnd Bergmann
  2011-03-07 14:45   ` David Howells
  2011-03-07 17:30 ` Randy Dunlap
  1 sibling, 2 replies; 5+ messages in thread
From: Joe Perches @ 2011-03-07 14:36 UTC (permalink / raw)
  To: David Howells; +Cc: mtk.manpages, linux-kernel

On Mon, 2011-03-07 at 11:35 +0000, David Howells wrote:
> Add a guideline indicating who to notify about new userspace API/ABI elements,
> such as new system calls or error codes.

Hey David.

Is there some list of files that are more likely to
trigger this?

Maybe add a section like:

USERSPACE ABI/API INTERFACES
L:	linux-api@vger.kernel.org
F:	include/asm-generic/errno*.h
F:	include/linux/capability.h
F:	include/linux/compat.h
F:	include/linux/syscalls.h
F:	include/*/unistd.h

Maybe add some arch wildcards?

F:	arch/*/include/asm/errno.h
F:	arch/*/include/asm/unistd.h

Maybe add fs?

F:	fs/compat*.c

There's probably a bunch of others.
Suggestions?


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

* Re: [PATCH] MAINTAINERS: Add a guideline on notification of new userspace API/ABI elements
  2011-03-07 14:36 ` Joe Perches
@ 2011-03-07 14:43   ` Arnd Bergmann
  2011-03-07 14:45   ` David Howells
  1 sibling, 0 replies; 5+ messages in thread
From: Arnd Bergmann @ 2011-03-07 14:43 UTC (permalink / raw)
  To: Joe Perches; +Cc: David Howells, mtk.manpages, linux-kernel

On Monday 07 March 2011, Joe Perches wrote:
> Hey David.
> 
> Is there some list of files that are more likely to
> trigger this?
> 
> Maybe add a section like:
> 
> USERSPACE ABI/API INTERFACES
> L:      linux-api@vger.kernel.org
> F:      include/asm-generic/errno*.h
> F:      include/linux/capability.h
> F:      include/linux/compat.h
> F:      include/linux/syscalls.h
> F:      include/*/unistd.h

syscalls.h and compat.h are not really the user space ABI,
as user applications don't use those headers to link to
the kernel.

> Maybe add some arch wildcards?
> 
> F:      arch/*/include/asm/errno.h
> F:      arch/*/include/asm/unistd.h
> 
> Maybe add fs?
> 
> F:      fs/compat*.c
> 
> There's probably a bunch of others.
> Suggestions?
> 

I think you can add the entire asm-generic directory. The majority
of the changes in there are to exported files, so they impact
the ABI. For a specific list, you'd have to go through all the
files listed as exported in include/{linux,asm-generic}/Kbuild.

	Arnd

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

* Re: [PATCH] MAINTAINERS: Add a guideline on notification of new userspace API/ABI elements
  2011-03-07 14:36 ` Joe Perches
  2011-03-07 14:43   ` Arnd Bergmann
@ 2011-03-07 14:45   ` David Howells
  1 sibling, 0 replies; 5+ messages in thread
From: David Howells @ 2011-03-07 14:45 UTC (permalink / raw)
  To: Joe Perches; +Cc: dhowells, mtk.manpages, linux-kernel

Joe Perches <joe@perches.com> wrote:

> F:	include/*/unistd.h

I think you mean arch/include/*/*unistd*.h and arch/include/*/*seccomp*.h.

David

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

* Re: [PATCH] MAINTAINERS: Add a guideline on notification of new userspace API/ABI elements
  2011-03-07 11:35 [PATCH] MAINTAINERS: Add a guideline on notification of new userspace API/ABI elements David Howells
  2011-03-07 14:36 ` Joe Perches
@ 2011-03-07 17:30 ` Randy Dunlap
  1 sibling, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2011-03-07 17:30 UTC (permalink / raw)
  To: David Howells; +Cc: mtk.manpages, linux-kernel

On Mon, 07 Mar 2011 11:35:23 +0000 David Howells wrote:

> Add a guideline indicating who to notify about new userspace API/ABI elements,
> such as new system calls or error codes.
> 
> Signed-off-by: David Howells <dhowells@redhat.com>
> ---
> 
>  MAINTAINERS |    5 ++++-
>  1 files changed, 4 insertions(+), 1 deletions(-)
> 
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 560ecce..694bec2 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -63,7 +63,10 @@ trivial patch so apply some common sense.
>  	please Cc: security@kernel.org, especially if the maintainer
>  	does not respond.
>  
> -8.	Happy hacking.
> +8.	When adding new userspace API/ABI elements, notably system calls and
> +	error codes, please cc <linux-api@vger.kernel.org>.
> +
> +9.	Happy hacking.
>  
>  Descriptions of section entries:
>  
> 
> --

No objection other than I dislike having the same info in multiple places --
updates get out of sync easily and this is somewhat already in
Documentation/HOWTO and Documentation/SubmitChecklist.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

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

end of thread, other threads:[~2011-03-07 17:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-07 11:35 [PATCH] MAINTAINERS: Add a guideline on notification of new userspace API/ABI elements David Howells
2011-03-07 14:36 ` Joe Perches
2011-03-07 14:43   ` Arnd Bergmann
2011-03-07 14:45   ` David Howells
2011-03-07 17:30 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox