7653 tmpfs: calling unlink() on a directory which isn't empty should fail
@@ -88,10 +88,15 @@ EBUSY The entry to be unlinked is the mount point for a mounted file system. + EEXIST + The entry to be unlinked is a directory which is not + empty. + + EFAULT The path argument points to an illegal address. EILSEQ
@@ -178,6 +183,6 @@ rm(1), close(2), link(2), open(2), rmdir(2), remove(3C), attributes(5), privileges(5), fsattr(5) - May 18, 2007 UNLINK(2) + December 7, 2016 UNLINK(2)