[orbis-kernel] implement kevent proc filter

fix pipe deadlock
This commit is contained in:
DH 2023-11-13 21:36:25 +03:00
parent 5e9074d391
commit 1a9b0ed0b5
8 changed files with 204 additions and 144 deletions

View file

@ -1,6 +1,7 @@
#pragma once
#include "orbis-config.hpp"
#include "../event.hpp"
#include "../evf.hpp"
#include "../ipmi.hpp"
#include "../osem.hpp"
@ -62,6 +63,7 @@ struct Process final {
sint memoryContainer{1};
sint budgetId{1};
bool isInSandbox = false;
EventEmitter event;
std::uint64_t nextTlsSlot = 1;
std::uint64_t lastTlsOffset = 0;