]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoNull file to bring back a file from the dead. This allows the real commit
markm [Mon, 4 Jun 2001 19:25:41 +0000 (19:25 +0000)]
Null file to bring back a file from the dead. This allows the real commit
to happen remotely. Damn CVS bugs :-(

23 years agoAdd the "nullok" option that causes this module to succeed if the Unix
markm [Mon, 4 Jun 2001 19:16:57 +0000 (19:16 +0000)]
Add the "nullok" option that causes this module to succeed if the Unix
password is empty/null.

23 years agoTidy up the options list (and make it more extendable), and add some
markm [Mon, 4 Jun 2001 19:12:08 +0000 (19:12 +0000)]
Tidy up the options list (and make it more extendable), and add some
extra "standard" options.

23 years agoNew release notes: ti(4) and xl(4) VLAN fixes, RFC 1323/1644 workaround
bmah [Mon, 4 Jun 2001 18:57:54 +0000 (18:57 +0000)]
New release notes:  ti(4) and xl(4) VLAN fixes, RFC 1323/1644 workaround
for old terminal services, IP multicast on VLAN devices works, IPv4
fragmentation denial-of-service mitigation, diskcheckd(8).

23 years agoAdd some new utility authenticators.
markm [Mon, 4 Jun 2001 18:44:47 +0000 (18:44 +0000)]
Add some new utility authenticators.

pam_securetty silently succeeds if the user is on a secure tty
as defined by /etc/ttys.

pam_ftp does "anonymous ftp" style authentication with options for
specifying the anonymous user(s).

23 years agoUse bitmasks of the KTR_* constants instead of hexidecimal values for
jhb [Mon, 4 Jun 2001 18:26:02 +0000 (18:26 +0000)]
Use bitmasks of the KTR_* constants instead of hexidecimal values for
the KTR_COMPILE and KTR_MASK examples.

23 years agoAdd a new psuedo-KTR trace level KTR_ALL which is a mask of all currently
jhb [Mon, 4 Jun 2001 18:24:07 +0000 (18:24 +0000)]
Add a new psuedo-KTR trace level KTR_ALL which is a mask of all currently
used KTR levels.

23 years agofirst blush at some FC path inquiry settings
mjacob [Mon, 4 Jun 2001 18:23:49 +0000 (18:23 +0000)]
first blush at some FC path inquiry settings

23 years agoDo NOLUNS dance for oddball Exabyte. We *really* need to do this as hints.
mjacob [Mon, 4 Jun 2001 18:20:52 +0000 (18:20 +0000)]
Do NOLUNS dance for oddball Exabyte. We *really* need to do this as hints.

Correct match for A5000 SES instance.

PR: 19887
MFC after: 2 weeks

23 years agofirst blush at some FC path inquiry settings
mjacob [Mon, 4 Jun 2001 18:08:30 +0000 (18:08 +0000)]
first blush at some FC path inquiry settings

23 years agoIf the chip isn't in power state D0, put it in power state D0. I
imp [Mon, 4 Jun 2001 17:14:28 +0000 (17:14 +0000)]
If the chip isn't in power state D0, put it in power state D0.  I
elected to do this in the probe rather than the attach so that we don't
disturb things which this might reset.  different cards have different
quirks, according to their datasheets.

This should fix the "I booted in windows and rebooted to FreeBSD and
now things don't work" problem.

PR: 4847, 20670

23 years agoRecommend what to do in a single user boot.
imp [Mon, 4 Jun 2001 16:17:06 +0000 (16:17 +0000)]
Recommend what to do in a single user boot.

PR: 25028
Submitted by: Mark Andrews <marka@nominum.com>

23 years agoAdd sprog.7, the beginnings of the secure programming guide.
eric [Mon, 4 Jun 2001 15:32:44 +0000 (15:32 +0000)]
Add sprog.7, the beginnings of the secure programming guide.

Reviewed by: ru

23 years agoFix the default number of virtual consoles in the usage.hlp file: there
olgeni [Mon, 4 Jun 2001 15:16:41 +0000 (15:16 +0000)]
Fix the default number of virtual consoles in the usage.hlp file: there
were 3 virtual consoles in older releases, but now they are 8.

MFC after: 1 week

23 years agoAdd BSD-style copyright headers
brian [Mon, 4 Jun 2001 15:09:51 +0000 (15:09 +0000)]
Add BSD-style copyright headers

Approved by: Charles Mott <cmott@scientech.com>

23 years agoRemove configuration file for pim6[ds]d.
ume [Mon, 4 Jun 2001 14:53:52 +0000 (14:53 +0000)]
Remove configuration file for pim6[ds]d.

Submitted by: sumikawa

23 years agoChange to a standard BSD-style copyright
brian [Mon, 4 Jun 2001 14:52:17 +0000 (14:52 +0000)]
Change to a standard BSD-style copyright

Approved by: Atsushi Murai <amurai@spec.co.jp>

23 years agoRenamed to README.nat
brian [Mon, 4 Jun 2001 14:40:06 +0000 (14:40 +0000)]
Renamed to README.nat

23 years agoAdd BSD style copyrights (with permission from Charles Mott where appropriate)
brian [Mon, 4 Jun 2001 14:38:29 +0000 (14:38 +0000)]
Add BSD style copyrights (with permission from Charles Mott where appropriate)
Deprecate -alias further (after a repo-copy)

23 years agoWhen looking for an interface appropriate for the (new or changing)
ru [Mon, 4 Jun 2001 14:13:15 +0000 (14:13 +0000)]
When looking for an interface appropriate for the (new or changing)
route in ifa_ifwithroute(), as the last resort, look up the route to
the gateway, not destination (to derive the interface from).

PR: kern/27852
Submitted by: Iasen Kostoff <tbyte@tbyte.org>
MFC after: 2 weeks

23 years agomdoc(7) police: minor markup cleanup.
ru [Mon, 4 Jun 2001 13:21:46 +0000 (13:21 +0000)]
mdoc(7) police: minor markup cleanup.

23 years agomsdos -> msdosfs
ru [Mon, 4 Jun 2001 13:08:54 +0000 (13:08 +0000)]
msdos -> msdosfs
null -> nullfs
umap -> umapfs
union -> unionfs

Approved by: obrien

23 years agoProperly initialize a temporary FILE that is allocated off the stack.
deischen [Mon, 4 Jun 2001 12:36:07 +0000 (12:36 +0000)]
Properly initialize a temporary FILE that is allocated off the stack.
The change to reuse _up from FILE (to allow FILE to grow without changing
size) overlooked FILE being allocated off the stack.

Approved by: sobomax

23 years agoCorrect a comment - the time service returns seconds since 1900 not 1970.
dwmalone [Mon, 4 Jun 2001 11:47:08 +0000 (11:47 +0000)]
Correct a comment - the time service returns seconds since 1900 not 1970.

Submitted by: ru

23 years agoThis patch cleans up the ident stuff in inetd. The code which has
dwmalone [Mon, 4 Jun 2001 11:43:29 +0000 (11:43 +0000)]
This patch cleans up the ident stuff in inetd. The code which has
been patched so many times it was a bit of a mess. There are style,
code and man page cleanups. The following are the functional changes:

The RFC only permits the returning of 4 possible error
codes, make sure we only return these (PR 27636).

Use MAXLOGNAME to determine the longest usernames.

Add a -i flag, which returns the uid instead of the username
(this is from a PR 25787, which also contained alot of the
cleanups in this patch).

PR: 25787, 27636
Partially Submitted by: Arne.Dag.Fidjestol@idi.ntnu.no
Reviewed by: Arne.Dag.Fidjestol@idi.ntnu.no, green
MFC after: 3 weeks

23 years agoResetting using COR bit 7 appears to be bad on pci based systems.
imp [Mon, 4 Jun 2001 07:41:05 +0000 (07:41 +0000)]
Resetting using COR bit 7 appears to be bad on pci based systems.
#ifdef it out for now.

23 years agoSet up us the pccard bomb.
imp [Mon, 4 Jun 2001 07:10:19 +0000 (07:10 +0000)]
Set up us the pccard bomb.

23 years agoThe CL-PD6832 support in the last commit was done by Takeshi
imp [Mon, 4 Jun 2001 07:05:48 +0000 (07:05 +0000)]
The CL-PD6832 support in the last commit was done by Takeshi
Shibagaki-san (shiba@freebsd.org).  I neglected to mention that.

23 years agoAdd new pci attachment for pcic. This supports pci cards as well as
imp [Mon, 4 Jun 2001 06:49:46 +0000 (06:49 +0000)]
Add new pci attachment for pcic.  This supports pci cards as well as
card bus bridges.

We now always use pci interrupts for pci cards.  This will allow us to
more easily configure things.  You must change your IRQ lines in
/etc/pccard.conf to match what we've probed.  I'm not sure the right
way to deal with this right now.

Development of pci pcmcia has been funded by Monzoon Networks AG.  I
am grateful for their generosity.

23 years agoYou can't free a string and then use it as the error message to
paul [Mon, 4 Jun 2001 04:22:57 +0000 (04:22 +0000)]
You can't free a string and then use it as the error message to
errx. Instead use warn to print the string, then cleanup and exit
normally.

This fixes a core dump if the executable to be run doesn't exist.

23 years agoThe pipe_write() code was locking the pipe without busying it first in
dillon [Mon, 4 Jun 2001 04:04:45 +0000 (04:04 +0000)]
The pipe_write() code was locking the pipe without busying it first in
certain cases, and a close() by another process could potentially rip the
pipe out from under the (blocked) locking operation.

Reported-by: Alexander Viro <viro@math.psu.edu>
23 years agoS_IFCHR is not a bit mask, it's just a value in a field. The correct
paul [Mon, 4 Jun 2001 03:39:14 +0000 (03:39 +0000)]
S_IFCHR is not a bit mask, it's just a value in a field. The correct
way to clear that field is to use S_IFMT.

Pointed out by BDE.

23 years ago#defines for pci way interrupt routing.
imp [Mon, 4 Jun 2001 03:36:22 +0000 (03:36 +0000)]
#defines for pci way interrupt routing.

23 years agoMove the pcic interrupt from pcic.c to pcic_isa.c. The ISA handling
imp [Mon, 4 Jun 2001 03:29:06 +0000 (03:29 +0000)]
Move the pcic interrupt from pcic.c to pcic_isa.c.  The ISA handling
for card change interrupts is different than the pci stuff that's
coming soon.  Set the management irq in different ways.  If
pci_parallel interrutp routing, then use the PCI way of getting
interrupts.  Move polling mode into pcic_isa since when we're routing
via pci polling doesn't work because many bridges (systems hang solid).

If we're routing interrupts via pci, they can be shared, so flag them
as such.

Note, this doesn't actually change anything since the pci attachment
isn't quite ready to be committed.

23 years agoMinor style(9) nit. a|b -> a | b.
imp [Mon, 4 Jun 2001 03:13:45 +0000 (03:13 +0000)]
Minor style(9) nit.  a|b -> a | b.

23 years agoUse correct flag in test whether this interrupt handler is fast or not.
mjacob [Mon, 4 Jun 2001 00:52:09 +0000 (00:52 +0000)]
Use correct flag in test whether this interrupt handler is fast or not.

PR: 27866
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>

23 years agoNew release note: pim6dd(8) and pim6sd(8) removed.
bmah [Sun, 3 Jun 2001 23:46:40 +0000 (23:46 +0000)]
New release note:  pim6dd(8) and pim6sd(8) removed.

MFCs noted:  Ukranian console support, O_DIRECT.

23 years agoPrevent denial of service using bogus fragmented IPv4 packets.
jesper [Sun, 3 Jun 2001 23:33:23 +0000 (23:33 +0000)]
Prevent denial of service using bogus fragmented IPv4 packets.

A attacker sending a lot of bogus fragmented packets to the target
(with different IPv4 identification field - ip_id), may be able
to put the target machine into mbuf starvation state.

By setting a upper limit on the number of reassembly queues we
prevent this situation.

This upper limit is controlled by the new sysctl
net.inet.ip.maxfragpackets which defaults to 200,
as the IPv6 case, this should be sufficient for most
systmes, but you might want to increase it if you have
lots of TCP sessions.
I'm working on making the default value dependent on
nmbclusters.

If you want old behaviour (no upper limit) set this sysctl
to a negative value.

If you don't want to accept any fragments (not recommended)
set the sysctl to 0 (zero).

Obtained from: NetBSD
MFC after: 1 week

23 years agoFix my email address. I accidentally cut'npasted the wrong (old)
joerg [Sun, 3 Jun 2001 20:41:21 +0000 (20:41 +0000)]
Fix my email address.  I accidentally cut'npasted the wrong (old)
hostname laste time.

23 years agoAdd diskcheckd to /etc/rc with a knob in rc.conf.
phk [Sun, 3 Jun 2001 20:15:13 +0000 (20:15 +0000)]
Add diskcheckd to /etc/rc with a knob in rc.conf.

Make the default setting YES for now to get some experience with it.

Note: If people starts seeing disk errors because of this then it
should not be backed.

23 years agoAdd diskcheck-daemon.
phk [Sun, 3 Jun 2001 20:02:03 +0000 (20:02 +0000)]
Add diskcheck-daemon.

With a small disk being 20GB these days, chances are pretty good that
an ailing sector will not be read while still being recoverable by
the drive.

Diskcheck daemon will read disks in the background at a low rate and
that way give the diskdrive a chance to detect and correct soft read
errors before they become hard errors.

Idea by: phk
Written by:     ben

23 years agoRemove pim6[ds]d from the tree. The software had a restrictive license
ume [Sun, 3 Jun 2001 18:16:39 +0000 (18:16 +0000)]
Remove pim6[ds]d from the tree.  The software had a restrictive license
than we can handle.  pim6[ds]d are available as ports instead.

23 years agoFirst, wrap the if_up() call into splimp()/splx() because
yar [Sun, 3 Jun 2001 17:31:11 +0000 (17:31 +0000)]
First, wrap the if_up() call into splimp()/splx() because
if_up() must be called at splnet or higher.
Second, set the IFF_RUNNING flag on an interface after its
resources (i.e. tunnel source and destination addresses)
have been set. Note that we don't set IFF_UP because it is
if_up()'s job to do that.

PR: kern/27851
Submitted by: Horacio J. PeÓa <horape@compendium.com.ar>

23 years agoFix a grammar bogon and removed whitespace at EOL.
schweikh [Sun, 3 Jun 2001 16:08:25 +0000 (16:08 +0000)]
Fix a grammar bogon and removed whitespace at EOL.
MFC after: 1 week

23 years ago- Optimise current cursor position displaying routines, to avoid unnecessary
sobomax [Sun, 3 Jun 2001 12:42:19 +0000 (12:42 +0000)]
- Optimise current cursor position displaying routines, to avoid unnecessary
  cursor movements;
- minor cleanups in cursor position displaying routines;
- properly resent "file modified" flag when editing several files.

MFC after: 1 week

23 years agoMove gif_interfaces from an IP6 option to a regular IP option.
brian [Sun, 3 Jun 2001 12:26:56 +0000 (12:26 +0000)]
Move gif_interfaces from an IP6 option to a regular IP option.

PR: 26543
Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
MFC after: 3 weeks

23 years agoFix reversed arguments to pci_write_config()
peter [Sun, 3 Jun 2001 09:45:40 +0000 (09:45 +0000)]
Fix reversed arguments to pci_write_config()

PR: kern/9408
Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>

23 years agoRemove unused includes, use *min() inline functions rather than a
dd [Sun, 3 Jun 2001 05:17:39 +0000 (05:17 +0000)]
Remove unused includes, use *min() inline functions rather than a
home-grown macro, rewrite a confusing conditional in snpdevtotty(),
and change ibuf to 512 bytes instead of 1024 bytes in dsnwrite().

Reviewed by: bde

23 years agoWhen tring to find out if this is a request for a write in
dd [Sun, 3 Jun 2001 04:58:51 +0000 (04:58 +0000)]
When tring to find out if this is a request for a write in
kernel_sysctl and userland_sysctl, check for whether new is NULL, not
whether newlen is 0.  This allows one to set a string sysctl to "".

23 years agoMerged from sys/kern/subr_diskmbr.c revision 1.45.
nyan [Sun, 3 Jun 2001 04:44:26 +0000 (04:44 +0000)]
Merged from sys/kern/subr_diskmbr.c revision 1.45.

23 years agoMerged from sys/kern/subr_diskmbr.c revision 1.52.
nyan [Sun, 3 Jun 2001 03:36:57 +0000 (03:36 +0000)]
Merged from sys/kern/subr_diskmbr.c revision 1.52.

23 years agoPut the originator's full name in the From and Reply-to fields, and
dd [Sun, 3 Jun 2001 02:40:37 +0000 (02:40 +0000)]
Put the originator's full name in the From and Reply-to fields, and
stick their username (which sendmail will make into an e-mail address)
inside '<>'.  Sendmail will still DTRT with this, and it conveniently
puts the submitter's name and e-mail address on one line, just like it
should be after "Submitted by" in a commit message.

23 years agoInclude sys/mutex.h to silence a warning.
dd [Sun, 3 Jun 2001 02:19:07 +0000 (02:19 +0000)]
Include sys/mutex.h to silence a warning.

23 years agoRemove unused VNDEVICE variable.
dd [Sun, 3 Jun 2001 01:36:06 +0000 (01:36 +0000)]
Remove unused VNDEVICE variable.

23 years agoUse the new create-link procedure instead of (make element gi: "A" ...).
dd [Sun, 3 Jun 2001 00:08:43 +0000 (00:08 +0000)]
Use the new create-link procedure instead of (make element gi: "A" ...).

23 years agoCorrect varuable name: WITHOUT_X --> WITHOUT_X11.
sobomax [Sat, 2 Jun 2001 23:56:11 +0000 (23:56 +0000)]
Correct varuable name: WITHOUT_X --> WITHOUT_X11.

Reviewed by: ports, portmgr
Approved by: will, obrien

23 years ago"$FreeBSD $" -> "$FreeBSD$" (the space causes CVS to think this isn't
dd [Sat, 2 Jun 2001 23:12:23 +0000 (23:12 +0000)]
"$FreeBSD $" -> "$FreeBSD$" (the space causes CVS to think this isn't
a keyword, so it wasn't expanding it)

23 years agoOnly touch the PCR register in order to set bits for the fxp driver.
jlemon [Sat, 2 Jun 2001 19:51:02 +0000 (19:51 +0000)]
Only touch the PCR register in order to set bits for the fxp driver.
The 3C509-TX card apparently had a slightly different version of the
chip, and has problems when this register is set.  The problem does
not appear on the 3C509{BC} cards, but since only the fxp driver needs
specific bits set, conditionalize on that.

23 years agoRemove double //'s in path.
obrien [Sat, 2 Jun 2001 19:09:37 +0000 (19:09 +0000)]
Remove double //'s in path.

23 years agoSupport GCC 3.0
obrien [Sat, 2 Jun 2001 17:35:50 +0000 (17:35 +0000)]
Support GCC 3.0

23 years agoadded Sergio de Souza Prallon (prallon@tmp.com.br), the author of
hm [Sat, 2 Jun 2001 12:27:37 +0000 (12:27 +0000)]
added Sergio de Souza Prallon (prallon@tmp.com.br), the author of
the itjc hardware driver.

23 years agoupdate the isdn4bsd general documentation
hm [Sat, 2 Jun 2001 12:21:16 +0000 (12:21 +0000)]
update the isdn4bsd general documentation

23 years agobring the roadmap to isdn4bsd up to date.
hm [Sat, 2 Jun 2001 11:48:50 +0000 (11:48 +0000)]
bring the roadmap to isdn4bsd up to date.

23 years agoupdate the postcard list
hm [Sat, 2 Jun 2001 11:31:33 +0000 (11:31 +0000)]
update the postcard list

23 years agoProperly wrap mtx_intr_enable() macro in "do $bla while (0)"
phk [Sat, 2 Jun 2001 08:17:42 +0000 (08:17 +0000)]
Properly wrap mtx_intr_enable() macro in "do $bla while (0)"

23 years agoMerged from sys/i386/i386/machdep.c revision 1.454.
nyan [Sat, 2 Jun 2001 06:30:56 +0000 (06:30 +0000)]
Merged from sys/i386/i386/machdep.c revision 1.454.

23 years agoDisabled unneeded code for PC98.
nyan [Sat, 2 Jun 2001 05:51:21 +0000 (05:51 +0000)]
Disabled unneeded code for PC98.

Submitted by: NOKUBI Hirotaka <nokubi@ff.iij4u.or.jp>

23 years agoMerged from sys/i386/isa/npx.c revision 1.101.
nyan [Sat, 2 Jun 2001 05:00:08 +0000 (05:00 +0000)]
Merged from sys/i386/isa/npx.c revision 1.101.

23 years agoARP works on networks other than Ethernet.
dd [Sat, 2 Jun 2001 04:09:53 +0000 (04:09 +0000)]
ARP works on networks other than Ethernet.

PR: 22062
Submitted by: Christian Weisgerber <naddy@mips.inka.de>,
Brooks Davis <brooks@one-eyed-alien.net>

23 years agoMention the 'ether' parameter.
dd [Sat, 2 Jun 2001 04:05:51 +0000 (04:05 +0000)]
Mention the 'ether' parameter.

PR: 23767
Submitted by: Maxime Henrion <mux@qualys.com>,
Brooks Davis <brooks@one-eyed-alien.net>

23 years agoMention the kern.ps_showallprocs sysctl.
dd [Sat, 2 Jun 2001 04:02:36 +0000 (04:02 +0000)]
Mention the kern.ps_showallprocs sysctl.

PR: 24804
Submitted by: Mike Meyer <mwm@mired.org>

23 years agoUse S_IXUSR instead of hardcoded values.
mikeh [Sat, 2 Jun 2001 03:10:07 +0000 (03:10 +0000)]
Use S_IXUSR instead of hardcoded values.

Reviewed by: md5

23 years agoRemove this file that slipped thru FREEBSD-Xlist's actions.
obrien [Sat, 2 Jun 2001 00:03:06 +0000 (00:03 +0000)]
Remove this file that slipped thru FREEBSD-Xlist's actions.

23 years agoChange this to support the new way swap device information is exported
tmm [Fri, 1 Jun 2001 22:57:07 +0000 (22:57 +0000)]
Change this to support the new way swap device information is exported
via sysctl, and clean up some style and (size_t != int) issues.

23 years agoChange the way information about swap devices is exported to be more
tmm [Fri, 1 Jun 2001 22:53:10 +0000 (22:53 +0000)]
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.

23 years agoFix typo (opt_acc.h -> opt_aac.h) for AAC_COMPAT_LINUX.
dirk [Fri, 1 Jun 2001 22:39:50 +0000 (22:39 +0000)]
Fix typo (opt_acc.h -> opt_aac.h) for AAC_COMPAT_LINUX.

23 years agoFix another unprotected instance of chdir() by extending the
kris [Fri, 1 Jun 2001 21:53:50 +0000 (21:53 +0000)]
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

23 years agoRevert the last bits of my bogus move of NMBCLUSTERS
jesper [Fri, 1 Jun 2001 21:47:34 +0000 (21:47 +0000)]
Revert the last bits of my bogus move of NMBCLUSTERS
to <sys/param.h>

23 years agoMan page for orm driver.
imp [Fri, 1 Jun 2001 21:02:18 +0000 (21:02 +0000)]
Man page for orm driver.

PR: 22078
Submitted by: Nikolai Saoukh <nms@otdel-1.org>

23 years agoThe orm device. This device gobbles up the Option ROMs in the ISA
imp [Fri, 1 Jun 2001 20:58:32 +0000 (20:58 +0000)]
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

23 years agoResurrect platform.pci_intr_map() and essentially undo the effects of
gallatin [Fri, 1 Jun 2001 17:39:11 +0000 (17:39 +0000)]
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

23 years agoSmall adjustment to whitespace in output
dougb [Fri, 1 Jun 2001 16:40:57 +0000 (16:40 +0000)]
Small adjustment to whitespace in output

23 years agoNew release notes: lge(4) driver (and update hardware compatability
bmah [Fri, 1 Jun 2001 16:29:21 +0000 (16:29 +0000)]
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.

23 years agoSupport /dev/tun cloning. Ansify if_tun.c while I'm there.
brian [Fri, 1 Jun 2001 15:51:10 +0000 (15:51 +0000)]
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

23 years agoCopy the sockaddr from the netbuf data area, not from the netbuf
iedowse [Fri, 1 Jun 2001 15:20:45 +0000 (15:20 +0000)]
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>

23 years agoDon't treat the pipe symbol in capabilities as an alternate
ru [Fri, 1 Jun 2001 14:45:00 +0000 (14:45 +0000)]
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

23 years agoDo retry next entry in addrinfo during connect.
ume [Fri, 1 Jun 2001 13:43:20 +0000 (13:43 +0000)]
Do retry next entry in addrinfo during connect.

MFC after: 1 week

23 years agoThis file is not needed any more, the definitions and declarations it
tmm [Fri, 1 Jun 2001 13:33:30 +0000 (13:33 +0000)]
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.

23 years agoReplace a use of the hw.nintr sysctl as it has just gone away, cast
tmm [Fri, 1 Jun 2001 13:29:19 +0000 (13:29 +0000)]
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.

23 years agoClean up the code exporting interrupt statistics via sysctl a bit:
tmm [Fri, 1 Jun 2001 13:23:28 +0000 (13:23 +0000)]
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)

23 years agoAdd a quirk entry for ARCHIVE Python 06408.
non [Fri, 1 Jun 2001 12:36:24 +0000 (12:36 +0000)]
Add a quirk entry for ARCHIVE Python 06408.

Approved by: mjacob

23 years agomsdos -> msdosfs.
ru [Fri, 1 Jun 2001 12:16:09 +0000 (12:16 +0000)]
msdos -> msdosfs.

23 years agomount_msdos(8) -> mount_msdosfs(8).
ru [Fri, 1 Jun 2001 12:06:06 +0000 (12:06 +0000)]
mount_msdos(8) -> mount_msdosfs(8).

23 years agomount_msdos(8) -> mount_msdosfs(8).
ru [Fri, 1 Jun 2001 11:25:40 +0000 (11:25 +0000)]
mount_msdos(8) -> mount_msdosfs(8).

23 years ago- VFS_SET(msdos) -> VFS_SET(msdosfs)
ru [Fri, 1 Jun 2001 10:57:26 +0000 (10:57 +0000)]
- VFS_SET(msdos) -> VFS_SET(msdosfs)
- msdos.ko -> msdosfs.ko
- mount_msdos(8) -> mount_msdosfs(8)
- "msdos" -> "msdosfs" compatibility glue in mount(8)

23 years agoDon't try to print a completion percentage for zero-size files.
des [Fri, 1 Jun 2001 10:24:58 +0000 (10:24 +0000)]
Don't try to print a completion percentage for zero-size files.

PR: 27780
Submitted by: Craig Leres <leres@ee.lbl.gov>

23 years agoRemove vestiges of MFS.
ru [Fri, 1 Jun 2001 10:07:28 +0000 (10:07 +0000)]
Remove vestiges of MFS.

23 years agoAdd ``options RANDOM_IP_ID'' which randomizes the ID field of IP packets.
kris [Fri, 1 Jun 2001 10:02:28 +0000 (10:02 +0000)]
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

23 years agoBoth X11 (3.x and 4.x) currently lack a libdata/ subdirectory,
obrien [Fri, 1 Jun 2001 09:56:15 +0000 (09:56 +0000)]
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

23 years agoBack out jesper's 2001/05/31 14:58:11 PDT commit. It does not compile.
obrien [Fri, 1 Jun 2001 09:51:14 +0000 (09:51 +0000)]
Back out jesper's 2001/05/31 14:58:11 PDT commit.  It does not compile.