diff options
author | Florian Westphal <fw@strlen.de> | 2023-09-14 11:42:15 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-09-29 12:52:13 +0200 |
commit | 149b1c95d129f8ec8a3df16aeca0e9063e8d45bf (patch) | |
tree | 2d49ad0b7d72ad697449fd1d4e1b56c8008674d7 /tests/shell/testcases/bogons/nft-f/include-device | |
parent | 4e8aa050312822400124260bf6b630c3c05cb04d (diff) |
libnftables: refuse to open onput files other than named pipes or regular files
Don't start e.g. parsing a block device.
nftables is typically run as privileged user, exit early if we
get unexpected input.
Only exception: Allow character device if input is /dev/stdin.
Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1664
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tests/shell/testcases/bogons/nft-f/include-device')
0 files changed, 0 insertions, 0 deletions