Home
last modified time | relevance | path

Searched hist:ea7be1293b48385f27b97c5f112e4cad93cbd33b (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/netipsec/
H A Dkeysock.hdiff ea7be1293b48385f27b97c5f112e4cad93cbd33b Thu Aug 11 18:19:36 CEST 2022 Gleb Smirnoff <glebius@FreeBSD.org> keysock: do not use raw socket code

This makes key socket implementation self contained and removes one
of the last dependencies on the raw socket code and pr_output method.

There are very subtle API visible changes:
- now key socket would return EOPNOTSUPP instead of EINVAL on
syscalls that are not supposed to be called on a key socket.
- key socket buffer sizes are now controlled by net.key sysctls instead
of net.raw. The latter were not documented anywhere, and even Internet
search doesn't find any references or discussions related to them.

Reviewed by: melifaro
Differential revision: https://reviews.freebsd.org/D36123
H A Dkeysock.cdiff b7bf3cb07fcf633c5500171b43c1ef68b5208139 Fri Aug 12 21:29:26 CEST 2022 Gleb Smirnoff <glebius@FreeBSD.org> keysock: explicitly initialized LIST_HEAD

This is supposed to fix syzcaller report.

Reported by: syzbot+1e08b5f9f7f00383ddea@syzkaller.appspotmail.com
Fixes: ea7be1293b48385f27b97c5f112e4cad93cbd33b
diff ea7be1293b48385f27b97c5f112e4cad93cbd33b Thu Aug 11 18:19:36 CEST 2022 Gleb Smirnoff <glebius@FreeBSD.org> keysock: do not use raw socket code

This makes key socket implementation self contained and removes one
of the last dependencies on the raw socket code and pr_output method.

There are very subtle API visible changes:
- now key socket would return EOPNOTSUPP instead of EINVAL on
syscalls that are not supposed to be called on a key socket.
- key socket buffer sizes are now controlled by net.key sysctls instead
of net.raw. The latter were not documented anywhere, and even Internet
search doesn't find any references or discussions related to them.

Reviewed by: melifaro
Differential revision: https://reviews.freebsd.org/D36123
H A Dkey.cdiff ea7be1293b48385f27b97c5f112e4cad93cbd33b Thu Aug 11 18:19:36 CEST 2022 Gleb Smirnoff <glebius@FreeBSD.org> keysock: do not use raw socket code

This makes key socket implementation self contained and removes one
of the last dependencies on the raw socket code and pr_output method.

There are very subtle API visible changes:
- now key socket would return EOPNOTSUPP instead of EINVAL on
syscalls that are not supposed to be called on a key socket.
- key socket buffer sizes are now controlled by net.key sysctls instead
of net.raw. The latter were not documented anywhere, and even Internet
search doesn't find any references or discussions related to them.

Reviewed by: melifaro
Differential revision: https://reviews.freebsd.org/D36123