From 9624d92a65520b982f107ede35c085f9daee5fda Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Tue, 27 Jul 2021 12:04:52 +0200 Subject: secmod: use umask, as fchmod is undefined on sockets --- src/util/secmod_common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/util/secmod_common.h') diff --git a/src/util/secmod_common.h b/src/util/secmod_common.h index c1eea655c..ca1270fa8 100644 --- a/src/util/secmod_common.h +++ b/src/util/secmod_common.h @@ -28,6 +28,9 @@ /** * Create the listen socket for a secmod daemon. * + * This function is not thread-safe, as it changes and + * restores the process umask. + * * @param unixpath socket path */ struct GNUNET_NETWORK_Handle * -- cgit v1.2.3