Commit Graph

19093 Commits

Author SHA1 Message Date
John Polstra
f5491fc795 Security fix. Strip the encrypted passwords out of the "master.passwd"
diff output, and replace them with "(password)".  The diffs get
mailed to root, which in many cases is forwarded across the
Internet.  A patient sniffer could acquire the entire "master.passwd"
file by saving all the diffs.  With this fix, you still see that the
password changed, but you don't see the details.

Unless somebody talks me out of it, I am going to merge this into -2.2
in 48 hours.
1997-02-08 20:54:38 +00:00
Jordan K. Hubbard
d91ba3ace4 Update these docs in preparation for 2.1.7 1997-02-08 17:46:06 +00:00
Joerg Wunsch
cc551f25f4 Do Andrey's homework :) before merging this into 2.2:
. add idempotency #ifdef
. avoid sloppy common-style external declaration.
1997-02-08 14:04:30 +00:00
Joerg Wunsch
17d9b79a9f Add an entry for the Nakamichi 4-disk changer.
Submitted by:	K.R.Marshall@ukc.ac.uk (K.R.Marshall)
1997-02-08 13:26:31 +00:00
KATO Takenori
77720af4dd Replaced hardcoded unit number with ftu. 1997-02-08 09:59:27 +00:00
Poul-Henning Kamp
ed5392a66c Basically reverse last commit which was plain wrong. 1997-02-08 08:57:22 +00:00
KATO Takenori
5007dce7da Synchronize with sys/i386/conf/majors.i386 revision 1.11. 1997-02-08 07:39:07 +00:00
Bill Paul
9baa6352dc Make some small tweaks to the messages to clean up some stuff
from last time. Some people have pointed out that there were some odd
side-effects in the changes I made. Two things are different:

- sc_print_addr() will print 'foodev0:' (i.e. sd0:, st0:, cd0:, etc...)
  if the device name is known. If it's not known, it'll use a longer
  notation. This shortens error messages back to a sane length.

- Added a small function called sc_print_init() to set the sc_printing
  flag so that sc_print_addr() will know that we want it to print a
  linefeed. Used this in scsi_device_attach() to restore proper carriage
  return printing behavior which I broke.

Remaining bogons: the NCR SCSI driver prints out information while the
device-specific attach routine is running with its own linefeeds. This
breaks up the individual messages emitted by the subdriver modules and
causes at least one message to appear on a line by itself without a
device spec prefix. I'm not sure of the correct way to fix this, and
I don't have any NCR SCSI hardware to test with anyway.

There's probably more, but I gather that a rewrite of the SCSI subsystem
is pending anyway, so I'll leave the rest to Those Who Know More About
This Than I (tm).
1997-02-08 03:42:22 +00:00
Daniel O'Callaghan
772dfa7231 Reviewed by: Gary Jennejohn <gj@freebsd.org>
Submitted by:	Bruce Murphy <packrat@iinet.net.au>

Add '-a' audible flag, so terminal will beep upon receipt of a reply
packet.  Useful for debugging ethernet runs, among other things.
1997-02-08 01:43:56 +00:00
Poul-Henning Kamp
b7a652ab84 I have no idea what this is all about, but it works and Bruce hasn't
complained so it cannot be entirely bad :-)

I include the email that probably explains it for people who already know:

> >Compiling with -O3 inlines functions.  However the function that is being
> >inlined in makeinfo.c (add_word_args()) is a vararg function and must not be
> >inlined.
> >
> >The code in question is K&R style, and AFIK, there is no way for the compiler
> >to determine that the function uses vararg.  Either change the code to use
> >prototypes, or use stdarg, or add a directive to prevent inlining.
>
> Not declaring a varargs function as varargs before it is used gives
> undefined behaviour.
>
> However, in practice the bug is probably in FreeBSD's <varargs.h>, which
> doesn't use gcc's __builtin_next_arg().  gcc should notice that it is
> used and not inline functions that have it.  <stdarg.h.> uses it, but I
> think there's another gcc builtin that it should be using.

