[#] http://marc.info/?l=openbsd-cvs&m=140807472127581&w=2
openbsd-cvs(obsdave,2) — All
2014-08-15 07:55:07


Module name: src
Changes by: guenther@cvs.openbsd.org 2014/08/14 21:51:40

Modified files:
lib/libc/db/hash: hash.c
lib/libkvm : kvm.c
lib/libsndio : mio_rmidi.c sio_sun.c
lib/libutil : passwd.c
usr.bin/mail : names.c
usr.bin/usbhidaction: usbhidaction.c
usr.sbin/apmd : apmd.c
usr.sbin/cron : misc.c

Log message:
Use O_CLOEXEC wherever we open a file and then call fcntl(F_SETFD, FD_CLOEXEC)
on it, simplifying error checking, reducing system calls, and improving
thread-safety for libraries.

ok miod@