Commit graph

59775 commits

Author SHA1 Message Date
Mike Smith 85fab96387 Un-swap irq/link byte values so that printf works. 2001-05-11 04:52:29 +00:00
Mike Heffner afa3a100e9 Allow mail(1) to be able to read Eudora mailboxes by transforming
lines that end in <CR><LF> to just <LF>.

Reviewed by:	imp
Obtained from:	OpenBSD
2001-05-11 03:07:11 +00:00
Assar Westerlund 66b166c994 merge imported changes into HEAD 2001-05-11 00:14:02 +00:00
Bruce A. Mah 2daf163f91 New release notes: statfs(2) and df(1) track blocks committed to being
freed by softupdates, ifconfig(8) accepts CIDR notation, rc(8) clean-out
of /var/run and /var/spool/lock, c89(1) is now a binary, pax(1)
enhancements and cpio(1)/tar(1) compatability, Ukranian language console
support.

Other:  Update/make (more) consistent the list of WaveLAN devices
supported.

MFCs noted:  ln(1) -h/-n, find(1) timestamp flags.
2001-05-10 23:38:32 +00:00
Scott Long a3c146f1e6 Add information about the 2400A controllers. Fix erroneous reference to
BSD/OS.
2001-05-10 22:34:45 +00:00
Maxim Sobolev d7eb3f6174 Sync KOI8-U with latest KOI8-R changes. Also restore correct numbering
in the font selection dialog broken by the removal of KOI8-R.

Prompted by:	ache
MFC after:	2 weeks
2001-05-10 21:04:36 +00:00
Brian S. Dean c4c3a00d0f Bring the doc up to date with regard to the /etc bootstrapping code
and the role of /conf/default/etc.
2001-05-10 20:50:54 +00:00
Brian S. Dean 4f32966684 MFS: bring Luigi's updated diskless man page into -current. 2001-05-10 20:45:46 +00:00
Jordan K. Hubbard 1fc7d35b0e Add Romania to ftp mirrors. 2001-05-10 18:38:25 +00:00
John Baldwin f2909e6cd8 Trim lots of stuff that is now in MI code along with MD alpha code. 2001-05-10 17:58:35 +00:00
John Baldwin ba228f6d96 - Split out the support for per-CPU data from the SMP code. UP kernels
have per-CPU data and gdb on the i386 at least needs access to it.
- Clean up includes in kern_idle.c and subr_smp.c.

Reviewed by:	jake
2001-05-10 17:45:49 +00:00
Andrey A. Chernov 6fac233604 Add mousechar_start=3 for Russian font
(-current only)
2001-05-10 17:32:31 +00:00
Bill Paul d639723b88 Try to read the station address twice during the probe. I've seen
a LinkSys card here in the office where reading the station address
fails the first time, but works find afterwards. Without this, the
probe fails. I don't think this will negatively impact any existing
cards, but I want to confirm this before MFC'ing.
2001-05-10 17:17:24 +00:00
Sheldon Hearn 0a39318247 Handle sbsize as a size, not a number.
Submitted by:	Paul Herman <pherman@frenchfries.net>
2001-05-10 17:15:06 +00:00
Andrey A. Chernov 9caf9467e0 Move cons25w entry last, index is off by one otherwise if RunningAsInit 2001-05-10 17:14:29 +00:00
Andrey A. Chernov e95f7451f8 Remove CP866 keyboard and KOI8-R font to not confuse users.
Explain more about CP866 font usage.
2001-05-10 17:03:14 +00:00
John Baldwin df4d012b9a - Use sched_lock and critical regions to ensure that LDT updates are thread
safe from preemption and concurrent access to the LDT.
- Move the prototype for i386_extend_pcb() to <machine/pcb_ext.h>.

Reviewed by:	silence on -hackers
2001-05-10 17:03:03 +00:00
Maxim Sobolev 0a441629f1 Add support for Ukrainian console.
Submitted by:	Olexander Kunytsa <kunia@istc.kiev.ua>
MFC after:	2 weeks
2001-05-10 15:57:16 +00:00
David Malone f0ee959841 Add the ability to specify alternate PID file for syslogd.
PR:		25784
Submitted by:	Jon Villarreal <jonv@ivmg.net>
Reviewed by:	iedowse
2001-05-10 15:48:33 +00:00
Brian Somers 44ced8b3c5 Delete everything that's not a directory in /var/run and /var/spool/lock
at boot time.

