Commit Graph

46281 Commits

Author SHA1 Message Date
kato
5505c5547b Merged from sys/isa/sio.c rev 1.288. 2000-02-17 15:09:12 +00:00
kato
89aa5d1e59 Synced with sys/i386/i386/userconfig.c rev 1.173. 2000-02-17 14:45:05 +00:00
cracauer
8bf2201847 Note SA_SIGINFO, FPE trapcodes and sh fixes.
Fix whitespace, use two blank lines before new chapters.

Approved by:	jkh
2000-02-17 07:59:37 +00:00
jkh
e096f59ccf Various cosmetic fixes, stop saying "DES" when we really mean "crypto",
go for more sensible defaults in a couple of menus.
2000-02-17 06:15:11 +00:00
imp
31f5cfe16d Add the VIA 82C596B PCI ISA south bridge on my ASUS P3V133.
Approved by: jkh
2000-02-17 06:12:16 +00:00
imp
63908aa25a Fix previous commit to not use the PAO 'any' keyword.
Approved: Prior commit approved by jkh
2000-02-17 06:02:21 +00:00
jkh
96a200fee3 The default rule in this file actually sent mail to root as its default
action when denying access to a service.  Unfortunately, this also makes
a dandy denial-of-service attack possible.  Change to just log the event
and shoot a "go away" response back down the socket.
2000-02-17 04:52:23 +00:00
jkh
fcf3e11acf s/wd/ad/ - new ATA code 2000-02-17 04:40:11 +00:00
unfurl
9945021df6 From the PR:
The description of -X option in csh(1) manpage uses a wording
  that references the descriptions of -x, -v and -V.  This might
  be a little confusing.  Changed this to a complete description
  that does not reference other paragraphs.

PR:		16762
Submitted:	Giorgos Keramidas <keramida@ceid.upatras.gr>
2000-02-17 03:40:21 +00:00
fenner
4ab36382bc Fix nybble-order bug in PIM printer.
Approved by:	jkh
2000-02-17 03:30:04 +00:00
unfurl
d3ad67143c From the PR:
The first paragraph of "Argument list processing" says that an
  argument of - will make csh be a login shell.  However, running
  csh with only a - as an argument fails with the error message.

csh(1) corrected to reflect this.

PR:		16754
Submitted by:	Giorgos Keramidas <keramida@ceid.upatras.gr>
2000-02-17 03:23:39 +00:00
unfurl
41a5ad6012 From the PR:
Three minor changes to the manpage of chmod(1).

  1. At the description of -H option, I added that symlinks are
  not followed _by default_ to show that links can be followed,
  but the default chmod behavior is not to do so.

  2. Moved a misplaced .Va file command up to the place it belongs.

  3. Simplified the grammar that describes symbolic modes.

PR:		16749
Submitted by:	Giorgos Keramidas <keramida@ceid.upatras.gr>
2000-02-17 03:17:03 +00:00
unfurl
2590d382d2 updates the vidcontrol man page to include mention of the new -M flag
PR:		16221
Submitted by:	Kelly Yancey <kbyanc@posi.net>
2000-02-17 03:00:38 +00:00
gsutter
9508e637ff Typo in example: 'vn0' should be 'vn1'
'boundry' -->  'boundary'
'seperated' --> 'separated'

PR:		16623
Submitted by:	Munehiro Matsuda <haro@tk.kubota.co.jp>
2000-02-17 02:54:36 +00:00
msmith
7fc3700f65 Close a file descriptor leak in the code which loads file objects.
Submitted by:	Paul Saab <paul@mu.org>
Approved by:	jkh
2000-02-17 02:19:19 +00:00
unfurl
a37a792669 Committed changes to restore(8) for previously undocumented -N option.
PR:		15600
Reviewed by:	jim
2000-02-17 02:15:18 +00:00
peter
01c4d7d89e Doc fix: remove references to ~ftp/bin/ls as we have FTPD_INTERNAL_LS
unconditionally active already.

