Commit Graph

35204 Commits

Author SHA1 Message Date
Peter Wemm
d41bc16f34 The vinum setup tool automatically loads the vinum module if it's needed,
there is no need to duplicate the logic here.

XXX rc.conf needs to be read sooner..
1999-01-26 04:59:43 +00:00
Peter Wemm
5581e43bbf Check if the intpm controller is configured first before stopping
recognition of the 82371AB device.
1999-01-26 04:54:38 +00:00
Peter Wemm
c2a1ba0f78 Automatically load the vn module if it isn't already in the kernel. 1999-01-26 04:53:09 +00:00
Jordan K. Hubbard
8573fbf238 1. Properly chflags libraries before moving (otherwise they don't).
2. Add my helper script for upgrades; not enabled yet.
1999-01-26 04:13:03 +00:00
Steve Price
1427370d8f Add support for the USR3031 PNP modem. Also fix a minor typo since I was
here.
1999-01-26 04:02:54 +00:00
Satoshi Asami
500ada61bf Move bsd.port.*mk to under ${PORTSDIR}/Mk (already repository copied).
There are only skeletons left here; they merely serve as a backup to
include the real versions under ${PORTSDIR}/Mk while we update the ports
tree to include them directly.
1999-01-26 03:40:12 +00:00
Warner Losh
9a3105ee26 o Add info about Julian's Linux Threads checkin (one of these
days I'm going to write a make kvm top level target).
	o Add warning about the
	  short lived boot block breakage and briefly what to do to
	  fix it.
1999-01-26 03:13:22 +00:00
Julian Elischer
2907af2a96 Mostly remove the VM_STACK OPTION.
This changes the definitions of a few items so that structures are the
same whether or not the option itself is enabled. This allows
people to enable and disable the option without recompilng the world.

As the author says:

|I ran into a problem pulling out the VM_STACK option.  I was aware of this
|when I first did the work, but then forgot about it.  The VM_STACK stuff
|has some code changes in the i386 branch.  There need to be corresponding
|changes in the alpha branch before it can come out completely.

what is done:
|
|1) Pull the VM_STACK option out of the header files it appears in.  This
|really shouldn't affect anything that executes with or without the rest
|of the VM_STACK patches.  The vm_map_entry will then always have one
|extra element (avail_ssize).  It just won't be used if the VM_STACK
|option is not turned on.
|
|I've also pulled the option out of vm_map.c.  This shouldn't harm anything,
|since the routines that are enabled as a result are not called unless
|the VM_STACK option is enabled elsewhere.
|
|2) Add what appears to be appropriate code the the alpha branch, still
|protected behind the VM_STACK switch.  I don't have an alpha machine,
|so we would need to get some testers with alpha machines to try it out.
|
|Once there is some testing, we can consider making the change permanent
|for both i386 and alpha.
|
[..]
|
|Once the alpha code is adequately tested, we can pull VM_STACK out
|everywhere.
|

Submitted by:	"Richard Seaman, Jr." <dick@tar.com>
1999-01-26 02:49:52 +00:00
Julian Elischer
88c5ea4574 Enable Linux threads support by default.
This takes the conditionals out of the code that has been tested by
various people for a while.
ps and friends (libkvm) will need a recompile as some proc structure
changes are made.

Submitted by:	"Richard Seaman, Jr." <dick@tar.com>
1999-01-26 02:38:12 +00:00
Robert Nordier
ab19eb8230 Fix a couple of further bugs: missing argument to sprintf() and
"==" used for "=".
1999-01-25 23:07:02 +00:00
Bill Fumerola
c6a6c9c017 Update pkg_add's remote package feature to reflect the new structure of
wcarchive. This needs to be updated when:

(a) The directory structure changes on wcarchive
(b) getosreldate() has a new significance
	(ie. get ELF packages/get a.out packages)
(c) Branches are changed around

As we stand right now, 3.0-postELFday and 4.0-x all point to the same
directory, but when 4.0 starts to have its own packages, this file will
need to be changed.
1999-01-25 21:08:13 +00:00
Nicolas Souchu
04fb1490a0 Terminate commit for the Intel PIIX4 SMBus support. Already committed files
are sys/pci/intpm*

Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
1999-01-25 19:34:27 +00:00
Nicolas Souchu
30533eb61a Intel PIIX4 Power Management Unit for smbus(4).
Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
1999-01-25 19:31:48 +00:00
Matthew Dillon
b1cba377b0 Add kern.conf_dir sysctl. This is a R+W string used to specify the
directory containing rc.conf.local and rc.local, and possibly other
    things in the future.

    This sysctl is used by the diskless startup code and new rc.conf.  If
    it cannot be found or is empty, the system should revert to using /etc.
