mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 20:15:07 +00:00
parent
1d687b0b31
commit
4d3bb5ada4
1 changed files with 2 additions and 0 deletions
|
@ -37,7 +37,9 @@ static ErrorOr<int> create_database_socket(DeprecatedString const& socket_path)
|
|||
TRY(Core::System::fcntl(socket_fd, F_SETFD, FD_CLOEXEC));
|
||||
# endif
|
||||
|
||||
# ifndef AK_OS_MACOS
|
||||
TRY(Core::System::fchmod(socket_fd, 0600));
|
||||
# endif
|
||||
|
||||
auto socket_address = Core::SocketAddress::local(socket_path);
|
||||
auto socket_address_un = socket_address.to_sockaddr_un().release_value();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue