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

git: kernel/rmdir: Return EBUSY if the dir is a mount point for a mounted fs.


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 13 Apr 2013 00:14:37 -0700 (PDT)

commit cd6a8264ce320929480ebadd227f0a8de0763a3d
Author: Sascha Wildner <saw@online.de>
Date:   Sat Apr 13 09:09:58 2013 +0200

    kernel/rmdir: Return EBUSY if the dir is a mount point for a mounted fs.
    
    See: http://pubs.opengroup.org/onlinepubs/009695399/functions/rmdir.html
    
    It was already documented like that in the manual page.
    
    While here, also document that we return EINVAL if the last component of
    the path is "." or ".." (taken from FreeBSD).
    
    Reported-by:   Joris Giovannangeli <joris@giovannangeli.fr>
    Dragonfly-bug: <http://bugs.dragonflybsd.org/issues/2543>

Summary of changes:
 lib/libc/sys/rmdir.2    | 8 ++++++--
 sys/kern/vfs_syscalls.c | 2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cd6a8264ce320929480ebadd227f0a8de0763a3d


-- 
DragonFly BSD source repository



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