Patch attached.  The ellipsis causes gcc to flag this as a varargs function,
and the name "__builtin_va_alist" is special cased in gcc to hide the last
argument in the arglist.

Reviewed by:	bde & phk
Submitted by:	jlemon@americantv.com (Jonathan Lemon)
1997-02-07 20:22:15 +00:00
Jordan K. Hubbard
9a969423ea Fix a hop count datatype bogon pointed out in PR#2642 (though my fix
was slightly different than the one submitted).
Submitted by:	Elmar Bartel <bartel@informatik.tu-muenchen.de>
1997-02-07 20:03:49 +00:00
Jordan K. Hubbard
d19c44723d Updates for the 2.1.7-to-be.
Submitted-By: pds
1997-02-07 19:17:22 +00:00
KATO Takenori
15466e1892 Moved macros which are related to BIOS work area from pc98.h
(corresponds to isa.h) to pc98_machdep.h.
1997-02-07 19:07:43 +00:00
KATO Takenori
f97a606a78 Enabled pccard code which was disabled by mistake.
Reminded by:	Masahiro Sekiguchi <seki@sysrap.cs.fujitsu.co.jp>
1997-02-07 19:02:41 +00:00
Garrett Wollman
df6c4acc3c Fix off-by-one error in proxy host:port parser.
Submitted by:	fenner
1997-02-07 17:55:01 +00:00
Paul Traina
125e9dcf6c Put libopie.a in libnames 1997-02-07 17:06:24 +00:00
Andrey A. Chernov
b195036087 Include "setlocale.h" for _PathLocale like other parts already did
Should go in 2.2
1997-02-07 13:05:51 +00:00
Poul-Henning Kamp
1573315810 Add ${.CURDIR}/ to relative path to contrib. 1997-02-07 12:29:27 +00:00
David Nugent
c2efe923b5 Increased username size to allow passing username:auth_method to
login.
1997-02-07 11:45:10 +00:00
Kazutaka YOKOTA
445605a6e0 Fix for the Compaq Armada laptop.
The PS/2 mouse device responds to a reset command with a sequence of
ACK(fa), RESULT(aa) and ID(00).  Most PS/2 mice immediately returns
ACK, but spend sometime before sending RESULT. The Armada takes time
before ACK; extra delay is necessary before the call to read ACK.

The problem was reported in comp.unix.bsd.freebsd.misc and the patch
was tested by the reporter. No PR was filed, by the way.
1997-02-07 11:41:45 +00:00
David Nugent
e56644ad0e Yet another formatting consistency check. 1997-02-07 11:31:42 +00:00
David Nugent
e57b5686c6 Fix useage of MAXLOGNAME to include terminating NUL, by using
max(MAXLOGNAME-1,UT_NAMESIZE).
Tidy up "pretty" printing format for longer usernames.
1997-02-07 10:58:13 +00:00
David Nugent
db2c31168e Correct comments relating to MAXLOGNAME.
MAXLOGNAME includes NUL terminator.
1997-02-07 10:41:41 +00:00
Jordan K. Hubbard
8055777430 It's easier to go forwards than backwards with this, and the RELENG_2_1_0
sysinstall was already broken (I think there's a PR for this somewhere).
This will require some additional changes elsewhere, like bringing in pw.
1997-02-07 04:27:24 +00:00
Paul Traina
00a825f736 Activate libopie 1997-02-07 03:58:36 +00:00
Paul Traina
f89bbf631f Activate new OPIE programs 1997-02-07 03:57:21 +00:00
Paul Traina
f076997839 Build opiepasswd from contrib_opie module. 1997-02-07 03:56:15 +00:00
Paul Traina
247fd82927 Build opiekey from contrip_opie sources. 1997-02-07 03:54:54 +00:00
Paul Traina
dd7bd805eb Build opiekey from the contrib_opie module. 1997-02-07 03:53:12 +00:00
Paul Traina
8c80565e0f Build libopie from contrib_opie module. 1997-02-07 03:51:56 +00:00
Paul Traina
ae7c505681 Config information for FreeBSD 1997-02-07 03:46:28 +00:00
Paul Traina
0e719bd969 Minimal man page changes to reflect integrated ftpd/login/su 1997-02-07 03:46:00 +00:00
Paul Traina
049c277a7b Disconnect OPIE from internal MD4/5 routines 1997-02-07 03:44:44 +00:00
Jordan K. Hubbard
c7006192c9 Reference addendum.html/ADDENDUM.TXT for posting security information after
release.
1997-02-07 02:25:43 +00:00
John Fieber
196717e01c The rule for <acronym> was adding a newline where it should not. Fixed. 1997-02-07 02:25:36 +00:00
Joerg Wunsch
5ecb59ef0b Update to the new open() semantics, need O_NONBLOCK now. 1997-02-06 22:24:35 +00:00
Joerg Wunsch
92cc1cf79e Update to match the new reality. 1997-02-06 22:23:59 +00:00
Joerg Wunsch
94e7483c11 Add worm(4)'s bdev entry. 1997-02-06 22:23:26 +00:00
Joerg Wunsch
a2f36095e2 The worm(4) driver needs a bdev major # now, too. 1997-02-06 22:20:33 +00:00
Joerg Wunsch
ab865e3435 After so many people have been bugging me :), finally implement
read-mode access to CD-ROM media in the worm(4) driver.  No whistles
and bells yet, like all the CDIO* commands, but at least a start.

