summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-cray.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/bsd-cray.h')
-rw-r--r--openbsd-compat/bsd-cray.h34
1 files changed, 19 insertions, 15 deletions
diff --git a/openbsd-compat/bsd-cray.h b/openbsd-compat/bsd-cray.h
index a09954f2f..a121ea152 100644
--- a/openbsd-compat/bsd-cray.h
+++ b/openbsd-compat/bsd-cray.h
@@ -1,8 +1,6 @@
1/* 1/* $Id: bsd-cray.h,v 1.10 2003/08/29 16:59:52 mouring Exp $ */
2 * $Id: bsd-cray.h,v 1.7 2003/03/21 01:05:38 mouring Exp $ 2
3 * 3/*
4 * bsd-cray.h
5 *
6 * Copyright (c) 2002, Cray Inc. (Wendy Palm <wendyp@cray.com>) 4 * Copyright (c) 2002, Cray Inc. (Wendy Palm <wendyp@cray.com>)
7 * Significant portions provided by 5 * Significant portions provided by
8 * Wayne Schroeder, SDSC <schroeder@sdsc.edu> 6 * Wayne Schroeder, SDSC <schroeder@sdsc.edu>
@@ -34,25 +32,31 @@
34 * on UNICOS systems. 32 * on UNICOS systems.
35 * 33 *
36 */ 34 */
35
37#ifndef _BSD_CRAY_H 36#ifndef _BSD_CRAY_H
38#define _BSD_CRAY_H 37#define _BSD_CRAY_H
39 38
40#ifdef _UNICOS 39#ifdef _UNICOS
41void cray_init_job(struct passwd *); /* init cray job */ 40
42void cray_job_termination_handler(int); /* process end of job signal */ 41void cray_init_job(struct passwd *);
43void cray_login_failure(char *username, int errcode); 42void cray_job_termination_handler(int);
44int cray_access_denied(char *username); 43void cray_login_failure(char *, int );
45extern char cray_tmpdir[]; /* cray tmpdir */ 44int cray_access_denied(char *);
45#define CUSTOM_FAILED_LOGIN 1
46void record_failed_login(const char *, const char *);
47extern char cray_tmpdir[];
48
46#ifndef IA_SSHD 49#ifndef IA_SSHD
47#define IA_SSHD IA_LOGIN 50# define IA_SSHD IA_LOGIN
48#endif 51#endif
49#ifndef MAXHOSTNAMELEN 52#ifndef MAXHOSTNAMELEN
50#define MAXHOSTNAMELEN 64 53# define MAXHOSTNAMELEN 64
51#endif 54#endif
52#ifndef _CRAYT3E 55#ifndef _CRAYT3E
53#include <sys/ttold.h> 56# include <sys/ttold.h>
54#define TIOCGPGRP (tIOC|20) 57# define TIOCGPGRP (tIOC|20)
55#endif
56#endif 58#endif
57 59
60#endif /* UNICOS */
61
58#endif /* _BSD_CRAY_H */ 62#endif /* _BSD_CRAY_H */