1
Fork 0
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:
Tim Schumacher 2023-04-21 10:33:32 +02:00 committed by Andreas Kling
parent ce483fb2c9
commit 12ce6ef3d7
4 changed files with 0 additions and 5 deletions

View file

@ -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;