Print this page
7653 tmpfs: calling unlink() on a directory which isn't empty should fail

Split Close
Expand all
Collapse all
          --- old/usr/src/man/man2/unlink.2.man.txt
          +++ new/usr/src/man/man2/unlink.2.man.txt
↓ open down ↓ 82 lines elided ↑ open up ↑
  83   83                         file is not writable by the user, the user does not own
  84   84                         the parent directory, the user does not own the file,
  85   85                         and the user is not a privileged user.
  86   86  
  87   87  
  88   88         EBUSY
  89   89                         The entry to be unlinked is the mount point for a
  90   90                         mounted file system.
  91   91  
  92   92  
       93 +       EEXIST
       94 +                       The entry to be unlinked is a directory which is not
       95 +                       empty.
       96 +
       97 +
  93   98         EFAULT
  94   99                         The path argument points to an illegal address.
  95  100  
  96  101  
  97  102         EILSEQ
  98  103                         The path argument includes non-UTF8 characters and the
  99  104                         file system accepts only file names where all
 100  105                         characters are part of the UTF-8 character codeset.
 101  106  
 102  107  
↓ open down ↓ 70 lines elided ↑ open up ↑
 173  178         +--------------------+----------------------------------------------+
 174  179         |MT-Level            | Async-Signal-Safe                            |
 175  180         +--------------------+----------------------------------------------+
 176  181  
 177  182  SEE ALSO
 178  183         rm(1), close(2), link(2), open(2), rmdir(2), remove(3C), attributes(5),
 179  184         privileges(5), fsattr(5)
 180  185  
 181  186  
 182  187  
 183      -                                 May 18, 2007                        UNLINK(2)
      188 +                               December 7, 2016                      UNLINK(2)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX