]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxtables: exit if called by setuid executeable
authorFlorian Westphal <fw@strlen.de>
Mon, 19 Jul 2021 14:35:09 +0000 (16:35 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 4 Aug 2021 15:56:40 +0000 (17:56 +0200)
commitef7781eb1437a2d6fd37eb3567c599e3ea682b96
tree073fbf51c29b5115256e235b6508a8ae414f50b7
parent8629c53f933a16f1d68d19fb163c879453a3dcf2
libxtables: exit if called by setuid executeable

iptables (legacy or nft, doesn't matter) cannot be safely used with
setuid binaries.

Add a safety check for this.

Signed-off-by: Florian Westphal <fw@strlen.de>
libxtables/xtables.c