]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selinux: mark both IPv4 and IPv6 accepted connection sockets as labeled
authorGuido Trentalancia <guido@trentalancia.com>
Wed, 28 Aug 2024 09:35:19 +0000 (11:35 +0200)
committerPaul Moore <paul@paul-moore.com>
Wed, 28 Aug 2024 15:48:07 +0000 (11:48 -0400)
commita3422eb4facdebb685b9b4688feb60430450e3c9
tree457db9ea2d6b08d2a73b5bd425d43282c1840a48
parent4ad858bd6fbe21c563f177d499da5f99b4b2480e
selinux: mark both IPv4 and IPv6 accepted connection sockets as labeled

The current partial labeling was introduced in 389fb800ac8b ("netlabel:
Label incoming TCP connections correctly in SELinux") due to the fact
that IPv6 labeling was not supported yet at the time.

Signed-off-by: Guido Trentalancia <guido@trentalancia.com>
[PM: properly format the referenced commit ID, adjust subject]
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/netlabel.c