mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +00:00
LibSQL: Don't use fchmod for socket on any BSD
This commit is contained in:
parent
f700d553ab
commit
13f6767637
Notes:
sideshowbarker
2024-07-19 16:56:10 +09:00
Author: https://github.com/ghost Commit: https://github.com/SerenityOS/serenity/commit/13f67676370 Pull-request: https://github.com/SerenityOS/serenity/pull/17551
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ static ErrorOr<int> create_database_socket(DeprecatedString const& socket_path)
|
|||
TRY(Core::System::fcntl(socket_fd, F_SETFD, FD_CLOEXEC));
|
||||
# endif
|
||||
|
||||
# if !defined(AK_OS_MACOS) && !defined(AK_OS_FREEBSD) && !defined(AK_OS_OPENBSD)
|
||||
# if !defined(AK_OS_BSD_GENERIC)
|
||||
TRY(Core::System::fchmod(socket_fd, 0600));
|
||||
# endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue