mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 05:08:56 +00:00
Kernel: Remove unused Process::in_group()
This commit is contained in:
committed by
Andreas Kling
parent
434d77cd43
commit
ec3d8a7a18
@@ -84,12 +84,6 @@ UNMAP_AFTER_INIT void Process::initialize()
|
||||
create_signal_trampoline();
|
||||
}
|
||||
|
||||
bool Process::in_group(GroupID gid) const
|
||||
{
|
||||
auto credentials = this->credentials();
|
||||
return credentials->gid() == gid || credentials->extra_gids().contains_slow(gid);
|
||||
}
|
||||
|
||||
void Process::kill_threads_except_self()
|
||||
{
|
||||
InterruptDisabler disabler;
|
||||
|
||||
Reference in New Issue
Block a user