[orbis-kernel] implement sys_chdir & sys_chroot

This commit is contained in:
DH 2023-11-11 20:51:10 +03:00
parent d814b2b741
commit 05b7861999
4 changed files with 52 additions and 21 deletions

View file

@ -57,6 +57,10 @@ struct Process final {
const ProcessOps *ops = nullptr;
AppInfo appInfo{};
AuthInfo authInfo{};
kstring cwd;
kstring root = "/";
sint memoryContainer{1};
bool isInSandbox = false;
std::uint64_t nextTlsSlot = 1;
std::uint64_t lastTlsOffset = 0;