summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/pciide.c
diff options
context:
space:
mode:
authorjoris <joris@openbsd.org>2006-04-26 21:55:22 +0000
committerjoris <joris@openbsd.org>2006-04-26 21:55:22 +0000
commitbc8d37c31b5244d56631dbbd4593ff8b3b259a1a (patch)
treeb38534472371efebcfa70ea28c327bde6075a473 /sys/dev/pci/pciide.c
parentIn nfs_readdir(), if the buffer provided by the user is not big enough (diff)
downloadwireguard-openbsd-bc8d37c31b5244d56631dbbd4593ff8b3b259a1a.tar.xz
wireguard-openbsd-bc8d37c31b5244d56631dbbd4593ff8b3b259a1a.zip
prevent file races by obtaining an fd for the RCS file and
do our operations on that, this is safe and guarantees we can operate on the file until we close(2) it. a fix is coming for the remaining races in our diff code. okay niallo@ and ray@
Diffstat (limited to 'sys/dev/pci/pciide.c')
0 files changed, 0 insertions, 0 deletions