Commit Graph

4307 Commits

Author SHA1 Message Date
Matthew Dillon
be648216c6 PR: bin/3478
Have pwd_mkdb lock the source file while rebuilding the database.  When
    called by programs such as vipw, the source file is a temporary file and
    this does not conflict with the lock on /etc/master.passwd already held
    by vipw.  When run manually, however, master.passwd is typically specified
    as the argument and the locking prevents other programs from messing with
    master.passwd during the database rebuild.

    Also pwd_mkdb uses a blocking exclusive lock as it may be called from
    a script.  The -N option was added to cause pwd_mkdb to get the lock
    non-blocking and exit with an error if the attempt fails, again useful
    for scripts.
1998-12-13 01:53:50 +00:00
Matthew Dillon
0e31b6b580 oops. Fix indentation of the 'for' loop I just added. 1998-12-13 01:39:32 +00:00
Matthew Dillon
f16d2ab2d3 Handle the race condition where vipw may lock a password file which has
just been replaced.  After our lock succeeds we check if st_nlink is 0
    and if it is we close the descriptor and retry our open/lock sequence.
1998-12-13 01:36:45 +00:00
Matthew Dillon
25970dbc51 sendmsg() didn't like the MSG_EOR flag and returned an error. Removing the
flag makes portal tcp operation work.
1998-12-12 21:30:17 +00:00
Foxfair Hu
17b09acac9 Close PR bin/8753 pwd_mkdb problem when having comments in passwd file
Submitted by Chia-liang Kao clkao@CirX.ORG .
1998-12-12 16:08:41 +00:00
Nick Hibma
00074f8e84 Added usbd, usbdevs directories
Submitted by:	MIHIRA Sanpei Yoshiro
1998-12-12 11:47:31 +00:00
Matthew Dillon
5177c2936a Reviewed by: freebsd-current
Fix signal/library corruption by blocking all signals except during
    select().  The reported corruption was with reentrancy in the malloc lib.
1998-12-11 17:06:16 +00:00
Jun Kuriyama
f8a882d809 Fix typo. 1998-12-10 22:07:06 +00:00
Brian Somers
f1e8dfb20c Boy, this was tricky to find:
Remove any dial timer that might be hanging around at
  datalink_Destroy() time.  This timer may be left running
  after the link is closed (making sure it's not automatically
  opened again too soon).
1998-12-10 18:36:53 +00:00
Brian Somers
991c2a7b75 When using `set device !someprogram'', when `someprogram''
exits, it causes a select() exception.
Handle these select() exceptions on link descriptors in pretty
much the same way as loss of carrier rather than dropping out
in confusion.
1998-12-10 18:36:30 +00:00
Archie Cobbs
ef4be59deb Eliminate compiler warning when compiling "config.c" in a kernel. 1998-12-10 02:35:55 +00:00
Jordan K. Hubbard
085415fb9b Stop erroneously claiming that we're installing booteasy. 1998-12-09 02:46:19 +00:00
Alexander Langer
904b32a9c9 Sync usage string with reality: removed -n, added -s. 1998-12-06 16:31:47 +00:00
Jordan K. Hubbard
1fe19dd785 Fix an exceedingly *stupid* error in my floppy selection logic
which was hosing the fixit functionality.

PR:				8983
Fixed and embarassed by:	Nobuyuki Koganemaru <kogane@koganemaru.co.jp>
:-)
1998-12-06 10:13:57 +00:00
Satoshi Asami
cf144a3d4a Fix support for uncompressed (".tar") package types. It's not completely
fixed (chained dependency checking for pkg_add is broken, for one thing)
but at least you can now create one package and use it.
1998-12-05 06:29:03 +00:00
Bill Fumerola
331012fd01 Typo and formatting updates.
PR:		docs/8504
Approved by:	Brian Somers
Submitted by:	Kazuo Horikawa <horikawa@jp.FreeBSD.org>
1998-12-04 19:39:05 +00:00
Bill Paul
726ff6a158 An early Christmas present: add driver support for a whole bunch of
PCI fast ethernet adapters, plus man pages.

