summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/xt_SECMARK.h
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2010-12-03 20:15:35 +0100
committerJan Engelhardt <jengelh@medozas.de>2010-12-03 21:35:14 +0100
commitb4af04be14560b3fcc6cf23200148d408014a2f5 (patch)
tree5f67c1366518446e223313d0e341013bb6e56a53 /include/linux/netfilter/xt_SECMARK.h
parent2d68ae7ce6e40e3977ee11a57296cf76801ae320 (diff)
include: update files with headers from Linux 2.6.37-rc1
Also includes the type change to __u{8,16,32} kernel types already.
Diffstat (limited to 'include/linux/netfilter/xt_SECMARK.h')
-rw-r--r--include/linux/netfilter/xt_SECMARK.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/include/linux/netfilter/xt_SECMARK.h b/include/linux/netfilter/xt_SECMARK.h
index 6fcd3448..989092bd 100644
--- a/include/linux/netfilter/xt_SECMARK.h
+++ b/include/linux/netfilter/xt_SECMARK.h
@@ -11,18 +11,12 @@
* packets are being marked for.
*/
#define SECMARK_MODE_SEL 0x01 /* SELinux */
-#define SECMARK_SELCTX_MAX 256
-
-struct xt_secmark_target_selinux_info {
- __u32 selsid;
- char selctx[SECMARK_SELCTX_MAX];
-};
+#define SECMARK_SECCTX_MAX 256
struct xt_secmark_target_info {
__u8 mode;
- union {
- struct xt_secmark_target_selinux_info sel;
- } u;
+ __u32 secid;
+ char secctx[SECMARK_SECCTX_MAX];
};
#endif /*_XT_SECMARK_H_target */