diff options
Diffstat (limited to 'input')
-rw-r--r-- | input/ipc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/input/ipc.c b/input/ipc.c index 2e17fd4fac..486b9db011 100644 --- a/input/ipc.c +++ b/input/ipc.c @@ -725,6 +725,10 @@ static void *ipc_thread(void *p) goto done; } +#if HAVE_FCHMOD + fchmod(ipc_fd, 0600); +#endif + size_t path_len = strlen(arg->path); if (path_len >= sizeof(ipc_un.sun_path) - 1) { MP_ERR(arg, "Could not create IPC socket\n"); |