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

James Morris jmorris at namei.org
Fri Sep 28 16:53:26 UTC 2018


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 at namei.org>



More information about the Linux-security-module-archive mailing list