In order to do this, i had to slightly rearrange the semantics of an
open(2) on the worm driver: now, opening it with O_NONBLOCK set means
no actual IO operations will be intended but only ioctls are to be
processed.  This mode is used by wormcontrol(8) to prepare a track
and/or session.

I have only been able to test this on a 2.2-GAMMA system by now, and
only the !DEVFS part is tested yet.  Also, i have only done a dummy
burn so far, but wouldn't expect many surprises else.  Report bugs to
me ASAP, if there's reasonable demand and i hear no objections, i
might consider merging it into the 2.2 branch as well.
1997-02-06 22:19:44 +00:00
Jordan K. Hubbard
e040f03b1c Correct some of my grammer. 1997-02-06 21:31:31 +00:00
John Fieber
d82b42f6e3 The afterdistribute target is a nop in this setting, remove. 1997-02-06 21:10:52 +00:00
John Fieber
c0839d16f8 Change the distribution from doc to bin. If this is to be doc, then
everything that depends on this needs to be doc as well.  Maybe they
doc tools should be split out into a separate distribution, but until
that decision is made, at least keep them together.
1997-02-06 20:53:11 +00:00
Paul Traina
064ad22d79 This commit was generated by cvs2svn to compensate for changes in r22347,
which included commits to RCS files with non-trunk default branches.
1997-02-06 17:52:29 +00:00
Paul Traina
3c491303b5 Initial import of OPIE v2.3 from
ftp://ftp.nrl.navy.mil/pub/security/opie/
1997-02-06 17:52:29 +00:00
Mike Pritchard
21c7bd7842 Replace "mfs" with "mount_mfs" in the NAME section. 1997-02-06 17:49:55 +00:00
Mike Pritchard
76fd8deada Add a link to the quota section in the "OPTION QUOTAS" section. 1997-02-06 17:47:14 +00:00
Wolfram Schneider
b883c8a310 delete unused variable BINDIR=/usr/libexec
/usr/bin -> ${BINDIR}
1997-02-06 15:00:24 +00:00
KATO Takenori
8716a6359b Deleted ioskip member of the structure pc98_edregister. The member
port is always used for accessing PAR and MAR instead of constant
interval of I/O address.
1997-02-06 14:16:52 +00:00
KATO Takenori
a43de6bdb2 Cosmetic change. Sorted by function, added `1997' to copyright
notice,  and added comment.
1997-02-06 13:38:04 +00:00