summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh-add.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2018-09-18 20:47:11 +0000
committerbluhm <bluhm@openbsd.org>2018-09-18 20:47:11 +0000
commita701e5dfafb22455e8cfbca0e7f2f834808b1a9d (patch)
treeb11c4b91d263de17326aa6e9dfec0c451e5332df /usr.bin/ssh/ssh-add.c
parentUpdate to compiler-rt 6.0.0. (diff)
downloadwireguard-openbsd-a701e5dfafb22455e8cfbca0e7f2f834808b1a9d.tar.xz
wireguard-openbsd-a701e5dfafb22455e8cfbca0e7f2f834808b1a9d.zip
Updating time counters without memory barriers is wrong. Put
membar_producer() into tc_windup() and membar_consumer() into the uptime functions. They order the visibility of the time and generation number updates. This is a combination of what NetBSD and FreeBSD do. OK kettenis@
Diffstat (limited to 'usr.bin/ssh/ssh-add.c')
0 files changed, 0 insertions, 0 deletions