mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:48:11 +00:00
Kernel: Move process "dumpable" flag into protected data
This commit is contained in:
parent
3d27269f13
commit
37ad880660
2 changed files with 10 additions and 4 deletions
|
@ -725,4 +725,11 @@ bool Process::add_thread(Thread& thread)
|
|||
return is_first;
|
||||
}
|
||||
|
||||
void Process::set_dumpable(bool dumpable)
|
||||
{
|
||||
if (dumpable == protected_data().dumpable)
|
||||
return;
|
||||
MutableProtectedData(*this)->dumpable = dumpable;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue