DragonFly commits List (threaded) for 2009-07
DragonFly BSD
DragonFly commits List (threaded) for 2009-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.3.2.182.g5b77e master lib/libc_r/uthread uthread_fd.c uthread_open.c


From: Nicolas Thery <nth@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 26 Jul 2009 13:18:38 -0700 (PDT)

commit 5b77e1f680812324ac459c1b6bf730ad1a638b68
Author: Nicolas Thery <nthery@gmail.com>
Date:   Sun Jul 26 20:40:46 2009 +0200

    libc_r: fix bugs in openat()
    
    The openat() wrapper was not locking its file descriptor argument.
    
    Special case the magic AT_FDCWD descriptor in the file descriptor
    locking code (_FD_LOCK() / _FD_UNLOCK()) to avoid EINVAL on locking.

Summary of changes:
 lib/libc_r/uthread/uthread_fd.c   |   32 ++++++++++++++++++++++++++++----
 lib/libc_r/uthread/uthread_open.c |    6 ++++++
 2 files changed, 34 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5b77e1f680812324ac459c1b6bf730ad1a638b68


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]