diff options
author | Liav A <liavalb@gmail.com> | 2023-01-12 22:06:51 +0200 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2023-03-12 10:21:59 -0600 |
commit | 633006926fd26eba7116526c760d2ab7d2a55fe3 (patch) | |
tree | ce1671b7582463e28db9c6746a17414ddfb6573b /Userland/Libraries/LibWeb/Platform | |
parent | 9b297c634f82479f3b6851b77f9af9e1486c4546 (diff) | |
download | serenity-633006926fd26eba7116526c760d2ab7d2a55fe3.zip |
Kernel: Make the Jails' internal design a lot more sane
This is done with 2 major steps:
1. Remove JailManagement singleton and use a structure that resembles
what we have with the Process object. This is required later for the
second step in this commit, but on its own, is a major change that
removes this clunky singleton that had no real usage by itself.
2. Use IntrusiveLists to keep references to Process objects in the same
Jail so it will be much more straightforward to iterate on this kind
of objects when needed. Previously we locked the entire Process list
and we did a simple pointer comparison to check if the checked
Process we iterate on is in the same Jail or not, which required
taking multiple Spinlocks in a very clumsy and heavyweight way.
Diffstat (limited to 'Userland/Libraries/LibWeb/Platform')
0 files changed, 0 insertions, 0 deletions