Commit Graph

60728 Commits

Author SHA1 Message Date
dd
a211ea3786 Mention the 'ether' parameter.
PR:		23767
Submitted by:	Maxime Henrion <mux@qualys.com>,
		Brooks Davis <brooks@one-eyed-alien.net>
2001-06-02 04:05:51 +00:00
dd
602cf4120d Mention the kern.ps_showallprocs sysctl.
PR:		24804
Submitted by:	Mike Meyer <mwm@mired.org>
2001-06-02 04:02:36 +00:00
mikeh
f2d781be67 Use S_IXUSR instead of hardcoded values.
Reviewed by:	md5
2001-06-02 03:10:07 +00:00
obrien
c220954a3f Remove this file that slipped thru FREEBSD-Xlist's actions. 2001-06-02 00:03:06 +00:00
tmm
61feb98bff Change this to support the new way swap device information is exported
via sysctl, and clean up some style and (size_t != int) issues.
2001-06-01 22:57:07 +00:00
tmm
7ab6e2bfd5 Change the way information about swap devices is exported to be more
canonical: define a versioned struct xswdev, and add a sysctl node
handler that allows the user to get this structure for a certain device
index by specifying this index as last element of the MIB.
This new node handler, vm.swap_info, replaces the old vm.nswapdev
and vm.swapdevX.* (where X was the index) sysctls.
2001-06-01 22:53:10 +00:00
dirk
ba4095b925 Fix typo (opt_acc.h -> opt_aac.h) for AAC_COMPAT_LINUX. 2001-06-01 22:39:50 +00:00
kris
ab13aa20a5 Fix another unprotected instance of chdir() by extending the
fts_safe_changedir() function and using that instead for both of the
chdir()s.

Partially submitted by:	Todd Miller <millert@OpenBSD.org>, bde
2001-06-01 21:53:50 +00:00
jesper
cbb052884b Revert the last bits of my bogus move of NMBCLUSTERS
to <sys/param.h>
2001-06-01 21:47:34 +00:00
imp
a07983c146 Man page for orm driver.
PR:		22078
Submitted by:	Nikolai Saoukh <nms@otdel-1.org>
2001-06-01 21:02:18 +00:00
imp
f1282a4be0 The orm device. This device gobbles up the Option ROMs in the ISA
memory I/O space.  Otherwise, our resource allocation system might
mistakenly assign pccard, plug and play devices or other things
addresses that conflict with ROMs.

I cleaned up his code a little from the submited driver: style(9)
issues, commentary on why something that looks incorrect really is
correct.  Also noted that while a checksum field is defined for the
ROMs, enough common hardware neglects it to make it not worthwhile
checking.

Submitted by: Nikolai Saoukh <nms@otdel-1.org>
PR: 22078
2001-06-01 20:58:32 +00:00
gallatin
57a3848339 Resurrect platform.pci_intr_map() and essentially undo the effects of
the interface conversion to platform.pci_intr_route().  I've left the
platform.pci_intr_route() function pointer in place, as well as
alpha_pci_route_interrupt(), but no platform currently implements it.

To work around the removal of alpha_platform_assign_pciintr(cfg);
from the pci probe code, I've hooked in calls to platform.pci_intr_map()
in pcib_read_config (similar to the x86 APIC_IO ifdef in pci_cfgregread)
for every chipset that has a platform which needs it.

While here, I've removed the interupt mapping/routing code from the
AS2x00 platform because its not required (it has never been present in
-stable).

Tested on: UP1000, Miata(GL), XP1000, AS2100, AS500
2001-06-01 17:39:11 +00:00
dougb
0cc3b5f618 Small adjustment to whitespace in output 2001-06-01 16:40:57 +00:00
bmah
4b9e248f53 New release notes: lge(4) driver (and update hardware compatability
list from manpage), RANDOM_IP_ID, msdos->msdosfs, chown(8) doesn't
use "." for a delimiter anymore.
2001-06-01 16:29:21 +00:00
brian
a146c1abf5 Support /dev/tun cloning. Ansify if_tun.c while I'm there.
Only tun0 -> tun32767 may now be opened as struct ifnet's if_unit
is a short.

