Re: [PATCH] keys: Fix the use of the C++ keyword "private" in uapi/linux/keyctl.h

2018-09-28 Thread James Morris
On Fri, 28 Sep 2018, David Howells wrote: > The keyctl_dh_params struct in uapi/linux/keyctl.h contains the symbol > "private" which means that the header file will cause compilation failure > if #included in to a C++ program. Further, the patch that added the same > struct to the keyutils

Re: [PATCH] keys: Fix the use of the C++ keyword "private" in uapi/linux/keyctl.h

2018-09-28 Thread James Morris
On Fri, 28 Sep 2018, David Howells wrote: > The keyctl_dh_params struct in uapi/linux/keyctl.h contains the symbol > "private" which means that the header file will cause compilation failure > if #included in to a C++ program. Further, the patch that added the same > struct to the keyutils

[PATCH] keys: Fix the use of the C++ keyword "private" in uapi/linux/keyctl.h

2018-09-27 Thread David Howells
The keyctl_dh_params struct in uapi/linux/keyctl.h contains the symbol "private" which means that the header file will cause compilation failure if #included in to a C++ program. Further, the patch that added the same struct to the keyutils package named the symbol "priv", not "private". The

[PATCH] keys: Fix the use of the C++ keyword "private" in uapi/linux/keyctl.h

2018-09-27 Thread David Howells
The keyctl_dh_params struct in uapi/linux/keyctl.h contains the symbol "private" which means that the header file will cause compilation failure if #included in to a C++ program. Further, the patch that added the same struct to the keyutils package named the symbol "priv", not "private". The