History

netfilter: nf_tables: Attach process info to NFT_MSG_NEWGEN notifications

This is helpful for 'nft monitor' to track which process caused a given change to the ruleset.

Phil Sutter committed 9 years ago

Commit 784b4e61 parent 0b35f602 files · +6 −1Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/netfilter/nf_tables.h+2−0
@@ -1221,6 +1221,8 @@ enum nft_objref_attributes { · 1220 unmodified lines
1221enum nft_gen_attributes {1221enum nft_gen_attributes {
1222 NFTA_GEN_UNSPEC,1222 NFTA_GEN_UNSPEC,
1223 NFTA_GEN_ID,1223 NFTA_GEN_ID,
1224 NFTA_GEN_PROC_PID,
1225 NFTA_GEN_PROC_NAME,
1224 __NFTA_GEN_MAX1226 __NFTA_GEN_MAX
1225};1227};
1226#define NFTA_GEN_MAX (__NFTA_GEN_MAX - 1)1228#define NFTA_GEN_MAX (__NFTA_GEN_MAX - 1)