]> git.pld-linux.org Git - packages/iptables.git/blob - iptables-owner-struct-size-vs.patch
- up to 1.4.8 (batch disabled; not mainained by anyone)
[packages/iptables.git] / iptables-owner-struct-size-vs.patch
1 --- iptables-1.4.8/extensions/libxt_owner.c.org 2010-06-07 21:59:55.086564655 +0200
2 +++ iptables-1.4.8/extensions/libxt_owner.c     2010-06-07 22:06:25.259858702 +0200
3 @@ -24,11 +24,15 @@
4         IPT_OWNER_PID   = 0x04,
5         IPT_OWNER_SID   = 0x08,
6         IPT_OWNER_COMM  = 0x10,
7 +       IPT_OWNER_NID   = 0x20,
8 +       IPT_OWNER_XID   = 0x40,
9         IP6T_OWNER_UID  = IPT_OWNER_UID,
10         IP6T_OWNER_GID  = IPT_OWNER_GID,
11         IP6T_OWNER_PID  = IPT_OWNER_PID,
12         IP6T_OWNER_SID  = IPT_OWNER_SID,
13         IP6T_OWNER_COMM = IPT_OWNER_COMM,
14 +       IP6T_OWNER_NID  = IPT_OWNER_NID,
15 +       IP6T_OWNER_XID  = IPT_OWNER_XID,
16  };
17  
18  struct ipt_owner_info {
19 @@ -38,6 +42,8 @@
20         pid_t sid;
21         char comm[16];
22         u_int8_t match, invert; /* flags */
23 +       u_int32_t nid;
24 +       u_int32_t xid;
25  };
26  
27  struct ip6t_owner_info {
28 @@ -47,6 +53,8 @@
29         pid_t sid;
30         char comm[16];
31         u_int8_t match, invert; /* flags */
32 +       u_int32_t nid;
33 +       u_int32_t xid;
34  };
35  
36  /*
This page took 0.032161 seconds and 3 git commands to generate.