mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 05:08:56 +00:00
committed by
Andrew Kaster
parent
1d687b0b31
commit
4d3bb5ada4
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user