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
Matthew Dillon
7dbf82dc13
Change all manual settings of vm_page_t->dirty = VM_PAGE_BITS_ALL
...
to use the vm_page_dirty() inline.
The inline can thus do sanity checks ( or not ) over all cases.
1999-01-24 06:04:52 +00:00
Mike Smith
84ef5a8f66
Bleh. Missing 'unit =' doesn't help legacy num_ide_disks code.
...
PR: bin/9651
Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
1999-01-24 06:03:44 +00:00
Matthew Dillon
68af6d169b
vm_map_split() used to dirty the page manually after calling
...
vm_page_rename(), but never pulled the page off PQ_CACHE if it was on
PQ_CACHE. Dirty pages in PQ_CACHE are not allowed and a KASSERT was
added in -4.x to test for this... and got hit.
In -4.x, vm_page_rename() automatically dirties the page. This commit
also has it deal with the PQ_CACHE case, deactivating the page in that
case.
1999-01-24 06:00:31 +00:00
Mike Smith
f7f7a5d7ab
From the PR:
...
FICL's TYPE copies the counted string to HERE, as abial has
remarked. Answering to abial's question, this is NOT garanteed to have
enough space.
...
We have dynamic memory. Even before memory-alloc got in, we
already had dynamic memory. Use it, then! (ficlMalloc is sysdep, so I
suppose that's why it was not used for TYPE; ficl is probably designed
to work without a working ficlFree).
Submitted by: "Daniel C. Sobral" <dcs@newsguy.com>
1999-01-24 05:58:18 +00:00
Matthew Dillon
161a8f6519
Add vm_page_dirty() inline with PQ_CACHE sanity check
1999-01-24 05:57:50 +00:00
Greg Lehey
ac4cd383ca
Correct #include in vinumioctl.c to compile correctly
...
without VINUMDEBUG
Submitted-by: peter
1999-01-24 05:14:39 +00:00
Matthew Dillon
257aefa704
Addendum: The original code that the last commit 'fixed' actually did
...
not have a bug in it, but the last commit did make it more readable so
we are keeping it.
1999-01-24 03:49:58 +00:00
Matthew Dillon
e4542174b0
vm_pager_put_pages() is passed an rcval array to hold per-page return
...
values. The 'int' return value for the procedure was never used and
not well defined in any case when there are mixed errors on pages, so
it has been removed. vm_pager_put_pages() and associated vm_pager
functions now return void.
1999-01-24 02:32:15 +00:00
Matthew Dillon
e1a4feafd0
Clear PG_MAPPED as well as PG_WRITEABLE when a page is moved to the
...
cache.
1999-01-24 02:29:26 +00:00
Matthew Dillon
d044d7bfb6
Added warning printf ( needs INVARIANTS ) when busy cache page is found
...
while trying to free memory.
1999-01-24 01:33:22 +00:00
Greg Lehey
be174c7efd
Add comment indicating that the vinum pseudo-device is experimental,
...
and that vinum should be started as a kld.
Tripped-over-by: many people
1999-01-24 01:22:37 +00:00
Matthew Dillon
89600e8663
There was a situation where sendfile() might attempt to initiate I/O
...
on a PG_BUSY page, due to a bug in its sequencing of a conditional.
1999-01-24 01:15:58 +00:00
Matthew Dillon
aaba53da90
It is possible for a page in the cache to be busy. vm_pageout.c was not
...
checking for this condition while it tried to free cache pages. Fixed.
1999-01-24 01:06:31 +00:00
Matthew Dillon
a7039a1d42
Add invariants to vm_page_busy() and vm_page_wakeup() to check for
...
PG_BUSY stupidity.
1999-01-24 01:05:15 +00:00
Matthew Dillon
c9fa34cf07
Clear PG_WRITEABLE in vm_page_cache(). This may or may not be a bug,
...
but the bit should definitely be cleared.
1999-01-24 01:04:04 +00:00
Matthew Dillon
8e3ad7c918
Depreciate vm_object_pmap_copy() - nobody uses it. Everyone uses
...
vm_object_pmap_copt_1() now, apparently.
1999-01-24 01:01:38 +00:00
Matthew Dillon
bc6d84a6a3
Get rid of unused old_m in vm_fault. Add INVARIANTS to test whether
...
page is still busy after all the hell vm_fault goes through.. it is
supposed to be, and printf() if it isn't. don't panic, though.
1999-01-24 00:55:04 +00:00
Matthew Dillon
377f9b28a6
Don't try to calculate B_CACHE for an NFS related bp that has a
...
> 0 b_validend. This will screw up small-writes, causing lots of
little writes out the network.
We will assume that NFS handles B_CACHE properly.
1999-01-24 00:51:11 +00:00
Mike Smith
1c2587457f
Document root_disk_unit
1999-01-24 00:12:17 +00:00
Mike Smith
c679ae39a8
biosdisk.c
...
Implement a new variable 'root_disk_unit' which supersedes
'num_ide_disks' and makes it possible to explicitly set the
root device unit number regardless of type considerations.
bootinfo.c
If we can't calculate a dev_t for the root disk, complain and
don't proceed to boot with an invalid boot device.
1999-01-24 00:12:04 +00:00
Mike Smith
5d3d992565
Fill in the bi_bios_dev field in the bootinfo struct; the loader doesn't
...
guess this value well in anything other than the simplest of situations.
1999-01-24 00:10:10 +00:00
Archie Cobbs
85abbaa800
Move kernel-only declarations to within #ifdef KERNEL
...
Prompted by: gcc warnings when compiling /sbin/ipfw
1999-01-23 23:59:50 +00:00
Mark Murray
e116238d83
Add the texinfo'ed docs to the build/install.
1999-01-23 21:24:49 +00:00
Nicolas Souchu
7b7bf77e65
Replace DEBUG by PLIP_DEBUG option
1999-01-23 17:07:49 +00:00
Nicolas Souchu
ef8f762601
Add various documented ppbus options
1999-01-23 17:06:01 +00:00
Robert Nordier
70fe3a9f9f
Fix wrong exit code.
...
PR: 9321
Submitted by: Bob Van Valzah <Bob@whitebarn.com>
1999-01-23 17:05:54 +00:00
Doug Rabson
f01de75c0f
Remove a workaround for the alpha port using an outdated version of syscons.
1999-01-23 17:04:13 +00:00
Doug Rabson
8a99777019
Update the alpha port to use the new syscons.
...
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> (partly)
1999-01-23 16:53:30 +00:00
Eivind Eklund
458a924b1d
I may have forgotten to upgrade this value, but that will never happen
...
again. (Fully clone the value of __FreeBSD__ from the compiler.)
1999-01-23 15:07:10 +00:00
Robert Nordier
a29a298674
Fix a dot too many in path.
...
PR: 9445
Noticed by: Ying-Chieh Liao <ijliao@Terry.Dorm10.NCTU.edu.tw>
1999-01-23 14:50:28 +00:00
Nicolas Souchu
3b508abd51
Remove imm.4, merged with vpo.4
...
Fix vpo.4 manpage generation in Makefile
Fix bootflags bits description in ppc.4
1999-01-23 14:01:55 +00:00
Roger Hardiman
2c401a831e
Added detection of Hauppauge IR remote control.
...
and MSP34xx Audio chip. Fixed i2c read error.
Hauppauge supplied details of new Tuner Types.
Added tuner type 0x1a.
Danny Braniss <danny@cs.huji.ac.il> submitted Bt878
AverMedia detection with PCI subsystem vendor id.
1999-01-23 11:32:06 +00:00
Roger Hardiman
d3697a3ac3
Submitted by: Roger Hardiman <roger@cs.strath.ac.uk>
...
Updated to support Hauppauge IR Remote Control
1999-01-23 11:28:16 +00:00
John Hay
9f12d84d0e
__FreeBSD__ is also used here.
...
Forgotten by: Lots of people.
Pointed out by: make world.
1999-01-23 10:59:29 +00:00
Kazutaka YOKOTA
fa18887740
Suppress warnings when compiling LINT. No functional change.
1999-01-23 10:55:16 +00:00
Kazutaka YOKOTA
c619f2ac1e
- Remove reference to obsolete options.
...
- Describe options for the vga driver.
Reviewed by: bde
1999-01-23 10:51:58 +00:00