diff options
author | Daniel Baumann <daniel@debian.org> | 2024-11-10 15:32:30 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2024-11-10 15:32:30 +0100 |
commit | 887c3b877f16e5e1b834e008306afe6677458225 (patch) | |
tree | df0289cd7c79553a1d81310876cf48083db44239 /src/havegecmd.h | |
parent | Adding upstream version 1.9.14. (diff) | |
download | haveged-upstream.tar.xz haveged-upstream.zip |
Adding upstream version 1.9.19.upstream/1.9.19upstream
Signed-off-by: Daniel Baumann <daniel@debian.org>
Diffstat (limited to 'src/havegecmd.h')
-rw-r--r-- | src/havegecmd.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/havegecmd.h b/src/havegecmd.h index 19a1823..5394147 100644 --- a/src/havegecmd.h +++ b/src/havegecmd.h @@ -1,7 +1,7 @@ /** ** Provide HAVEGE socket communication API ** - ** Copyright 2018-2021 Jirka Hladky hladky DOT jiri AT gmail DOT com + ** Copyright 2018-2022 Jirka Hladky hladky DOT jiri AT gmail DOT com ** Copyright 2018 Werner Fink <werner@suse.de> ** ** This program is free software: you can redistribute it and/or modify @@ -40,7 +40,7 @@ extern "C" { #define ASCII_ACK "\x6" /* ASCII acknowledge */ #define ASCII_NAK "\x15" /* ASCII negative acknowledge */ #define ASCII_STX "\x2" /* ASCII start of text */ - + #ifndef SOCK_CLOEXEC #define SOCK_CLOEXEC 0 #endif @@ -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 */ |