* fhandler_process.cc (fhandler_process::open): Allow opening of
/proc/<pid>/fd for reading. * fhandler_registry.cc (fhandler_registry::open): Ditto for registry keys.
This commit is contained in:
@ -293,9 +293,8 @@ fhandler_process::open (int flags, mode_t mode)
|
||||
}
|
||||
if (process_file_no == PROCESS_FD)
|
||||
{
|
||||
set_errno (EISDIR);
|
||||
res = 0;
|
||||
goto out;
|
||||
flags |= O_DIROPEN;
|
||||
goto success;
|
||||
}
|
||||
if (flags & O_WRONLY)
|
||||
{
|
||||
|
Reference in New Issue
Block a user