-
- Downloads
security: add sctp_assoc_established hook
security_sctp_assoc_established() is added to replace security_inet_conn_established() called in sctp_sf_do_5_1E_ca(), so that asoc can be accessed in security subsystem and save the peer secid to asoc->peer_secid. Fixes: 72e89f50 ("security: Add support for SCTP security hooks") Reported-by:Prashanth Prahlad <pprahlad@redhat.com> Based-on-patch-by:
Xin Long <lucien.xin@gmail.com> Reviewed-by:
Xin Long <lucien.xin@gmail.com> Tested-by:
Richard Haines <richard_c_haines@btinternet.com> Signed-off-by:
Ondrej Mosnacek <omosnace@redhat.com> Signed-off-by:
Paul Moore <paul@paul-moore.com>
Showing
- Documentation/security/SCTP.rst 10 additions, 12 deletionsDocumentation/security/SCTP.rst
- include/linux/lsm_hook_defs.h 2 additions, 0 deletionsinclude/linux/lsm_hook_defs.h
- include/linux/lsm_hooks.h 5 additions, 0 deletionsinclude/linux/lsm_hooks.h
- include/linux/security.h 8 additions, 0 deletionsinclude/linux/security.h
- net/sctp/sm_statefuns.c 5 additions, 3 deletionsnet/sctp/sm_statefuns.c
- security/security.c 7 additions, 0 deletionssecurity/security.c
Loading
Please register or sign in to comment