diff options
author | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2022-11-30 10:20:38 +0000 |
---|---|---|
committer | Vitaliy Makkoveev <mvs@cvs.openbsd.org> | 2022-11-30 10:20:38 +0000 |
commit | 5dccf60e9db3ec844b3f3d4dbe916a740834fd89 (patch) | |
tree | 24bdcdb55f7bd2ee013c3653be78de867a21d87d /sys/kern/kern_clock.c | |
parent | b06a463f1ee8c442e83a08d12bb9b1a8af4d6588 (diff) |
Unlock getsockopt(2) and setsockopt(2). Unlock them both because at
protocol layer they follow the same (*pr_ctloutput)() handlers.
At sockets layer we touch only per-socket data, which is solock()
protected.
At protocol layer, udp(4), unix(4) and key management sockets have no
(*pr_ctloutput)() handlers. route_ctloutput() touches only per socket
data, which is solock() protected. inet{,6} globals are protected by
netlock, which is solock() backend for corresponding sockets.
ok bluhm@
Diffstat (limited to 'sys/kern/kern_clock.c')
0 files changed, 0 insertions, 0 deletions