MFC after: 3 weeks
2001-05-10 09:25:10 +00:00
David E. O'Brien af32b80c65 Tell the user what group they must be in to su to root.
Submitted by:	Seth Kingsley <sethk@osd.bsdi.com>
2001-05-10 07:37:25 +00:00
Ruslan Ermilov f12d6e12ec mdoc(7) police: fix markup. 2001-05-10 07:29:35 +00:00
Matt Jacob 5532b9f61e The new order of things is that dwlpxN is now called pcibN- so hack around
*that* whilst we ponder the best way to decide how to register dwlpx interrupts
with TLSB.
2001-05-10 07:08:03 +00:00
Warner Losh f40d7afa05 Fix the panics for real this time. When something can't be allocated,
we need to delete the info from the list as well as zero out the res
pointer we saved in the code.

Also made a few style(9) changes while I was at it.  Don't use if
(ptr) or if (!ptr), but compare against NULL.  Compare against NULL
rather than 0.  Don't have useless blocks.

There are likely other problems as well, but at least the wi based
wireless card with memory listed in its cis doesn't panic the system
when the card is inserted.
2001-05-10 06:55:39 +00:00
Matt Jacob fd5fcd7c1a add alpha_pci_route_interrupt method 2001-05-10 06:52:56 +00:00
Matt Jacob d18bc19f87 Quick hack to reintroduce the notion that there might be alpha platforms
without an i8254 timer/counter. This really needs to be cleaned up.
2001-05-10 05:23:58 +00:00
Daniel C. Sobral ec10295143 FICL 2.05 has a flawed definition of BASE. Fix it.
Spotted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
2001-05-10 05:13:09 +00:00
Luigi Rizzo 52b51a0dbd This file is not needed, use the default one 2001-05-10 05:03:43 +00:00
John Baldwin 221897cddb Include sys/lock.h for witness_list_locks() and axe unneeded sys/mutex.h
include.
2001-05-09 22:08:28 +00:00
Hajimu UMEMOTO 882a13da9c Avoid flushing IPv6 routes. `route flush' removes necessary
routes for IPv6 as well as IPv4 routes.
2001-05-09 20:30:55 +00:00
John Baldwin 0142c72785 Add in commented out entries for NEWCARD so that they are at least
documented.  They cannot be turned on by default due to conflicting
symbols at link time between OLDCARD and NEWCARD.

Approved by:	imp
2001-05-09 19:37:25 +00:00
Bill Paul 68e691b2ab The sk driver developed a bug when the multicast code was changed to
use TAILQ macros. The sk_attach_xmac() routine calls sk_init_xmac()
before doing the transceiver probe, but *before* ether_ifattach()
is called. This causes sk_init_xmac() to call sk_setmulti(), which
tries to do a TAILQ_FOREACH(), which it can't do because ether_ifattach()
hasn't done a TAILQ_INIT() yet. This causes a NULL pointer dereference
and panic in sk_setmulti() at driver load/initialization time.

Fixed by calling ether_ifattach() before the MII probe.

The code in RELENG_4 still uses the old way of enumerating the
multicast list and doesn't have this problem. Yet.
2001-05-09 18:22:42 +00:00
John Baldwin 28a24ae515 Add include of sys/mutex.h and resort include of sys/lock.h. 2001-05-09 16:56:48 +00:00
John Baldwin d90b453427 Add needed sys/lock.h include. 2001-05-09 16:55:59 +00:00
Brian S. Dean 44e0389495 * Simplify the population of the /etc memory filesystem. To avoid
the null mount, we currently create a temporary mfs on /tmp, copy
    /etc to /tmp, then mount /etc as mfs and copy everything back from
    /tmp, then delete the /tmp mfs.

    The patch eliminates the temporary /tmp mfs and the subsequent
    copying and simply populates the /etc mfs by copying from
    /conf/default/etc.  This requires that /conf/default/etc contain a
    complete copy of all the /etc stuff instead of just overrides.  I
    don't think that is too much of an extra step in setting up a
    diskless environment.

  * Provide the ability to make /tmp a memory filesystem independent
    of /var.  This removes the requirement that /tmp be a symlink to
    /var/tmp and this makes the diskless code work with the default
    filesystem layout.  If a seperate /tmp memory filesystem is
    created, the 'tmpsize' environment variable is used to determine
    its size (default to 10 Meg).

  * Reduce diffs between the -current and -stable versions of these
    files to a bare minimum.  Only the definition of the shell
    function 'mount_md' is different.

Not Objected to by: -arch@, -small@

MFC after: 2 days
2001-05-09 15:13:51 +00:00
Bruce Evans e2413c56ed Fixed world breakage in previous commit. -lpam must never be used
directly (except in the definition of MINUSLPAM in bsd.libnames.mk)
since it doesn't give all the libraries necessary for static linkage.

Fixed missing ${LIBPAM} in DPADD.

Fixed some style bugs in DPADD and LDADD.
2001-05-09 14:30:49 +00:00
Bruce Evans f61dcf5281 Fixed world breakage in previous commit. -lpam must never be used
directly (except in the definition of MINUSLPAM in bsd.libnames.mk)
since it doesn't give all the lbraries necessary for static linkage.

Fixed new and old bugs in DPADD.  ${LIBPAM} was missing, and the
library order was different from that in LDADD so `make checkdpadd'
reported a non-bug.
2001-05-09 14:23:54 +00:00
Søren Schmidt 63e45b51b0 Remove the error var, it hides the real one.
PR 27213.

