diff options
author | Daniel Baumann <daniel@debian.org> | 2024-11-10 16:16:24 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2024-11-10 16:16:24 +0100 |
commit | cdf56a816374e203911fee70a9afbb8b6f7310d6 (patch) | |
tree | 84b844fe0f39acaae437a52b8ec4ce29ced09b08 /src/havegecmd.h | |
parent | Adding debian version 1.9.14-2. (diff) | |
download | haveged-cdf56a816374e203911fee70a9afbb8b6f7310d6.tar.xz haveged-cdf56a816374e203911fee70a9afbb8b6f7310d6.zip |
Merging upstream version 1.9.19 (Closes: #999811, #1078052):
- haveged can be run as an application if also running as a daemon (Closes: #998382).
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 */ |