From: Christian Brauner Date: Mon, 8 Oct 2018 18:55:55 +0000 (+0200) Subject: macro: add NETLINK_DUMP_STRICT_CHK X-Git-Tag: lxc-3.1.0~55^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8df6fa99bf2960014c9d53a5ec9b12270ba2ab6a;p=thirdparty%2Flxc.git macro: add NETLINK_DUMP_STRICT_CHK This adds support for the new socket option, NETLINK_DUMP_STRICT_CHK, that userspace can use via setsockopt to request strict checking of headers and attributes on dump requests. Signed-off-by: Christian Brauner --- diff --git a/src/lxc/macro.h b/src/lxc/macro.h index 6b6b5f794..844cc2c3c 100644 --- a/src/lxc/macro.h +++ b/src/lxc/macro.h @@ -239,6 +239,10 @@ extern int __build_bug_on_failed; #define prctl_arg(x) ((unsigned long)x) /* networking */ +#ifndef NETLINK_DUMP_STRICT_CHK +#define NETLINK_DUMP_STRICT_CHK 12 +#endif + #ifndef IFLA_LINKMODE #define IFLA_LINKMODE 17 #endif