if_pn.c: Netgear FA310TX model D1, LinkSys LNE100TX, Matrox FastNIC 10/100,
         various other PNIC devices

if_mx.c: NDC Communications SOHOware SFA100 (Macronix 98713A), various
         other boards based on the Macronix 98713, 98713A, 98715, 98715A
         and 98725 chips

if_vr.c: D-Link DFE530-TX, other boards based on the VIA Rhine and
         Rhine II chips (note: the D-Link and certain other cards
         that actually use a Rhine II chip still return the PCI
         device ID of the Rhine I. I don't know why, and it doesn't
         really matter since the driver treats both chips the same
         anyway.)

if_wb.c: Trendware TE100-PCIE and various other cards based on the
         Winbond W89C840F chip (the Trendware card is identical to
         the sample boards Winbond sent me, so who knows how many
         clones there are running around)

All drivers include support for ifmedia, BPF and hardware multicast
filtering.

Also updated GENERIC, LINT, RELNOTES.TXT, userconfig and
sysinstall device list.

I also have a driver for the ASIX AX88140A in the works.
1998-12-04 18:01:24 +00:00
Jordan K. Hubbard
60159a0633 Allow either tabs or spaces in configuration files.
PR:		8762
Submitted by:	Igor Roshchin <str@giganda.komkon.org>
1998-12-04 06:49:20 +00:00
Bill Fumerola
9329f951af Make a spelling fix, and make sure all instances of belltype contain the
preceded option "quiet."

PR:		docs/8506
Submitted by:	Kazuo Horikawa <horikawa@jp.FreeBSD.org>
1998-12-03 22:21:13 +00:00
Bill Fumerola
3b472ef141 Clarify what the '-r' option does.
PR:		docs/8108
Submitted by:	Matthew Fuller <fullermd@futuresouth.com>
1998-12-03 20:44:45 +00:00
Jordan K. Hubbard
7297388095 Update for XFree86 3.3.3 1998-12-02 03:34:14 +00:00
Jordan K. Hubbard
3a2395b06e 1. Increase NFS path length.
2. Bump to XFree86 3.3.3.
1998-12-02 03:27:37 +00:00
John Polstra
6598e260f5 Add new Korean FTP mirror sites. 1998-11-27 22:48:58 +00:00
Jordan K. Hubbard
e95a493b62 Update for XFree86 3.3.3 1998-11-27 00:30:10 +00:00
Nick Hibma
0cec007c5f Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00
Jordan K. Hubbard
a6de060bb3 Adios version.h / RELEASE_NAME hack. Do this right. 1998-11-24 00:18:57 +00:00
Jordan K. Hubbard
f89dccd7b0 Doc fixes for CAM devices. If I ever truly understand the logic behind
this name change, I'll be a happy man.
1998-11-21 21:45:27 +00:00
Kazutaka YOKOTA
1b11ca6c6b - Added support for Genius Kidspad tablet.
# `moused' is getting too over-loaded now.  If we want something
# more than simple mouse emulation for tablets or remote devices,
# we should start writing a separate daemon...

Submitted by: luigi
1998-11-20 11:22:17 +00:00
Kazutaka YOKOTA
9fb1d70c9d - Added a new option: -w N. The option makes the button N as the `wheel
mode' button.  Mouse movement will be treated as wheel movement while
  this button is held down.  Useful for mice with many buttons but
  without a wheel.

PR: bin/8001
Submitted by: Hideyuki Suzuki
1998-11-20 11:19:20 +00:00
Kazutaka YOKOTA
c49f79b7e2 - Reorganized a `if-else' close a bit for clarity. Purely cosmetic
change.  No functional difference.
1998-11-20 11:17:59 +00:00
David E. O'Brien
a424235073 Fix version number. 1998-11-20 05:18:34 +00:00
Doug Rabson
2f2dcad41b * Change 'struct resource' to 'struct config_resource'.
* Bump config version.
1998-11-15 18:07:35 +00:00
Jordan K. Hubbard
18c434c8f2 o Break fixups into binary fixups and XFree86 based fixups.
o Move fixups into extraction routine so all consumers don't have to duplicate
  the right behavior.