It's now possible to open /dev/tun and get a handle back for an available
tun device (use devname to find out what you got).

The implementation uses rman by popular demand (and against my judgement)
to track opened devices and uses the new dev_depends() to ensure that
all make_dev()d devices go away before the module is unloaded.

Reviewed by:	phk
2001-06-01 15:51:10 +00:00
iedowse
245048f546 Copy the sockaddr from the netbuf data area, not from the netbuf
data pointer. This bug has been here since the ti-rpc import; it
apparently broke the clnt_control CLGET_SVC_ADDR options.

PR:		misc/27813
Submitted by:	Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
2001-06-01 15:20:45 +00:00
ru
eec12d915a Don't treat the pipe symbol in capabilities as an alternate
record name indicator; this causes a spurious warning:

$ cat x
record:\
	:capability=|value:
$ cap_mkdb x
cap_mkdb: ignored duplicate: record

Spotted by:	dcs
2001-06-01 14:45:00 +00:00
ume
e0bcb99260 Do retry next entry in addrinfo during connect.
MFC after:	1 week
2001-06-01 13:43:20 +00:00
tmm
46a4f82db5 This file is not needed any more, the definitions and declarations it
contained have been moved to i386/isa/icu.h and sys/interrupt.h.
2001-06-01 13:33:30 +00:00
tmm
cd9612fee6 Replace a use of the hw.nintr sysctl as it has just gone away, cast
size_t variables when passing them to a printf-like function, and some
minor cleanups.
2001-06-01 13:29:19 +00:00
tmm
c906d2d787 Clean up the code exporting interrupt statistics via sysctl a bit:
- move the sysctl code to kern_intr.c
- do not use INTRCNT_COUNT, but rather eintrcnt - intrcnt to determine
  the length of the intrcnt array
- move the declarations of intrnames, eintrnames, intrcnt and eintrcnt
  from machine-dependent include files to sys/interrupt.h
- remove the hw.nintr sysctl, it is not needed.
- fix various style bugs

Requested by:	bde
Reviewed by:	bde (some time ago)
2001-06-01 13:23:28 +00:00
non
d0d683e253 Add a quirk entry for ARCHIVE Python 06408.
Approved by:	mjacob
2001-06-01 12:36:24 +00:00
ru
92b1042ad5 msdos -> msdosfs. 2001-06-01 12:16:09 +00:00
ru
771a7ece9d mount_msdos(8) -> mount_msdosfs(8). 2001-06-01 12:06:06 +00:00
ru
c751d26a91 mount_msdos(8) -> mount_msdosfs(8). 2001-06-01 11:25:40 +00:00
ru
caba6655b8 - VFS_SET(msdos) -> VFS_SET(msdosfs)
- msdos.ko -> msdosfs.ko
- mount_msdos(8) -> mount_msdosfs(8)
- "msdos" -> "msdosfs" compatibility glue in mount(8)
2001-06-01 10:57:26 +00:00
des
04588de456 Don't try to print a completion percentage for zero-size files.
PR:		27780
Submitted by:	Craig Leres <leres@ee.lbl.gov>
2001-06-01 10:24:58 +00:00
ru
21147a3118 Remove vestiges of MFS. 2001-06-01 10:07:28 +00:00
kris
6f5b84a006 Add ``options RANDOM_IP_ID'' which randomizes the ID field of IP packets.
This closes a minor information leak which allows a remote observer to
determine the rate at which the machine is generating packets, since the
default behaviour is to increment a counter for each packet sent.

Reviewed by:    -net
Obtained from:  OpenBSD
2001-06-01 10:02:28 +00:00
obrien
16be8f2199 Both X11 (3.x and 4.x) currently lack a libdata/ subdirectory,
(which is present both in /usr and /usr/local) which is causing a few
ports to erroneously report mtree failures on bento.

