git: kernel - fix O_CLOEXEC race in open() and fhopen()

Matthew Dillon dillon at crater.dragonflybsd.org
Tue May 19 11:46:43 PDT 2015


commit 330497ceac4c88b07a7c0bed54b34042c8bafe8d
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue May 19 11:46:07 2015 -0700

    kernel - fix O_CLOEXEC race in open() and fhopen()
    
    * Fix an O_CLOEXEC race where a fork/exec can race an
      open(...O_CLOEXEC) and improperly inherit the descriptor.

Summary of changes:
 sys/kern/vfs_syscalls.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/330497ceac4c88b07a7c0bed54b34042c8bafe8d


-- 
DragonFly BSD source repository



More information about the Commits mailing list