mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-12 12:25:18 +02:00
netfilter: nf_tables: rise cap on SELinux secmark context
[ Upstream commite29630247b
] secmark context is artificially limited 256 bytes, rise it to 4Kbytes. Fixes:fb96194545
("netfilter: nf_tables: add SECMARK support") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
fed3317b2d
commit
802de75709
|
@ -1372,7 +1372,7 @@ enum nft_secmark_attributes {
|
||||||
#define NFTA_SECMARK_MAX (__NFTA_SECMARK_MAX - 1)
|
#define NFTA_SECMARK_MAX (__NFTA_SECMARK_MAX - 1)
|
||||||
|
|
||||||
/* Max security context length */
|
/* Max security context length */
|
||||||
#define NFT_SECMARK_CTX_MAXLEN 256
|
#define NFT_SECMARK_CTX_MAXLEN 4096
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* enum nft_reject_types - nf_tables reject expression reject types
|
* enum nft_reject_types - nf_tables reject expression reject types
|
||||||
|
|
Loading…
Reference in New Issue
Block a user