summaryrefslogtreecommitdiffstats
path: root/src/havegecmd.h
diff options
context:
space:
mode:
authorjirka-h <hladky.jiri@gmail.com>2022-11-28 15:44:28 +0100
committerGitHub <noreply@github.com>2022-11-28 15:44:28 +0100
commit1c5eb6b62a5eb111bd60715a136983f8e9df9ba5 (patch)
treeda428a864479677134a0a0b5ee4ae115cf7ef99f /src/havegecmd.h
parentBumped version to 1.9.19 (diff)
parentLink with -pthread (diff)
downloadhaveged-1c5eb6b62a5eb111bd60715a136983f8e9df9ba5.tar.xz
haveged-1c5eb6b62a5eb111bd60715a136983f8e9df9ba5.zip
Merge pull request #74 from OttoHollmann/master
Synchronize haveged instances during switch root
Diffstat (limited to 'src/havegecmd.h')
-rw-r--r--src/havegecmd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/havegecmd.h b/src/havegecmd.h
index 7765334..2f6fa96 100644
--- a/src/havegecmd.h
+++ b/src/havegecmd.h
@@ -49,6 +49,8 @@ extern "C" {
#define SOCK_NONBLOCK 0
#endif
+#define SEM_NAME "haveged_sem"
+
/**
* Open and listen on a UNIX socket to get command from there
*/