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