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
12211221 enum nft_gen_attributes {
12221222 NFTA_GEN_UNSPEC,
12231223 NFTA_GEN_ID,
1224+ NFTA_GEN_PROC_PID,
1225+ NFTA_GEN_PROC_NAME,
12241226 __NFTA_GEN_MAX
12251227 };
12261228 #define NFTA_GEN_MAX (__NFTA_GEN_MAX - 1)