Commit Graph

34 Commits

Author SHA1 Message Date
mrg 0c37c63edc change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
2006-05-09 20:18:05 +00:00
agc 8e6ab8837d Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22284, verified by myself.
2003-08-07 09:46:37 +00:00
itojun 792f67c795 string manipulation cleanup 2003-05-17 21:20:09 +00:00
agc 0134b3c484 Pull in <sys/param.h> explicitly. 2003-04-29 17:22:01 +00:00
dsl 0e023253c0 Call setsid so we get our own logname.
(approved by christos)
2003-03-03 19:05:09 +00:00
thorpej 65c75a7f06 Avoid conflict with reserved identifer "log". 2002-12-06 02:03:18 +00:00
christos 7c266e1884 support utmpx 2002-08-20 14:01:49 +00:00
wiz ec571c2b63 Sort sections, drop effectively empty section. 2002-01-15 02:29:01 +00:00
itojun a56a8b9674 support non-IPv4 address families (in fact, IPv6). 2001-11-21 10:26:22 +00:00
kleink d803d11570 Provide a $LOGNAME as well. 2001-11-15 14:23:09 +00:00
wiz 77937768d5 Fix date, and drop a space. 2001-04-26 23:31:48 +00:00
sommerfeld 722a6b762d Fix PR8428: no longer truncate login name to 8 characters, since
NetBSD supports longer login names now.
1999-09-24 17:59:27 +00:00
msaitoh d261dde4f6 add a missing comma. 1998-11-17 16:32:44 +00:00
msaitoh 0c4bcdab76 add ".Xr uucico 8" (and some fixes) 1998-08-10 17:21:08 +00:00
mrg 88bc5ea96c - KNF.
- check return call of several important system calls
- clean up some more cruft.
- support "uucpd -l" for extra (syslog(3)) logging.
- add a man page for uucpd.  did it really arrive in 4.2BSD as the code
  indicates?  that's what `HISTORY' says...
1998-07-03 18:09:48 +00:00
mrg 39fbcd87b6 - deal with fork failure better
- some more KNF nits
- no more "union wait"
1998-07-03 17:21:22 +00:00
mrg b6134033e4 oops, lost this in previous change. 1998-07-03 04:10:43 +00:00
mrg 9cc2c90c42 backout previous; there was no buffer overflow anymore. while i'm here,
fix some KNF and stop account information leakage in the case of logging
in as a non-existant user (did not prompt for a password for call crypt(3)
before returning "Login incorrect.")
1998-07-02 07:46:45 +00:00
tron f5a8d207a9 Prevent buffer overflow on reverse lookup, fixes PR misc/5688 by
D'Arcy J.M. Cain.
1998-07-01 19:29:22 +00:00
mrg 638411ef77 - don't leak account information (from christoph badura)
- no need to copy remotehost to line, just use remotehost in both
  cases.  fixes problem reported by repsec (see http://www.repsec.com/)
1998-05-18 12:41:30 +00:00
tron 49a4ba96f8 Make login prompt handling smarter, fixed PR bin/3255. 1998-02-13 23:15:16 +00:00
lukem e8cebc9784 use CPPFLAGS instead of CFLAGS 1997-10-22 05:55:52 +00:00
lukem e8b9c15144 rcsid fascism 1997-10-13 09:28:10 +00:00
mrg 89b6eee876 merge lite-2 rcsids 1997-10-08 09:12:46 +00:00
mrg 2268d2dfb3 merge lite-2 Makefiles (rcsids), and turn on WARNS for all of libexec. 1997-10-08 09:07:11 +00:00
mrg 16e14cfd8d WARNS?=1. RCS ids 1997-10-07 10:57:08 +00:00
mrg 7bcd5087e9 WARNS?=1. also, call setlogin(). 1997-10-07 09:29:50 +00:00
thorpej d303db9334 Fix newline/carriage return handling during login.
From D'Arcy J.M. Cain <darcy@druid.com>, PR #2969.
1996-12-01 00:44:48 +00:00
mycroft e4cc49cc0d Fill in sin_len. 1995-06-03 22:47:20 +00:00
cgd c889ba6f68 kill bad cast 1994-04-01 03:51:44 +00:00
cgd 4b30c543a0 always use libcrypt 1993-10-07 02:16:39 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
brezak 9d140301eb Uucpd from Net2 1993-06-29 18:53:47 +00:00