]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
selinux: Update SELinux SCTP documentation
authorRichard Haines <richard_c_haines@btinternet.com>
Mon, 19 Mar 2018 17:33:36 +0000 (17:33 +0000)
committerPaul Moore <paul@paul-moore.com>
Tue, 20 Mar 2018 20:26:15 +0000 (16:26 -0400)
Update SELinux-sctp.rst "SCTP Peer Labeling" section to reflect
how the association permission is validated.

Reported-by: Dominick Grift <dac.override@gmail.com>
Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Documentation/security/SELinux-sctp.rst

index 2f66bf30658a154d4b095097fc4b86234c8afda5..a332cb1c5334e7b9afaeaf1900b06edb603550b8 100644 (file)
@@ -116,11 +116,12 @@ statement as shown in the following example::
 SCTP Peer Labeling
 ===================
 An SCTP socket will only have one peer label assigned to it. This will be
-assigned during the establishment of the first association. Once the peer
-label has been assigned, any new associations will have the ``association``
-permission validated by checking the socket peer sid against the received
-packets peer sid to determine whether the association should be allowed or
-denied.
+assigned during the establishment of the first association. Any further
+associations on this socket will have their packet peer label compared to
+the sockets peer label, and only if they are different will the
+``association`` permission be validated. This is validated by checking the
+socket peer sid against the received packets peer sid to determine whether
+the association should be allowed or denied.
 
 NOTES:
    1) If peer labeling is not enabled, then the peer context will always be