Noticed by:	obrien
2000-02-17 02:14:11 +00:00
gsutter
ea72c99b7a /tmp --> /var/tmp, for consistency with the rest of the example.
PR:		16463
Submitted by:	Mike Heffner <spock@techfour.net>
Reviewed by:	jim
2000-02-17 00:43:04 +00:00
rwatson
9584265232 Modified jail.8 to correct a typo (inetd_flas vs. inetd_flags), and add
a comment to the effect that I'm responsible for the additional
documentation, et al, so that phk gets fewer messages about my errors.
2000-02-16 23:50:43 +00:00
jasone
a7ea4b7777 Fix a typo (simple --> simply). 2000-02-16 22:45:51 +00:00
dillon
0ac191e777 Fix null-pointer dereference crash when the system is intentionally
run out of KVM through a mmap()/fork() bomb that allocates hundreds
    of thousands of vm_map_entry structures.

    Add panic to make null-pointer dereference crash a little more verbose.

    Add a new sysctl, vm.max_proc_mmap, which specifies the maximum number
    of mmap()'d spaces (discrete vm_map_entry's in the process).  The value
    defaults to around 9000 for a 128MB machine.  The test is scaled for the
    number of processes sharing a vmspace (aka linux threads).  Setting
    the value to 0 disables the feature.

PR: kern/16573
Approved by: jkh
2000-02-16 21:11:33 +00:00
jasone
2eb6875d5f Add short entries about the state of threads support.
i386/RELNOTES.TXT: Remove an alpha-specific comment with regard to gdb.

Approved by:	jkh
2000-02-16 19:38:20 +00:00
jasone
c3847727e5 For errors, return -1 and set errno to indicate the error type, rather than
returning the error directly.

For sem_post(), make sure that the correct thread is woken up.  This has
unfortunate performance implications, but is necessary for POSIX compliance.

Approved by:	jkh
2000-02-16 19:34:53 +00:00
jasone
1f8734a5d4 Add man pages for the sem_*() functions.
Approved by:	jkh
2000-02-16 19:31:53 +00:00
gibbs
c18ebfaa0b Remove a diagnostic printf.
Noticed by:	 imp@FreeBSD.org
2000-02-16 18:41:00 +00:00
dufault
43292194d2 These are regression tests for the P1003.1B scheduler.
Approved by:	jkh
2000-02-16 14:28:42 +00:00
obrien
266baa8f07 Add libhistory.so.3 from 3.4-RELEASE.
Approved by:	JKH
2000-02-16 11:02:16 +00:00
asmodai
e7b7f7b2e0 Fix typo's.
Submitted by:	George Cox <gjvc@extremis.demon.co.uk>
2000-02-16 07:40:23 +00:00
jhb
804eab39ba This patch to BTX fixes several small things:
1) Fix a bug in the int15 function 87 emulation where we only copied half
   of what the BIOS asked for.  This caused the Mylex RAID adapter to go
   haywire and start trashing memory when you tried to boot from it.
2) Don't use interrupt 19 to reboot.  Instead, set the reboot flag to a warm
   boot and jump to the BIOS's reboot handler.  int 19 doesn't clear memory
   or restore the interrupt vector table, and thus really isn't safe.  For
   example, when booting off of PXE, the PXE BIOS eats up a chunk of memory
   for its internal data and structures.  Since we rebooted via int 19,
   using the 'reboot' command in the loader resulted in that memory not
   being reclaimed by the BIOS.  Thus, after a few PXE boots, the system
   was out of lower memory.
3) Catch any int 19 calls made by a BTX client or a user pressing
   Ctrl-Alt-Delete and shutdown BTX and reboot the machine cleanly.  This
   fixes Ctrl-Alt-Delete in the loader and in boot2 instead of presenting
   the user with a BTX fault.

Approved by:	jkh
Found by:	1) by msmith
2000-02-16 07:00:16 +00:00
fenner
a62fa80d73 Fix coredump in gethostbyaddr() when the returned answer is too large to
fit in the static buffer.  This fix causes it to look like there is no
 data available, which is also wrong but is better than dumping core.

