* fhandler_registry.cc (fhandler_registry::open): Mark /proc/registry
directory and siblings as nohandle fhandler.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user