diff options
author | Colin Watson <cjwatson@debian.org> | 2003-09-23 18:08:35 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2003-09-23 18:08:35 +0000 |
commit | d59fd3e421aa81b8e5e118f3f806081df2aca879 (patch) | |
tree | 356a4e607edc979c625bb33db63c656d771478bd /openbsd-compat/bsd-cray.h | |
parent | 7505658c58e96b8d270f1928a0e1fa7f3e0c266b (diff) | |
parent | 45431c9b4677608680cd071768cbf156b316a7e8 (diff) |
Merge 3.7.1p2 to the trunk. I have absolutely no idea yet whether this will
work.
Diffstat (limited to 'openbsd-compat/bsd-cray.h')
-rw-r--r-- | openbsd-compat/bsd-cray.h | 34 |
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 |
41 | void cray_init_job(struct passwd *); /* init cray job */ | 40 | |
42 | void cray_job_termination_handler(int); /* process end of job signal */ | 41 | void cray_init_job(struct passwd *); |
43 | void cray_login_failure(char *username, int errcode); | 42 | void cray_job_termination_handler(int); |
44 | int cray_access_denied(char *username); | 43 | void cray_login_failure(char *, int ); |
45 | extern char cray_tmpdir[]; /* cray tmpdir */ | 44 | int cray_access_denied(char *); |
45 | #define CUSTOM_FAILED_LOGIN 1 | ||
46 | void record_failed_login(const char *, const char *); | ||
47 | extern 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 */ |