1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:27:45 +00:00

Kernel: Encapsulate assignment of socket origin/acceptor credentials

This commit is contained in:
Andreas Kling 2021-08-29 01:30:05 +02:00
parent 242063866f
commit 7f96288535
3 changed files with 16 additions and 6 deletions

View file

@ -137,6 +137,9 @@ protected:
return error;
}
void set_origin(Process const&);
void set_acceptor(Process const&);
protected:
ucred m_origin { 0, 0, 0 };
ucred m_acceptor { 0, 0, 0 };