mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
Kernel: Move process extra_gids into protected data :^)
This commit is contained in:
parent
cbcf891040
commit
d677a73b0e
5 changed files with 11 additions and 11 deletions
|
@ -110,7 +110,7 @@ NonnullRefPtrVector<Process> Process::all_processes()
|
|||
|
||||
bool Process::in_group(gid_t gid) const
|
||||
{
|
||||
return this->gid() == gid || m_extra_gids.contains_slow(gid);
|
||||
return this->gid() == gid || extra_gids().contains_slow(gid);
|
||||
}
|
||||
|
||||
void Process::kill_threads_except_self()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue