/usr/include/net-snmp/system/linux.h is in libsnmp-dev 5.7.2.1+dfsg-1+deb8u1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #include "sysv.h"
#define NETSNMP_DONT_USE_NLIST 1
#undef NPROC_SYMBOL
#undef bsdlike
#define ARP_SCAN_FOUR_ARGUMENTS
/* uncomment this to read process names from /proc/X/cmdline (like <= 5.0) */
/* #define USE_PROC_CMDLINE */
/*
* red hat >= 5.0 doesn't have this
*/
#ifndef MNTTYPE_PROC
#define MNTTYPE_PROC "proc"
#endif
/* define the extra mib modules that are supported */
#define NETSNMP_INCLUDE_HOST_RESOURCES
#define NETSNMP_INCLUDE_IFTABLE_REWRITES
|