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:
parent
242063866f
commit
7f96288535
3 changed files with 16 additions and 6 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue