diff options
author | Ondrej Mosnacek <omosnace@redhat.com> | 2022-02-12 20:59:21 +0300 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2022-02-15 23:03:38 +0300 |
commit | 5e50f5d4ff31e95599d695df1f0a4e7d2d6fef99 (patch) | |
tree | 8ec2ea7d582c38e6fe8d1d78dcb63d0d04f44088 /fs/xattr.c | |
parent | 70f4169ab421b277caf7429e84f468d8c47aa00a (diff) | |
download | linux-5e50f5d4ff31e95599d695df1f0a4e7d2d6fef99.tar.xz |
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: 72e89f50084c ("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>
Diffstat (limited to 'fs/xattr.c')
0 files changed, 0 insertions, 0 deletions