Add upper table fds to kernel.proc filetable
This commit is contained in:
@@ -336,11 +336,8 @@ impl ProcScheme {
|
||||
use core::fmt::Write;
|
||||
|
||||
let mut data = String::new();
|
||||
// Only the posix file table is targeted.
|
||||
for index in filetable
|
||||
.read()
|
||||
.posix_fdtbl
|
||||
.iter()
|
||||
.enumerate()
|
||||
.filter_map(|(idx, val)| val.as_ref().map(|_| idx))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user