Submitted by:	ade
2001-06-01 09:56:15 +00:00
obrien
80befc688b Back out jesper's 2001/05/31 14:58:11 PDT commit. It does not compile. 2001-06-01 09:51:14 +00:00
obrien
858b549c00 Minor style reformatting. 2001-06-01 05:31:02 +00:00
obrien
59c4f948b4 Upgrade to Binutils 2.11.0. 2001-06-01 05:30:31 +00:00
imp
9ae9e37ee4 Change plxic to plxcard, per phk. He thnks plxic is too generic a
name.  I didn't do repo magic because this is so new.
2001-06-01 05:20:38 +00:00
imp
0aaaac1ef9 uucp.daemon -> uucp:daemon 2001-06-01 04:53:13 +00:00
dd
d93f4eb30d Remove unused variable (descr) in show_var().
PR:		22582
Submitted by:	Giorgos Keramidas <charon@gray.westgate.gr>
2001-06-01 02:58:09 +00:00
dd
ba5314e4dd Correct a typo.
PR:		22885
Submitted by:	Rene de Vries <rene@tunix.nl>
2001-06-01 02:53:32 +00:00
dd
53b26eb608 Correct some typos.
PR:		27251
Submitted by:	Pekka Savola <pekkas@netcore.fi>
2001-06-01 02:28:15 +00:00
dd
8fda1e30f4 Fix a spacing issue. (No content changes.) 2001-06-01 01:36:03 +00:00
jake
f2d1936d86 Unlock the process returned from pfind() if it does not return NULL.
This fixes a witness lock violation for nfssvc returning with locks
held.

Submitted by:	Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
PR:		kern/27776
2001-06-01 01:30:51 +00:00
dd
4510aa59e3 Don't install setgid kmem. 2001-06-01 01:14:28 +00:00
wpaul
12480a5c32 Grrr. Fix PR 27742 correctly this time. (At least I got -stable right.) 2001-06-01 00:34:50 +00:00
gad
28943c3689 Fix how /bin/sh handles 'for' and 'case' statements when it is called to do
errexit (-e) processing.  This solves a problem where 'make clean' would
fail with an unspecified error in certain automake-generated makefiles.

Reviewed by:	no objections from -hackers...
MFC after:	2 weeks
2001-06-01 00:07:09 +00:00
gallatin
c9beb486bd remove unneeded #include <vm/vm_map.h> 2001-05-31 23:31:34 +00:00
tmm
35e0036c44 Cast size_t variables before printing them to cope with the case of
sizeof(size_t) != sizeof(int).
2001-05-31 22:36:51 +00:00
dd
b0dffd5c1a Document the half-supported WITHOUT_X.
PR:		27709
Submitted by:	Mike Meyer <mwm@mired.org>
2001-05-31 22:36:35 +00:00
dd
58791a3a35 Convert to use the sysctl interface to obtain the data when operating
on a running system.  Using kvm is still supported, primarily for
postmortem analysis.

Reviewed by:	tmm
2001-05-31 22:30:39 +00:00
wpaul
05d6dc5d35 Close PR #27742: allow the xl driver to receive VLAN tagged frames by
setting the 'max packet size' register in window 3. This only
works for cards based on the cyclone or newer chipsets (i.e. it
won't work with the original 3c905/boomerang cards).

There is a trick which will work with the boomerang, which is to turn
on the 'large packets ok' bit in the MAC control register, however this
lets the chip accept any frame up to 4K in length, which is larger than
the mbuf cluster buffers we use to receive frames. If somebody sends us
such a frame and the chip DMAs it to us, it could write past the end
of the cluster buffer and clobber something.

PR: kern/27742
2001-05-31 22:08:45 +00:00
jesper
72e9964458 Move the definition of NMBCLUSTERS from src/sys/kern/uipc_mbuf.c
to <sys/param.h>, so it's available to src/sys/netinet/ip_input.c

MFC after:	1 week
2001-05-31 21:58:10 +00:00
jesper
e60ed494bd Change the default value of net.inet6.ip6.maxfragpackets from
200 to NMBCLUSTERS/4 to match the IPv4 case.

MFC after:	1 week
2001-05-31 21:57:53 +00:00