1
0
Fork 0
mirror of https://passt.top/passt synced 2025-06-14 11:35:33 +02:00

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>
This commit is contained in:
Stefano Brivio 2022-10-10 10:35:47 +02:00
parent 2074b332f9
commit e23024ccff
6 changed files with 26 additions and 3 deletions

8
util.h
View file

@ -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