mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] rxrpc: Rearrange headers
@ 2017-07-21 18:29 David Howells
  2017-07-21 18:29 ` [PATCH net-next 1/2] rxrpc: Expose UAPI definitions to userspace David Howells
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: David Howells @ 2017-07-21 18:29 UTC (permalink / raw)
  To: netdev; +Cc: dhowells, linux-afs, linux-kernel


Here's a pair of patches that rearrange some of the AF_RXRPC header files
that are outside of the net/rxrpc/ directory:

 (1) The bits userspace need are moved to uapi/linux/rxrpc.h.  [Should this
     be af_rxrpc.h instead, I wonder - but there doesn't seem to be
     precedent for that in the other net UAPI headers.]

 (2) For the most part, the contents of rxrpc/packet.h are no longer used
     outside of the AF_RXRPC module, so move them to net/rxrpc/protocol.h
     with the exception of the standard abort codes which are exposed to
     userspace when an abort occurs and the security index values which are
     needed when constructing keys.

The patches can be found here also:

	http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=rxrpc-rewrite

Tagged thusly:

	git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
	rxrpc-rewrite-20170721

David
---
David Howells (2):
      rxrpc: Expose UAPI definitions to userspace
      rxrpc: Move the packet.h include file into net/rxrpc/


 fs/afs/misc.c              |    1 
 fs/afs/rxrpc.c             |    1 
 include/linux/rxrpc.h      |   79 ---------------
 include/rxrpc/packet.h     |  235 --------------------------------------------
 include/uapi/linux/rxrpc.h |  124 +++++++++++++++++++++++
 net/rxrpc/ar-internal.h    |    2 
 net/rxrpc/protocol.h       |  190 ++++++++++++++++++++++++++++++++++++
 7 files changed, 315 insertions(+), 317 deletions(-)
 delete mode 100644 include/linux/rxrpc.h
 delete mode 100644 include/rxrpc/packet.h
 create mode 100644 include/uapi/linux/rxrpc.h
 create mode 100644 net/rxrpc/protocol.h

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

end of thread, other threads:[~2017-07-24 23:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-21 18:29 [PATCH net-next 0/2] rxrpc: Rearrange headers David Howells
2017-07-21 18:29 ` [PATCH net-next 1/2] rxrpc: Expose UAPI definitions to userspace David Howells
2017-07-21 19:07   ` Joe Perches
2017-07-21 18:29 ` [PATCH net-next 2/2] rxrpc: Move the packet.h include file into net/rxrpc/ David Howells
2017-07-24 23:17 ` [PATCH net-next 0/2] rxrpc: Rearrange headers David Miller

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

all inboxes | Powered by JetHome®