Skip to content

Two pretty trivial NetLabel bugfixes

Paul Moore netdev selinux 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2NetLabel: correct locking in selinux_netlbl_socket_setsid()security/selinux/ss/services.c+2 -20 replies
2/2NetLabel: correct CIPSO tag handling when adding new DOI definitionsnet/netlabel/netlabel_cipso_v4.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Two pretty trivial NetLabel bugfixes

This is a small patchset both in the number of patches (two) and the size of the patches themselves. The first patch fixes a potential locking issue with a NetLabel state variable and the second patch fixes a couple of problems seen when adding new CIPSO DOI definitions.

In light of the recent NetLabel locking issues I've spent this week going over all of the NetLabel related locks and I firmly believe this patchset should address the last of the problems. However, if anyone with a good knowledge of socket/sk locking can afford to take a look I would greatly appreciate it.

I tested both of these patches with what I believe to be pretty much all of the kernel debug options enabled and I have not encountered any problems. Please consider these for the 2.6.20 release.

--
paul moore
linux security @ hp

--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.