1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 08:57:34 +00:00

Kernel: Move process umask into protected data :^)

This commit is contained in:
Andreas Kling 2021-03-11 13:23:23 +01:00
parent 90c0f9664e
commit 08e0e2eb41
3 changed files with 4 additions and 5 deletions

View file

@ -117,6 +117,7 @@ protected:
u32 m_promises { 0 };
bool m_has_execpromises { false };
u32 m_execpromises { 0 };
mode_t m_umask { 022 };
};
class ProcessBase : public ProtectedProcessBase {
@ -595,8 +596,6 @@ private:
RefPtr<TTY> m_tty;
mode_t m_umask { 022 };
WeakPtr<Region> m_master_tls_region;
size_t m_master_tls_size { 0 };
size_t m_master_tls_alignment { 0 };