o Make some things more orthogonal (just for asthetics sake)
o Add option to go back and do it again if XF86Setup fails (possibly with
  a different setup - this one has always annoyed me).
1998-11-15 09:06:20 +00:00
Kenneth D. Merry
7f054c59a5 Modify pciconf(8) so that it will print out PCI devices that have no driver
configured in the kernel.  It gives them a device name of "none" and
monotonically incrementing unit numbers.  (starting at 0)  Before, pciconf
would just skip over unconfigured devices.  (unconfigured devices can be
detected because they have a null string for a device name)

Update the man page to reflect the new pciconf output.  Unfortunately, this
causes the sample 'pciconf -l' output lines to wrap, but I'm not sure what
to do about that really.

If anyone presents a reasonable case for printing out something other than
"none1" for unconfigured devices, I'm willing to listen.
1998-11-12 00:22:30 +00:00
Jordan K. Hubbard
1b771b9577 Fix bug where trailing slash could confuse the registry removal.
Noticed by:	des
1998-11-11 06:09:04 +00:00
Bruce Evans
3c817e2cc4 Fixed disorder. 1998-11-10 12:29:04 +00:00
Dima Ruban
ffd2f8ac3d Enable IPXrouted for alpha. 1998-11-10 06:38:40 +00:00
Brian Somers
2b81c773d8 Don't forget to initialise dbuff when debugging. 1998-11-10 00:32:39 +00:00
Dima Ruban
5c9036d5ee Clean it up a little bit. 1998-11-09 23:39:02 +00:00
Poul-Henning Kamp
2b4c0a3bc6 Allow for printing out integer arrays. 1998-11-08 19:27:43 +00:00
Brian Somers
7670a437cb Explain what the command line switches do and what the
various prompts signify.
1998-11-08 13:06:19 +00:00
Brian Somers
a7ec696209 Fix a few typos
Submitted by: Forgotten (sorry)
1998-11-08 13:05:30 +00:00
Brian Somers
c2896afbb9 Don't delete the primary interface address when
``iface clean'' is used in auto mode while there
are no active links.
1998-11-05 21:59:48 +00:00
David Greenman
624bb2d1c1 When warning about discarding packets in secure mode, include the IP
address of the most recent offender.
1998-11-05 10:51:21 +00:00
Poul-Henning Kamp
3c97a31c2f Add an "internal" driver for the "ident" protocol (tcp/113).
It will return "ERROR:HIDDEN-USER" for all requests.

To use it add:
	ident   stream  tcp     nowait  root    internal
to inetd.conf
1998-11-04 19:39:46 +00:00
Mike Smith
c194030b86 Typo curnwid -> currnwid
Submitted by:	Randy Bush <rbush@bainbridge.verio.net>
1998-11-04 08:33:32 +00:00
Jordan K. Hubbard
aa9f92fbdb Deal with both foo.hlp and FOO.TXT files. 1998-11-03 03:38:56 +00:00
David E. O'Brien
1cf62e23d7 Remove the "adding default route" message and replace with
"Looking up host %s".

Suggested by:	msmith
1998-11-02 10:42:18 +00:00
Brian Somers
9fddf73ad0 If the CBCP callee offsers no callback, send our configured
response anyway.  This is what Win95 does, despite it not
being documented in the cbcp spec....
Reported by: Bill <petheram@acm.org>
1998-10-31 17:38:48 +00:00
Brian Somers
7cf368eb42 Allow multiple systems (config labels) on the command
line and in the ``load'' & ``dial'' commands.  The last
label loaded becomes the current label name.
Only require a label for -auto mode.
1998-10-31 17:38:47 +00:00