mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-26 22:38:51 +00:00
parent
1d687b0b31
commit
4d3bb5ada4
Notes:
sideshowbarker
2024-07-17 06:20:50 +09:00
Author: https://github.com/trflynn89
Commit: 4d3bb5ada4
Pull-request: https://github.com/SerenityOS/serenity/pull/16432
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/IdanHo ✅
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