mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:28:11 +00:00
Kernel: Use ProcessID a bit more in Socket
Store the origin and acceptor PID's as ProcessID.
This commit is contained in:
parent
ae197deb6b
commit
4ce99e4ab7
2 changed files with 6 additions and 6 deletions
|
@ -91,10 +91,10 @@ public:
|
|||
virtual KResult setsockopt(int level, int option, Userspace<const void*>, socklen_t);
|
||||
virtual KResult getsockopt(FileDescription&, int level, int option, Userspace<void*>, Userspace<socklen_t*>);
|
||||
|
||||
pid_t origin_pid() const { return m_origin.pid; }
|
||||
ProcessID origin_pid() const { return m_origin.pid; }
|
||||
UserID origin_uid() const { return m_origin.uid; }
|
||||
GroupID origin_gid() const { return m_origin.gid; }
|
||||
pid_t acceptor_pid() const { return m_acceptor.pid; }
|
||||
ProcessID acceptor_pid() const { return m_acceptor.pid; }
|
||||
UserID acceptor_uid() const { return m_acceptor.uid; }
|
||||
GroupID acceptor_gid() const { return m_acceptor.gid; }
|
||||
const RefPtr<NetworkAdapter> bound_interface() const { return m_bound_interface; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue