summaryrefslogtreecommitdiffstats
path: root/loginrec.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2018-02-13 09:10:46 +1100
committerDarren Tucker <dtucker@dtucker.net>2018-02-15 20:04:02 +1100
commitddc0f3814881ea279a6b6d4d98e03afc60ae1ed7 (patch)
treed09efd846cd29f2dfeb0acd04756294e4f6761c9 /loginrec.c
parent174bed686968494723e6db881208cc4dac0d020f (diff)
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 788553e9..bdbc9bbf 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