summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-03-24 20:07:42 +0100
committerLennart Poettering <lennart@poettering.net>2014-03-24 20:07:42 +0100
commit7f8aa67131cfc03ddcbd31c0420754864fc122f0 (patch)
tree656e59465be5daa450fa4d34dcf2cc3bf298bf93 /src/shared
parent1cfc57e8847ab2b138e5a8fcff4f881b3b1a9b60 (diff)
core: remove tcpwrap support
tcpwrap is legacy code, that is barely maintained upstream. It's APIs are awful, and the feature set it exposes (such as DNS and IDENT access control) questionnable. We should not support this natively in systemd. Hence, let's remove the code. If people want to continue making use of this, they can do so by plugging in "tcpd" for the processes they start. With that scheme things are as well or badly supported as they were from traditional inetd, hence no functionality is really lost.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/exit-status.c3
-rw-r--r--src/shared/exit-status.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/shared/exit-status.c b/src/shared/exit-status.c
index d860b55511..208d329c1e 100644
--- a/src/shared/exit-status.c
+++ b/src/shared/exit-status.c
@@ -113,9 +113,6 @@ const char* exit_status_to_string(ExitStatus status, ExitStatusLevel level) {
case EXIT_STDERR:
return "STDERR";
- case EXIT_TCPWRAP:
- return "TCPWRAP";
-
case EXIT_PAM:
return "PAM";
diff --git a/src/shared/exit-status.h b/src/shared/exit-status.h
index 385d6def06..d6bf84c698 100644
--- a/src/shared/exit-status.h
+++ b/src/shared/exit-status.h
@@ -64,7 +64,7 @@ typedef enum ExitStatus {
EXIT_SETSID, /* 220 */
EXIT_CONFIRM,
EXIT_STDERR,
- EXIT_TCPWRAP,
+ _EXIT_RESERVED, /* used to be tcpwrap, don't reuse! */
EXIT_PAM,
EXIT_NETWORK,
EXIT_NAMESPACE,