Skip to content
Commit 4342f705 authored by Florian Westphal's avatar Florian Westphal Committed by Paul Moore
Browse files

selinux: remove unneeded ipv6 hook wrappers



Netfilter places the protocol number the hook function is getting called
from in state->pf, so we can use that instead of an extra wrapper.

While at it, remove one-line wrappers too and make
selinux_ip_{out,forward,postroute} useable as hook function.

Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
Message-Id: <20211011202229.28289-1-fw@strlen.de>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent f5d0e5e9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment