Darren Tucker
5c6a91a39d
- (dtucker) [acconfig.h configure.ac port-aix.c] Older AIXes don't declare
...
loginfailed at all, so assume 3-arg loginfailed if not declared.
2003-07-14 16:21:44 +10:00
Darren Tucker
b9aa0a0baa
- (dtucker) [auth-passwd.c auth.c session.c sshd.c port-aix.c port-aix.h]
...
Convert aixloginmsg into platform-independant Buffer loginmsg.
2003-07-08 22:59:59 +10:00
Darren Tucker
a0c0b63112
- (dtucker) [acconfig.h auth-passwd.c configure.ac session.c port-aix.[ch]]
...
Include AIX headers for authentication functions and make calls match
prototypes. Test for and handle 3-args and 4-arg variants of loginfailed.
2003-07-08 20:52:12 +10:00
Darren Tucker
6cf1a2cfe8
- (dtucker) [openbsd-compat/setproctitle.c] Ensure SPT_TYPE is defined before
...
testing its value.
When HAVE_SETPROCTITLE is defined (at least on NetBSD, gcc 2.95.3) the test
"#if SPT_TYPE == SPT_REUSEARGV" is not true (probably because SPT_TYPE or
SPT_REUSEARGV is not defined). This results in the following build error:
$ gcc [flags] setproctitle.c
setproctitle.c: In function `compat_init_setproctitle':
setproctitle.c:102: `argv_start' undeclared (first use in this function)
2003-06-22 18:32:10 +10:00
Damien Miller
53950b68bf
- (djm) Update license on fake-rfc2553.[ch]; ok itojun@
2003-06-14 08:43:22 +10:00
Darren Tucker
bc976f92d3
Fix typos in comments.
2003-06-11 23:56:41 +10:00
Damien Miller
af63951c57
- (djm) Put licenses on substantial header files
2003-06-11 22:51:32 +10:00
Darren Tucker
881753bef2
- (dtucker) Define EAI_NONAME in fake-rfc2553.h (used by fake-rfc2553.c).
2003-06-05 22:20:11 +10:00
Darren Tucker
4aff13f1e7
- (dtucker) Add includes.h to fake-rfc2553.c so it will build.
2003-06-05 19:37:30 +10:00
Damien Miller
c28e38d23a
- (djm) Merge all the openbsd/fake-* into fake-rfc2553.[ch]
2003-06-05 18:52:47 +10:00
Damien Miller
b95bb7f9b1
- (djm) Don't use xmalloc() or pull in toplevel headers in fake-* code
2003-06-05 10:04:12 +10:00
Damien Miller
ceb3136f5f
KNF
2003-06-05 09:56:35 +10:00
Damien Miller
10eac0cf8f
- (djm) Support AI_NUMERICHOST in fake-getaddrinfo.c. Needed for recent
...
canohost.c changes.
2003-06-05 09:48:32 +10:00
Darren Tucker
eb28cbc399
- (dtucker) [port-aix.c bsd-cray.c] Fix uses of verify_reverse_mapping.
2003-06-03 12:45:27 +10:00
Damien Miller
329638e49c
- (djm) Sync openbsd-compat with OpenBSD CVS.
...
- No more 4-term BSD licenses in our tree
2003-06-03 12:12:50 +10:00
Damien Miller
4636d93c0c
Removal of advertising clause in accordance with:
...
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
ok theo@ and millert@
2003-06-03 11:23:32 +10:00
Damien Miller
35276253a6
- (djm) Replace setproctitle replacement with code derived from
...
UCB sendmail
2003-06-03 10:14:28 +10:00
Damien Miller
8d2ee9bc71
remove a bit of diff which snuck into the copyright header
2003-06-02 18:59:45 +10:00
Damien Miller
f46844214d
- (djm) Sync license on openbsd-compat/bindresvport.c with OpenBSD CVS
2003-06-02 18:59:08 +10:00
Tim Rice
237ca4ab08
openbsd-compat/xmmap.[ch] License clarifications. Add missing CVS ID.
2003-06-01 19:25:27 -07:00
Ben Lindstrom
b4967c3105
License clarifications.
...
bsd-nextstep.[ch] - myself
bsd-waitpid.[ch] - myself
port-irix.[ch] - Denis Parker & Michael Stone (original coders when
done in session.c)
2003-06-01 03:23:57 +00:00
Damien Miller
c322bbaabd
unbreak; with dtucker
2003-05-19 10:39:37 +10:00
Damien Miller
3867bf3e7a
unfuck
2003-05-19 09:33:15 +10:00
Damien Miller
317412502b
- (djm) Big KNF on openbsd-compat/
2003-05-19 00:13:38 +10:00
Damien Miller
e323df6c48
- (djm) Sync openbsd-compat/ with OpenBSD CVS head
2003-05-18 22:24:09 +10:00
Ben Lindstrom
4c9e9ab165
- (bal) strcat -> strlcat on openbsd-compat/realpath.c (rev 1.8 OpenBSD)
2003-05-18 01:22:43 +00:00
Damien Miller
b10f1cd878
- (djm) Only build getrrsetbyname replacement when using --with-dns
2003-05-15 20:55:27 +10:00
Damien Miller
ffda4cb218
- (djm) Avoid uuencode.c warnings
2003-05-15 13:57:51 +10:00
Damien Miller
d9ec370ac3
- (djm) Import getrrsetbyname() function from OpenBSD libc (for DNS support)
2003-05-15 12:27:08 +10:00
Darren Tucker
abef5628e8
- (dtucker) Set ai_socktype and ai_protocol in fake-getaddrinfo.c. ok djm@
2003-05-14 21:48:51 +10:00
Darren Tucker
70a08cd29d
- (dtucker) Move #include of bsd-cygwin_util.h to openbsd-compat.h. Patch from
...
vinschen@redhat.com .
2003-05-04 10:41:20 +10:00
Darren Tucker
04cc5385b1
- (dtucker) Add missing "void" to record_failed_login in bsd-cray.c. Noted
...
by wendyp@cray.com .
2003-05-03 07:32:56 +10:00
Darren Tucker
97363a8b24
- (dtucker) Move handling of bad password authentications into a platform
...
specific record_failed_login() function (affects AIX & Unicos).
2003-05-02 23:42:25 +10:00
Damien Miller
f18462f5bf
license from samba
2003-04-01 21:31:56 +10:00
Damien Miller
68d893dfed
- (djm) Fix getpeerid support for 64 bit BE systems. From
...
Arnd Bergmann <arndb@de.ibm.com>
2003-03-25 09:07:52 +11:00
Damien Miller
62b6b17080
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
...
Report from murple@murple.net , diagnosis from dtucker@zip.com.au
2003-03-24 13:35:58 +11:00
Ben Lindstrom
a5a2648b81
- (bal) Collection of Cray patches (bsd-cray.h fix for CRAYT3E and improved
...
guessing rules)
2003-03-21 01:05:37 +00:00
Tim Rice
4e4dc561ae
[configure.ac openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h]
...
add nanosleep(). testing/corrections by Darren Tucker <dtucker@zip.com.au>
2003-03-18 10:21:40 -08:00
Damien Miller
cafbcc7334
- (djm) Fix return value checks for RAND_bytes. Report from
...
Steve G <linux_4ever@yahoo.com>
2003-03-17 16:13:53 +11:00
Damien Miller
73942b9d54
duh
2003-02-25 14:32:16 +11:00
Damien Miller
17bbc45a11
me <- idiot
2003-02-25 10:25:12 +11:00
Damien Miller
fe1f14375a
- (djm) Bug #456 : Support for NEC SX6 with Unicos; from wendyp@cray.com
2003-02-24 15:45:42 +11:00
Damien Miller
8d8168a255
- (djm) Rest of Bug #499 : Import a basename() function from OpenBSD libc
2003-02-24 12:55:55 +11:00
Damien Miller
30947c7287
- (djm) Bug #501 : gai_strerror should return char*;
...
fix from dtucker@zip.com.au
2003-02-24 12:35:08 +11:00
Damien Miller
850b942037
- (djm) Teach fake-getaddrinfo to use getservbyname() when provided a
...
string service name. Suggested by markus@, review by itojun@
2003-02-06 10:50:42 +11:00
Ben Lindstrom
4b0f1ad4db
- (bal) AIX 4.2.1 lacks nanosleep(). Patch to use nsleep() provided by
...
dtucker@zip.com.au
2003-02-01 04:43:34 +00:00
Ben Lindstrom
6dc562a7aa
- (bal) Bugzilla 477 patch by wendyp@cray.com. Define TIOCGPGRP for
...
cray. Also removed test for tcgetpgrp in configure.ac since it
is no longer used.
2003-01-27 21:15:10 +00:00
Damien Miller
140344b809
- (djm) Fix compilation for NetBSD from dtucker@zip.com.au
2003-01-20 13:15:10 +11:00
Damien Miller
9715bb1833
- (djm) Bug #470 : Detect strnvis, not strvis in configure.
...
From d_wllms@lanl.gov
2003-01-17 10:31:38 +11:00
Damien Miller
ec201964e4
- (djm) Rework openbsd-compat/setproctitle.c a bit: move emulation type
...
detection to configure.ac. Prompted by stevesk@
2003-01-13 10:04:58 +11:00
Damien Miller
a8ed44b79e
- (djm) Enable new setproctitle emulation for Linux, AIX and HP/UX. More
...
systems may be added later.
2003-01-10 09:53:12 +11:00
Damien Miller
13dd03a0e2
- (djm) Sync openbsd-compat/ with OpenBSD -current
2003-01-08 11:16:48 +11:00
Damien Miller
b93addb6d6
- (djm) Bug #111 : Run syslog and stderr logging through strnvis to eliminate
...
nasties. Report from peak@argo.troja.mff.cuni.cz
2003-01-07 17:04:18 +11:00
Damien Miller
e832819cf7
- (djm) Bug #26 : Use local mkstemp() rather than glibc's silly one. Fixes
...
Can't pass KRB4 TGT passing. Fix from: jan.iven@cern.ch
2003-01-07 15:18:32 +11:00
Ben Lindstrom
224313cdae
- (bal) Update ssh-host-config and minor rewrite of bsd-cygwin_util.c
...
ntsec now default if cygwin version beginning w/ version 56. Patch
by Corinna Vinschen <vinschen@redhat.com>
2002-11-09 15:59:27 +00:00
Tim Rice
81ed518b9b
Cray fixes (bug 367) based on patch from Wendy Palm @ cray.
...
This does not include the deattack.c fixes.
2002-09-25 17:38:46 -07:00
Damien Miller
9b481510bb
- (djm) Sync sys/tree.h with OpenBSD -current. Rename tree.h and
...
fake-queue.h to sys-tree.h and sys-queue.h
2002-09-12 10:43:29 +10:00
Damien Miller
771721fa31
- (djm) Added getpeereid() replacement. Properly implemented for systems
...
with SO_PEERCRED support. Faked for systems which lack it.
2002-09-12 10:32:59 +10:00
Damien Miller
71eb0c1550
- (djm) Sync openbsd-compat with OpenBSD -current
2002-09-11 10:29:11 +10:00
Ben Lindstrom
6f52b3e399
- (bal) [bsd-cray.c bsd-cray.h] Part 2 of Cray merger.
2002-07-23 21:00:17 +00:00
Ben Lindstrom
446d886fa5
- (bal) [monitor_mm.c openbsd-compat/xmmap.h] Move xmmap() defines
...
into it's own header.
2002-07-23 00:03:33 +00:00
Kevin Steves
066e1ab8a3
- (stevesk) [xmmap.c] missing prototype for fatal()
2002-07-22 16:20:29 +00:00
Tim Rice
40017b0e7a
(bal/tim) [acconfig.h configure.ac monitor_mm.c servconf.c
...
openbsd-compat/Makefile.in] support compression on platforms that
have no/broken MAP_ANON. Moved code to openbsd-compat/xmmap.c
Based on patch from nalin@redhat.com of code extracted from Owl's package
2002-07-14 13:36:49 -07:00
Ben Lindstrom
100d586df2
- (bal) Correction to utimes() again.
2002-07-08 21:09:41 +00:00
Ben Lindstrom
8abe736dd7
- (bal) [realpath.c] Updated with OpenBSD tree.
2002-07-07 22:07:10 +00:00
Ben Lindstrom
024f08f3f6
Added author to ports-aix.[ch].
2002-07-07 02:17:36 +00:00
Ben Lindstrom
d00a1a1a03
- (bal) One too many nulls in ports-aix.c
2002-07-04 19:33:49 +00:00
Ben Lindstrom
604de56009
- (bal) glob.c defines TILDE and AIX also defines it. #undef it first.
...
bug #265
2002-07-04 18:20:51 +00:00
Ben Lindstrom
51b2488aad
- (bal) Clean up aix_usrinfo(). Ignore TTY= period I guess.
2002-07-04 03:08:40 +00:00
Ben Lindstrom
723e29aa20
- (bal) minor correction to utimes() replacement. Patch by
...
onoe@sm.sony.co.jp
2002-07-03 23:50:00 +00:00
Ben Lindstrom
dd21fe9ca0
- (bal) s/config.h/includes.h/ in openbsd-compat/ for *.c. Otherwise wise
...
have issues of our fixes not propogating right (ie bcopy instead of
memmove). OK tim
2002-06-27 18:23:20 +00:00
Ben Lindstrom
ee9ac35fc2
- (bal) getopt now can be staticly compiled on those platforms missing
...
optreset. Patch by binder@arago.de
2002-06-22 00:26:59 +00:00
Ben Lindstrom
f0bfa839bd
- (bal) Fixed AIX environment handling, use setpcred() instead of existing
...
code. (Bugzilla Bug 261)
2002-06-21 00:01:18 +00:00
Ben Lindstrom
0e23ebcc8b
- (bal) typo of setgroup for cygwin. Patch by vinschen@redhat.com
2002-06-13 21:34:57 +00:00
Ben Lindstrom
837461bf9a
- (bal) Build noop setgroups() for cygwin to clean up code (For other
...
platforms without the setgroups() requirement, you MUST define
SETGROUPS_NOOP in the configure.ac) Based on patch by vinschen@redhat.com
2002-06-12 16:57:14 +00:00
Ben Lindstrom
2b70e5603f
- (bal) Clarified openbsd-compat/*-cray.* Licence provided by Wendy.
2002-05-15 16:39:51 +00:00
Tim Rice
63cf84199d
fix logic on when seed_rng() is called.
...
Report by Chris Maxwell <maxwell@cs.dal.ca>
2002-05-08 15:57:18 -07:00
Tim Rice
4bd2a19890
Add truncate() emulation to address Bug 208
2002-05-07 19:51:31 -07:00
Damien Miller
804357ace9
- (djm) Fix readpassphase compilation for systems which have it
2002-05-01 22:00:22 +10:00
Kevin Steves
eb3630205a
- (stevesk) bsd-cygwin_util.[ch] BSD license from Corinna Vinschen
2002-04-15 22:00:51 +00:00
Tim Rice
813f0452ed
[acconfig.h defines.h includes.h] put includes in includes.h and
...
defines in defines.h [rijndael.c openbsd-compat/fake-socket.h
openbsd-compat/inet_aton.c] include "includes.h" instead of "config.h"
ok stevesk@
2002-04-11 20:35:39 -07:00
Ben Lindstrom
8ff2a8d2c2
- (bal) Revered out of runtime IRIX runtime detection of joblimits. Code is
...
incomplete.
2002-04-06 18:58:31 +00:00
Ben Lindstrom
924144e650
- (bal) Too many <sys/queue.h> issues. Remove all workarounds and
...
using internal version only.
2002-04-05 20:23:35 +00:00
Kevin Steves
6205a18f55
- (stevesk) import OpenBSD <sys/tree.h> as "openbsd-compat/tree.h"
2002-03-26 00:12:49 +00:00
Ben Lindstrom
784e234c19
- (bal) Test for IRIX JOBS support at runtime. Patch provided
...
by David Kaelbling <drk@sgi.com>
2002-03-08 03:50:57 +00:00
Kevin Steves
a2b9607a86
- (stevesk) openbsd-compat/base64.h: typo in comment
2002-02-26 16:59:58 +00:00
Ben Lindstrom
c004135b72
- (bal) Last AIX patch. Moved aix_usrinfo() outside of do_setuserconext()
...
since we need more session information than provided by that function.
2002-02-25 15:48:02 +00:00
Ben Lindstrom
127398c6ec
- (bal) Drop Session *s usage in ports-aix.[ch] and pass just what we
...
need to do the jobs (AIX still does not fully compile, but that is
coming).
2002-02-24 20:25:46 +00:00
Ben Lindstrom
a9c039cf04
- (bal) Migrated AIX getuserattr and usrinfo code to
...
openbsd-compat/port-aix.[c] to improve readilbity of do_child() and
simplify our diffs against upstream source.
2002-02-19 20:27:55 +00:00
Ben Lindstrom
f095a85882
- (bal) Migrate IRIX jobs/projects/audit/etc code to
...
openbsd-compat/port-irix.[ch] to improve readiblity of do_child()
2002-02-19 20:02:48 +00:00
Damien Miller
7217b3e697
oops, remove some debugging junk that crept in
2002-02-14 20:43:08 +11:00
Damien Miller
89a1b9f908
unbreak
2002-02-13 16:43:52 +11:00
Damien Miller
8e3bdca1da
- (djm) Sync openbsd-compat with OpenBSD CVS too
2002-02-13 16:00:15 +11:00
Damien Miller
0dea79d6b6
- (djm) Apply Cygwin pointer deref fix from Corinna Vinschen
...
<vinschen@redhat.com> Could be abused to guess valid usernames
2001-12-29 14:08:28 +11:00
Ben Lindstrom
c97b1affc5
- (bal) PCRE no longer required. Banished from the source along with
...
fake-regex.h
2001-12-07 17:20:47 +00:00
Tim Rice
fe1d100ffd
[contrib/cygwin/README, openbsd-compat/bsd-cygwin_util.c,
...
openbsd-compat/bsd-cygwin_util.h, openbsd-compat/daemon.c]
Allow SSHD to install as service under WIndows 9x/Me
[configure.ac] Fix to allow linking against PCRE on Cygwin
Patches by Corinna Vinschen <vinschen@redhat.com>
2001-11-26 17:19:43 -08:00
Ben Lindstrom
a0bd44cc49
- (bal) Use VDISABLE if _POSIX_VDISABLE is set in readpassphrase.c. Patch
...
by todd@
2001-10-25 15:02:35 +00:00
Ben Lindstrom
926ce58d3b
- (bal) removed two unsed headers in openbsd-compat/bsd-misc.c
2001-10-10 20:38:55 +00:00
Ben Lindstrom
819f1bef5c
20010929
...
- (bal) move reading 'config.h' up higher. Patch by albert chin
<china@thewrittenword.com)
2001-09-29 14:27:00 +00:00
Damien Miller
5f4b10088f
- (djm) Avoid bad and unportable sprintf usage in compat code
2001-09-25 22:21:52 +10:00