summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorcheloha <cheloha@openbsd.org>2020-08-11 15:41:50 +0000
committercheloha <cheloha@openbsd.org>2020-08-11 15:41:50 +0000
commit74ea3cc86ee15933c6f981ce83e65f4b7b652f9e (patch)
tree0abb1c13f184a2973294a76447aada266cf84416 /lib/libssl/ssl_lib.c
parentExplicitly #include <scsi/scsi_debug.h> rather than assuming scsiconf.h will do (diff)
downloadwireguard-openbsd-74ea3cc86ee15933c6f981ce83e65f4b7b652f9e.tar.xz
wireguard-openbsd-74ea3cc86ee15933c6f981ce83e65f4b7b652f9e.zip
getitimer(2): don't enter itimer_mtx to read ITIMER_REAL itimerspec
The ITIMER_REAL per-process interval timer is protected by the kernel lock. The ITIMER_REAL timeout (ps_realit_to), setitimer(2), and getitimer(2) all run under the kernel lock. Entering itimer_mtx during getitimer(2) when reading the ITIMER_REAL ps_timer state is superfluous and misleading.
Diffstat (limited to 'lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions