Skip to content

Commit 727f891

Browse files
committed
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>
1 parent 7a68ada commit 727f891

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

include/linux/rxrpc.h renamed to include/uapi/linux/rxrpc.h

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
1-
/* AF_RXRPC parameters
1+
/* Types and definitions for AF_RXRPC.
22
*
33
* Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
44
* Written by David Howells (dhowells@redhat.com)
55
*
66
* This program is free software; you can redistribute it and/or
7-
* modify it under the terms of the GNU General Public License
7+
* modify it under the terms of the GNU General Public Licence
88
* as published by the Free Software Foundation; either version
9-
* 2 of the License, or (at your option) any later version.
9+
* 2 of the Licence, or (at your option) any later version.
1010
*/
1111

12-
#ifndef _LINUX_RXRPC_H
13-
#define _LINUX_RXRPC_H
12+
#ifndef _UAPI_LINUX_RXRPC_H
13+
#define _UAPI_LINUX_RXRPC_H
1414

15+
#include <linux/types.h>
1516
#include <linux/in.h>
1617
#include <linux/in6.h>
1718

@@ -76,4 +77,4 @@ enum rxrpc_cmsg_type {
7677
#define RXRPC_SECURITY_RXGK 4 /* gssapi-based */
7778
#define RXRPC_SECURITY_RXK5 5 /* kerberos 5 */
7879

79-
#endif /* _LINUX_RXRPC_H */
80+
#endif /* _UAPI_LINUX_RXRPC_H */

0 commit comments

Comments
 (0)