lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20170215200431.GC1028@altlinux.org>
Date:   Wed, 15 Feb 2017 23:04:31 +0300
From:   "Dmitry V. Levin" <ldv@...linux.org>
To:     David Teigland <teigland@...hat.com>
Cc:     linux-kernel@...r.kernel.org
Subject: [PATCH] uapi: fix linux/dlm_netlink.h userspace compilation error

Include <linux/dlmconstants.h> to fix the following linux/dlm_netlink.h
userspace compilation error:

/usr/include/linux/dlm_netlink.h:35:21: error: 'DLM_RESNAME_MAXLEN' undeclared here (not in a function)
  char resource_name[DLM_RESNAME_MAXLEN];

Signed-off-by: Dmitry V. Levin <ldv@...linux.org>
---
 include/uapi/linux/dlm_netlink.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/dlm_netlink.h b/include/uapi/linux/dlm_netlink.h
index 647c8ef..ad60964 100644
--- a/include/uapi/linux/dlm_netlink.h
+++ b/include/uapi/linux/dlm_netlink.h
@@ -10,6 +10,7 @@
 #define _DLM_NETLINK_H
 
 #include <linux/types.h>
+#include <linux/dlmconstants.h>		/* For DLM_RESNAME_MAXLEN. */
 
 enum {
 	DLM_STATUS_WAITING = 1,
-- 
ldv

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