summaryrefslogtreecommitdiffstats
path: root/loginrec.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-02-12 23:10:46 +0100
committerDarren Tucker <dtucker@dtucker.net>2018-02-15 10:04:02 +0100
commitddc0f3814881ea279a6b6d4d98e03afc60ae1ed7 (patch)
treed09efd846cd29f2dfeb0acd04756294e4f6761c9 /loginrec.c
parentRetpoline linker flag only needed for linking. (diff)
downloadopenssh-ddc0f3814881ea279a6b6d4d98e03afc60ae1ed7.tar.xz
openssh-ddc0f3814881ea279a6b6d4d98e03afc60ae1ed7.zip
Remove UNICOS support.
The code required to support it is quite invasive to the mainline code that is synced with upstream and is an ongoing maintenance burden. Both the hardware and software are literal museum pieces these days and we could not find anyone still running OpenSSH on one.
Diffstat (limited to 'loginrec.c')
-rw-r--r--loginrec.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/loginrec.c b/loginrec.c
index 788553e92..bdbc9bbf4 100644
--- a/loginrec.c
+++ b/loginrec.c
@@ -663,15 +663,9 @@ construct_utmp(struct logininfo *li,
switch (li->type) {
case LTYPE_LOGIN:
ut->ut_type = USER_PROCESS;
-#ifdef _UNICOS
- cray_set_tmpdir(ut);
-#endif
break;
case LTYPE_LOGOUT:
ut->ut_type = DEAD_PROCESS;
-#ifdef _UNICOS
- cray_retain_utmp(ut, li->pid);
-#endif
break;
}
# endif