PR:		bin/10344
Reviewed by:	billf
Approved by:	jkh
2000-02-16 04:39:00 +00:00
yokota
955779e861 Make it clear that 'options XSERVER' is for pcvt and not for syscons.
Submitted by: Doug Barton <Doug@gorean.org>
Approved by: jkh
2000-02-16 04:27:04 +00:00
mdodd
ea21fc4c1c Track if_i{bytes,packets,errors}.
Approved by: 	jkh
2000-02-16 04:04:36 +00:00
mjacob
80aedf0ac1 Include the file that defines PCIM_CMD_BUSMASTEREN. 2000-02-16 02:22:37 +00:00
msmith
f27bdf1377 Ensure that the busmaster enable bit is set; we can't assume that all
BIOS code will get this right (and some certainly doesn't).

Submitted by:	W. Gerald Hicks <jhix@mindspring.com>
Approved by:	jkh
2000-02-16 01:12:09 +00:00
sef
d536f05aa7 Fix a leak. (Thanks Bruce, this was a bonehead mistake on my part :).)
Submitted by:	Bruce Evans
2000-02-15 20:25:47 +00:00
joerg
b90213174b Hide the boring `not probed (disabled)'' messages behind bootverbose'.
This unspams the boot messages, concentrating on the drivers that have
actually been probed.

This basically resurrects revision 1.106 from old /sys/i386/isa/isa.c.

Reviewed by:	jkh, dfr
2000-02-15 19:23:34 +00:00
gallatin
4703e773f7 The AlphaServer 1000A is now known to work. Remove mentions of it
being untested.

Approved by:	jkh
2000-02-15 18:49:27 +00:00
gallatin
bcd0fe13f8 o Wilko Bulte has tested our AlphaServer 1000A ("Noritake") support
code & it survives a buildworld.  So remove the dire warnings about
  Noritake support being untested.

o Remove a disconserting printf() left over from NetBSD

Approved by: 	jkh
2000-02-15 18:47:51 +00:00
jkh
0402ee4837 Add userconfig entries for the new atapi devices.
Submitted by:	Dan Papasian <bugg@bugg.strangled.net>
2000-02-15 18:33:25 +00:00
shin
63c2ac21af Fix pathname of pim6sd.conf from /usr/local/v6/etc to /etc.
Approved by: jkh
2000-02-15 18:33:22 +00:00
shin
e6b7ed4b00 Fix pathname of pim6dd.conf from /usr/local/v6/etc to /etc.
Approved by: jkh
2000-02-15 18:30:24 +00:00
shin
990c911594 -P option was not enabled, so enable it
(The option specify IPsec policy for rtadvd to receive Router Renumbering
messages.)

Approved by: jkh
2000-02-15 18:24:27 +00:00
shin
2931f98d52 Correct pathname of rtadvd.conf from /usr/local/v6/etc to /etc.
Approved by: jkh
2000-02-15 18:21:38 +00:00
jkh
550cfe16d4 Include /usr/libexec in the list of upgrade targets by chflags'ing it first. 2000-02-15 18:13:56 +00:00
bde
db104550d9 Fixed regressions in rev.1.274:
1) Non-AST4 multiport cards were broken by bypassing the code that changes
   `idev' to the multiport master device.
2) AST4 multiport cards apparently were broken by inverting the test for
   the master device having an irq.
3) Error handling for nonexistent master devices was broken by removing a
   check for a null pointer.
4) `int' error codes returned by bus_get_resource() were assigned directly
   to the boolean variable com->no_irq.  Probably harmless, since the
   boolean is implemented as a u_char.

Submitted by:	part 1) by Chris Radek <cradek@in221.inetnebr.com>
		part 2) by yokota
Approved by:	jkh
2000-02-15 17:29:09 +00:00
shin
d5883cc0eb Fix bugs in telnet.
Sorry there were still several bugs.
   -error retry at af missmatch was incomplete.
   -af matching for source addr option was wrong
   -socket was not freed at retry.

Approved by: jkh
2000-02-15 15:59:12 +00:00
shin
b2bfbd50c8 Add -4 and -6 options.
Current getaddrinfo() implemetation has a problem of too much resolving
 waiting time on INET6 enabled systems.
 -4 and -6 options can limit name resolving address family and is a possible
 workaround for the problem.

Approved by: jkh
2000-02-15 15:11:40 +00:00
shin
89883c0b4f Add IPv6 loopback entry into src/etc/hosts.
Missing IPv6 loopback name record cause name resolving lock
  on INET6 enabled systems in some cases.
  So define it.

Approved by: jkh
2000-02-15 14:59:16 +00:00
phk
c059a6c7c5 No arguments needed for fore_dnld any longer.
Approved by:	jkh
2000-02-15 13:21:43 +00:00
phk
a967380671 With the kind permission of Marconi Communications (Formerly "Fore Communication"
include a copy of the 3.0.1 firmware for the PCA200E card in the fore_dnld
program.

There are various and subtle compatibility issues between the hfa driver and
the microcode, this version is belived to work best.

If a file is specified on the command line it will be used instead of the
embedded image.

Approved by:		jkh
2000-02-15 13:20:58 +00:00