Skip to content
Snippets Groups Projects
Unverified Commit eaa2c36a authored by Ondrej Mosnacek's avatar Ondrej Mosnacek
Browse files

selinux: remove unneeded ipv6 hook wrappers

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2083580



commit 4342f705
Author: Florian Westphal <fw@strlen.de>
Date:   Mon Oct 11 22:22:29 2021 +0200

    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>

Signed-off-by: default avatarOndrej Mosnacek <omosnace@redhat.com>
parent aa469f55
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment