* fhandler_registry.cc (fhandler_registry::open): Mark /proc/registry

directory and siblings as nohandle fhandler.
This commit is contained in:
Corinna Vinschen
2009-12-01 16:31:04 +00:00
parent cfdd76f143
commit b4a3a3e367
2 changed files with 7 additions and 0 deletions

View File

@@ -664,6 +664,8 @@ fhandler_registry::open (int flags, mode_t mode)
else
{
flags |= O_DIROPEN;
/* Marking as nohandle allows to call dup. */
nohandle (true);
goto success;
}
}