mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
Kernel+Userland: Remove the nfds
entry from /sys/kernel/processes
`process.fds()` is protected by a Mutex, which causes issues when we try to acquire it while holding a Spinlock. Since nothing seems to use this value, let's just remove it entirely for now.
This commit is contained in:
parent
ce483fb2c9
commit
12ce6ef3d7
4 changed files with 0 additions and 5 deletions
|
@ -46,7 +46,6 @@ struct ThreadData {
|
|||
uid_t uid;
|
||||
gid_t gid;
|
||||
pid_t ppid;
|
||||
unsigned nfds;
|
||||
DeprecatedString name;
|
||||
DeprecatedString tty;
|
||||
size_t amount_virtual;
|
||||
|
@ -105,7 +104,6 @@ static ErrorOr<Snapshot> get_snapshot()
|
|||
thread_data.uid = process.uid;
|
||||
thread_data.gid = process.gid;
|
||||
thread_data.ppid = process.ppid;
|
||||
thread_data.nfds = process.nfds;
|
||||
thread_data.name = process.name;
|
||||
thread_data.tty = process.tty;
|
||||
thread_data.amount_virtual = process.amount_virtual;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue