mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
Kernel: Move process "dumpable" flag into protected data
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user