diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2022-10-10 10:35:47 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-10-15 02:10:28 +0200 |
commit | e23024ccfff661ad5aee7c122a1833a103fbb971 (patch) | |
tree | 141f6d4bdb54532dc469bab272a2c945e12612c9 /util.h | |
parent | 2074b332f9c6d533c7adb46491b3a4b7461cc110 (diff) | |
download | passt-e23024ccfff661ad5aee7c122a1833a103fbb971.tar passt-e23024ccfff661ad5aee7c122a1833a103fbb971.tar.gz passt-e23024ccfff661ad5aee7c122a1833a103fbb971.tar.bz2 passt-e23024ccfff661ad5aee7c122a1833a103fbb971.tar.lz passt-e23024ccfff661ad5aee7c122a1833a103fbb971.tar.xz passt-e23024ccfff661ad5aee7c122a1833a103fbb971.tar.zst passt-e23024ccfff661ad5aee7c122a1833a103fbb971.zip |
conf, log, Makefile: Add versioning information
Add a --version option displaying that, and also include this
information in the log files.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -6,6 +6,14 @@ #ifndef UTIL_H #define UTIL_H +#define VERSION_BLOB \ + VERSION "\n" \ + "Copyright Red Hat\n" \ + "GNU Affero GPL version 3 or later " \ + "<https://www.gnu.org/licenses/agpl-3.0.html>\n" \ + "This is free software: you are free to change and redistribute it.\n" \ + "There is NO WARRANTY, to the extent permitted by law.\n\n" + #ifndef SECCOMP_RET_KILL_PROCESS #define SECCOMP_RET_KILL_PROCESS SECCOMP_RET_KILL #endif |