1999-01-25 18:26:09 +00:00
Matthew Dillon
5ab0c62f95 Commit first rc.diskless startup plus modifications to rc.conf and Makefile
to make it work.  NOTE!  Uses new kern.conf_dir sysctl.
1999-01-25 18:24:46 +00:00
Matthew Dillon
633dcb59ac Finish up /etc/rc adjustments to handle diskless read-only-root booting.
This will be followed up by rc.diskless and documentation.
1999-01-25 18:07:25 +00:00
Bill Fenner
527b7a14a5 Port NetBSD's 19990120-accept bug fix. This works around the race condition
where select(2) can return that a listening socket has a connected socket
queued, the connection is broken, and the user calls accept(2), which then
blocks because there are no connections queued.

Reviewed by:	wollman
Obtained from:	NetBSD
(ftp://ftp.NetBSD.ORG/pub/NetBSD/misc/security/patches/19990120-accept)
1999-01-25 16:58:56 +00:00
Bill Fenner
ec42cbfc24 Don't free the socket address if soaccept() / pru_accept() doesn't
return one.
1999-01-25 16:53:53 +00:00
Torsten Blum
de6f543955 Identify the TI1250 PCMCIA/CardBus bridge. It seems that it's compatible
to the TI1131. At least it works in my Compaq Armada 7800.
1999-01-25 12:59:31 +00:00
KATO Takenori
564da2b0d5 Sync with sys/i386/conf/Makefile.i386 revision 1.137. 1999-01-25 12:12:01 +00:00
Eivind Eklund
398eda2c23 Use __XSTRING() from cdefs.h instead of rolling my own. 1999-01-25 11:25:24 +00:00
Robert Nordier
5ca1fa1ed0 Correctly record the end of the a.out symbol table. In practice, a
bootinfo structure where bi_esymtab < bi_symtab was being passed
to the kernel.  In the case of older 2.x kernels, this was causing
garbage to be printed to the video console, followed by an exception.

This should resolve a problem reported on -current by Peter Jeremy
<peter.jeremy@auss2.alcatel.com.au>.
1999-01-25 10:34:35 +00:00
Brian Somers
756783fc20 Don't SEGV when ``set proctitle'' is used in the default
section.
Submitted by:	Dan Lukes <dan@obluda.cz>
PR:		9669
1999-01-25 10:19:03 +00:00
Doug Rabson
2bfad86d33 Back out a couple of i386 conditionals which aren't needed with the new
syscons and fix a few printfs.

Reviewed by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1999-01-25 08:48:49 +00:00
Doug Rabson
149a155c3b Don't try to call SYSUNINIT functions if there was a link error.
Reviewed by: Peter Wemm <peter@netplex.com.au>
1999-01-25 08:42:24 +00:00
Mark Murray
0346639d07 Link everything against libcrypt. ELF builds complain without it.
Clean up the master makefile a bit and add a "dekerberise" target
for those who have shot themselves in the foot.

Thanks to:	Randy Bush
1999-01-25 06:49:43 +00:00
Joseph Koshy
ab6c21a54f Correct a typo and an unparseable sentence.
PR:		docs/9659
Submitted by:	Kazuo Horikawa <horikawa@jp.freebsd.org>
1999-01-25 06:22:31 +00:00
Jordan K. Hubbard
5bd0196abc Play with MFS size a little. 1999-01-25 04:57:07 +00:00
Matthew Dillon
3c83a6adc9 Introduce rc script for BOOTP 'diskless' boot. Well, not quite diskless
since the kernel must be booted from something ( like a floppy ).  This
    script must occur near the beginning of the rc file in order to support
    read-only NFS mounts, which in turn allows all the BOOTP machines to use
    the same / and /usr.

    The companion rc.diskless script is forthcoming.
1999-01-25 04:40:53 +00:00
Peter Wemm
43482c407d Force the order of the setdefs* so that make -jN doesn't build the
setdefs* multiple times at the same time that it's compiling setdefs[0].c.
I think this was leading to unterminated linker sets etc.
1999-01-25 04:08:28 +00:00
Matthew Dillon
876c5c1135 Fix swap radix tree dump formatting ( pstat -ss ), it was printing the
wrong radix for recursive subnodes.
1999-01-25 04:07:07 +00:00
Peter Wemm
97b3f983a5 NO_LKM is no longer an option. LKM support is an option itself. 1999-01-25 03:51:51 +00:00
Andrew Gallatin
f0f3d5af23 gethostbyname2() was broken for lookups via NIS on FreeBSD/alpha
due to _gethostbynis() setting h.h_length to sizeof(u_long), which
works out to 8 on alphas.  And 8!= NS_INADDRSZ.
1999-01-25 03:26:45 +00:00
Peter Wemm
89096bf0ef Fix an aout-to-elf upgrade failure. Don't let the kernel Makefile
think it's in ELF mode and upgrading /kernel.
1999-01-25 01:47:49 +00:00
Nicolas Souchu
7c7545e182 SMBus support for the Intel PIIX4 power management unit. See smbus(4),
iicbus(4) and smb(4).

User programs are available to retrieve SDRAM and sensor info, contact
the author.

Submitted by: Takanori Watanabe <takawata@shidahara1.planet.sci.kobe-u.ac.jp>
Reviewed by: Mike Smith <msmith@freebsd.org>
1999-01-24 18:13:31 +00:00
Mark Murray
2b77216109 'Nother place where libcrypt needs to be linked.
Thanks to:	Randy Bush
1999-01-24 15:28:41 +00:00
Mark Murray
7582c823d5 Replace a bunch of "ln foo bar"'s with "ln -f foo bar".
This means that if(when) you go "sh MAKEDEV all" in /dev
the devices get remade; you don't get errors.
A lot of the changes are for info only; they are commented out.

Not exactly shot to pieces by:	bde
1999-01-24 13:51:26 +00:00
Mark Murray
078826d873 More libcrypt backout. 1999-01-24 13:46:33 +00:00
David E. O'Brien
bab39c5858 Fix logic surrounding the noconn option.
(this should also shutup the warning message everybody sees)

Submitted by:	David Wolfskill <dhw@whistle.com>
1999-01-24 10:10:20 +00:00
Mark Murray
b0b2cc1aee Under ELF, this must be linked against libcrypt.
Found by:	Randy Bush
1999-01-24 08:12:56 +00:00
Peter Wemm
5e418b65f6 Support 'O MaxHeaderLines=' to override the default header count and line
length limits.  The configuration keyword is: confMAX_HEADER_LINES
1999-01-24 07:54:30 +00:00
Mark Murray
1b340441b7 Fix symlinking. Without the -f "force" option, the wrong version
can be found.
Submitted by:   Bruce
1999-01-24 07:51:33 +00:00
Peter Wemm
a9d022882c Merge changes from vendor branch into our version 1999-01-24 07:46:43 +00:00
Peter Wemm
940295fab5 This commit was generated by cvs2svn to compensate for changes in r43148,
which included commits to RCS files with non-trunk default branches.
1999-01-24 07:40:56 +00:00
Peter Wemm
25bab6e904 Check the patch obtained from sendmail.org for the header denial-of-service
attack into the vendor branch.  It is a little unusual doing it this way
but it will eliminate (or minimize anyway) conflicts when 8.9.3 comes out.

Obtained from: sendmail.org (as posted on bugtraq, but without broken tabs)
1999-01-24 07:40:56 +00:00
Robert Nordier
2b1c01eb8f Drop outdated FreeBSD version number from test script.
Submitted by	: Sue Blake <sue@vedanix.welearn.com.au>
PR		: 9650
1999-01-24 07:10:34 +00:00
Matthew Dillon
2f586e1b2c Undo last commit - not a bug, just duplicate code. PG_MAPPED and
PG_WRITEABLE are already cleared by vm_page_protect().
1999-01-24 07:06:52 +00:00
Bruce Evans
57687b2e1f Backed out most of previous commit to go with backing out support for
revoke() on non-device files.
1999-01-24 06:43:30 +00:00
Bruce Evans
73a6265d68 Go back to only supporting revoke() for bdevs and cdevs. It is very
buggy for fifos, and no one seems to have investigated its behaviour
on other types of files.  It has been broken since the Lite2 merge
in rev.1.54.

Nagged about by:	Brian Feldman (green@unixhelp.org)
1999-01-24 06:28:37 +00:00
Mike Smith
e9583ef187 From the PR:
I added a FICL_TRACE-conditioned trace facility based on "see".
It is ugly because words' functions are almost all static, and ficlExec,
where the trace has to be located, can't get their pointers. So, #ifdef
this staticization, and add most of see's body into ficlExec. Duplication
of code, uglyness, etc. But it is cleanly #ifdef'ed, and works like a
charm.

	It does not provide "step" facility, though, just trace. It is
tunable at run-time through "trace!". If anyone (most likely me :) ever
wants a step facility, I'll add it. Should be easy.

PR:		bin/9652
Submitted by:	"Daniel C. Sobral" <dcs@newsguy.com>
1999-01-24 06:06:21 +00:00