mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
Kernel: Use current EUID/EGID for LocalSocket prebind credentials
This commit is contained in:
parent
ca3489eec7
commit
d7345cf560
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@ LocalSocket::LocalSocket(int type)
|
|||
all_sockets().resource().append(this);
|
||||
|
||||
auto current_process = Process::current();
|
||||
m_prebind_uid = current_process->uid();
|
||||
m_prebind_gid = current_process->gid();
|
||||
m_prebind_uid = current_process->euid();
|
||||
m_prebind_gid = current_process->egid();
|
||||
m_prebind_mode = 0666;
|
||||
|
||||
m_for_client.set_unblock_callback([this]() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue