Re: [GIT PULL] SELinux patches for v4.17

From: Linus Torvalds
Date: Sat Apr 07 2018 - 13:04:10 EST


On Sat, Apr 7, 2018 at 9:54 AM, Richard Haines
<richard_c_haines@xxxxxxxxxxxxxx> wrote:
>>
>> So please check my resolution, but also somebody should tell me
>> "Linus, you're a cretin, sctp_connect() doesn't want that
>> security_sctp_bind_connect() at all because it was already done by
>> XYZ"
>
> sctp_connect() or __sctp_connect() do not need to call
> security_sctp_bind_connect(). This is because the connect(2) call will
> handle the checks required via security_socket_connect():

Ok, thanks, that's exactly what I wanted to get.

Anyway, somebody should still verify that it all looks good in my
tree, but I don't actually expect the merge to have had any issues
even if the refactoring made it a bit more complex than most merges
are.

Linus