BTW the CDIOCREADAUDIO ioctl is deprecated, its not longer needed
and was an ugly hack from start on.
2001-05-09 13:01:10 +00:00
Dag-Erling Smørgrav ee72cb740e Avoid overflow when converting ticks to jiffies.
PR:		27215
Submitted by:	Jim Pirzyk <Jim.Pirzyk@disney.com>
2001-05-09 11:41:54 +00:00
Kris Kennaway f3895a821a Fix operation of df on unmounted filesystems, and add the ability to run df
on unmounted non-UFS filesystem using '-t'

Submitted by:	bde
2001-05-09 08:44:15 +00:00
Kris Kennaway e58c2d0ce4 Patches from OpenBSD:
- check the msg.tsp_type value prior to using it as an
          index into char *tsptype[]
        - use strlcpy's instead of strcpy's
        - & handle short packets properly.

Submitted by:	"Andrew R. Reiter" <arr@watson.org>
Obtained from:	OpenBSD
2001-05-09 08:37:18 +00:00
Jordan K. Hubbard 047d337348 Fix what was clearly a 3am brain-o; Boolean should be signed, not
unsigned.  C is kinda loose about this sort of thing but it's no excuse.

Spotted by:	kenny
2001-05-09 08:01:56 +00:00
Peter Wemm b7c90f028d s/ssh_host_key/ssh_host_rsa_key/ since that is what openssh uses now
after a mergemaster.
2001-05-09 07:46:44 +00:00
Scott Long eeb2177a28 Clarify that the Adaptec 2400A is an ATA controller. 2001-05-09 05:58:01 +00:00
Scott Long 8cfe606902 Add the Adaptec 2400A as an ATA RAID controller. Remove reference to the
non-existant Adaptec 1400 controller.
2001-05-09 05:56:49 +00:00
Dima Dorfman 2656302f76 Fix a typo (pasto?). 2001-05-09 05:03:35 +00:00
Alfred Perlstein 2c917d39b2 Fix some of the handling in the pam module, don't unregister things
that were never registered.  At the same time handle a failure from
pam_setcreds with a bit more paranioa than the previous fix.

Sync a bit with the "Portable OpenSSH" work to make comparisons a easier.
2001-05-09 03:40:37 +00:00
Alfred Perlstein b56b39ad4d Unbreak world, IN_SHLOCK/IN_EXLOCK haven't existed in a while and
Kirk finally has ditched them.  While I'm here also ditch FSHLOCK.
2001-05-09 03:38:02 +00:00
David E. O'Brien 3f514cfc4c rcsid style fix. 2001-05-09 01:38:28 +00:00
David E. O'Brien 1e5a82fe65 A WIP snuck in the rev 1.34 commit. 2001-05-09 01:37:49 +00:00