mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-13 01:40:36 +00:00
Kernel: Remove unused Process::in_group()
This commit is contained in:
parent
434d77cd43
commit
ec3d8a7a18
Notes:
sideshowbarker
2024-07-18 00:34:07 +09:00
Author: https://github.com/AnthonyIacono Commit: https://github.com/SerenityOS/serenity/commit/ec3d8a7a18 Pull-request: https://github.com/SerenityOS/serenity/pull/14974
2 changed files with 0 additions and 8 deletions
|
@ -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;
|
||||
|
|
|
@ -246,8 +246,6 @@ public:
|
|||
return with_protected_data([](auto& protected_data) { return protected_data.umask; });
|
||||
}
|
||||
|
||||
bool in_group(GroupID) const;
|
||||
|
||||
// Breakable iteration functions
|
||||
template<IteratorFunction<Process&> Callback>
|
||||
static void for_each(Callback);
|
||||
|
|
Loading…
Reference in a new issue