diff options
author | David Howells <dhowells@redhat.com> | 2017-07-21 10:39:26 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-07-21 10:39:26 +0100 |
commit | 727f8914477e4642c7d1ff381667cdc4178b40c6 (patch) | |
tree | 4e67d1f9fc8f925eebb8102ca664d4b48bd67ae0 | |
parent | 7a68ada6ec7d88c68057d3a4c2a517eb94289976 (diff) |
rxrpc: Expose UAPI definitions to userspace
Move UAPI definitions from the internal header and place them in a UAPI
header file so that userspace can make use of them.
Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r-- | include/uapi/linux/rxrpc.h (renamed from include/linux/rxrpc.h) | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/linux/rxrpc.h b/include/uapi/linux/rxrpc.h index 7343f71783dc..08e2fb9c70ae 100644 --- a/include/linux/rxrpc.h +++ b/include/uapi/linux/rxrpc.h @@ -1,17 +1,18 @@ -/* AF_RXRPC parameters +/* Types and definitions for AF_RXRPC. * * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) * * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License + * modify it under the terms of the GNU General Public Licence * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. + * 2 of the Licence, or (at your option) any later version. */ -#ifndef _LINUX_RXRPC_H -#define _LINUX_RXRPC_H +#ifndef _UAPI_LINUX_RXRPC_H +#define _UAPI_LINUX_RXRPC_H +#include <linux/types.h> #include <linux/in.h> #include <linux/in6.h> @@ -76,4 +77,4 @@ enum rxrpc_cmsg_type { #define RXRPC_SECURITY_RXGK 4 /* gssapi-based */ #define RXRPC_SECURITY_RXK5 5 /* kerberos 5 */ -#endif /* _LINUX_RXRPC_H */ +#endif /* _UAPI_LINUX_RXRPC_H */ |