summaryrefslogtreecommitdiff
path: root/openbsd-compat/bsd-cray.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-02-02 17:10:11 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-02-02 17:10:11 +1100
commit42d9dc75ed2eefa6eeffc892f02eb164c1860603 (patch)
treec10968f34ae3610ac1630718b2b2c967d5a448aa /openbsd-compat/bsd-cray.h
parentad7646a59ab05ed9d6c156ba952725f44c02de7d (diff)
- (dtucker) [auth.c loginrec.h openbsd-compat/{bsd-cray,port-aix}.{c,h}]
Make record_failed_login() call provide hostname rather than having the implementations having to do lookups themselves. Only affects AIX and UNICOS (the latter only uses the "user" parameter anyway). ok djm@
Diffstat (limited to 'openbsd-compat/bsd-cray.h')
-rw-r--r--openbsd-compat/bsd-cray.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/openbsd-compat/bsd-cray.h b/openbsd-compat/bsd-cray.h
index de6ba1a8d..774eceb5a 100644
--- a/openbsd-compat/bsd-cray.h
+++ b/openbsd-compat/bsd-cray.h
@@ -1,4 +1,4 @@
1/* $Id: bsd-cray.h,v 1.11 2004/01/30 03:34:22 dtucker Exp $ */ 1/* $Id: bsd-cray.h,v 1.12 2005/02/02 06:10:11 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2002, Cray Inc. (Wendy Palm <wendyp@cray.com>) 4 * Copyright (c) 2002, Cray Inc. (Wendy Palm <wendyp@cray.com>)
@@ -42,10 +42,10 @@ void cray_init_job(struct passwd *);
42void cray_job_termination_handler(int); 42void cray_job_termination_handler(int);
43void cray_login_failure(char *, int ); 43void cray_login_failure(char *, int );
44int cray_access_denied(char *); 44int cray_access_denied(char *);
45#define CUSTOM_FAILED_LOGIN 1
46void record_failed_login(const char *, const char *);
47extern char cray_tmpdir[]; 45extern char cray_tmpdir[];
48 46
47#define CUSTOM_FAILED_LOGIN 1
48
49#ifndef IA_SSHD 49#ifndef IA_SSHD
50# define IA_SSHD IA_LOGIN 50# define IA_SSHD IA_LOGIN
51#endif 51#endif