Re: [PATCH] selinux: recognize netlink messages for 'ip addrlabel'

From: James Morris
Date: Wed Nov 05 2008 - 18:10:37 EST


On Wed, 5 Nov 2008, Michal Schmidt wrote:

> In enforcing mode '/sbin/ip addrlabel' results in a SELinux error:
> type=SELINUX_ERR msg=audit(1225698822.073:42): SELinux: unrecognized
> netlink message type=74 for sclass=43
>
> The problem is missing RTM_*ADDRLABEL entries in SELinux's netlink
> message types table.
>
> Reported in https://bugzilla.redhat.com/show_bug.cgi?id=469423
>
> Signed-off-by: Michal Schmidt <mschmidt@xxxxxxxxxx>
> ---
> security/selinux/nlmsgtab.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)

Applied to

git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6#next

--
James Morris
<jmorris@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/