Files
chromium-dev/chromium-mojo_chmod_mode.patch
2026-02-11 01:39:39 +01:00

12 lines
663 B
Diff

--- chromium-146.0.7670.2/components/named_mojo_ipc_server/named_mojo_server_endpoint_connector_linux.cc 2026/02/11 00:37:34 1.1
+++ chromium-146.0.7670.2/components/named_mojo_ipc_server/named_mojo_server_endpoint_connector_linux.cc 2026/02/11 00:38:05
@@ -116,7 +116,7 @@
if (!options_.require_same_peer_user) {
// Allow any user to write to the UDS. fchmod doesn't work after bind(), so
// we need to call chmod on the socket filename, which is the server name.
- if (chmod(options_.server_name.c_str(), 0o666) != 0) {
+ if (chmod(options_.server_name.c_str(), 0666) != 0) {
PLOG(ERROR) << "chmod failed";
return false;
}