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

From: James Morris
Date: Fri Sep 28 2018 - 12:53:56 EST


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 package named the symbol "priv", not "private".

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-general
and next-testing.


--
James Morris
<jmorris@xxxxxxxxx>