Commit Graph

9880 Commits

Author SHA1 Message Date
kato
1e5cccbfcc Staticize. 1998-02-10 02:51:32 +00:00
msmith
65cef764ea If the kernel was built with USERCONFIG_BOOT, and the '-c' (RB_CONFIG) flag
was supplied to the kernel when booting, ignore any 'quit' commands in the
userconfig script.

This provides an escape mechanism whereby a broken userconfig script may
be worked around.
1998-02-10 00:10:35 +00:00
peter
69d1ac34b8 Un-staticize. 1998-02-09 16:20:42 +00:00
kato
f8d05377ff Sync with sys/i386/isa/clock.c and spker.c revision 1.109 and 1.32,
resplectivley.
1998-02-09 15:05:44 +00:00
kato
c6e3a2c916 Sync with sys/i386/i386/machdep.c revision 1.289. 1998-02-09 15:04:39 +00:00
kato
0efaa6ddd7 NULL and UMAP filesystems also unstable. 1998-02-09 15:03:38 +00:00
eivind
d7a6ab2803 Staticize. 1998-02-09 06:11:36 +00:00
eivind
7764f84ad9 Remove warnings from f00f_hack. 1998-02-09 04:45:53 +00:00
eivind
df18e38f64 Add #include "opt_devfs.h". 1998-02-09 02:31:47 +00:00
dyson
8cf33a55bf Fix an argument to vn_lock. It appears that alot of the vn_lock usage
is a bit undisciplined, and should be checked carefully.
1998-02-08 14:55:13 +00:00
dyson
9f39ec243f Fix a problem with vn_lock in fsync. 1998-02-08 01:41:33 +00:00
nate
b4a0168724 - Removed typo in Copyright and added Id. 1998-02-07 20:41:20 +00:00
kato
95aa7532e2 When the vp is lcoked, vget() calls vfs_object_create() with
waslocked = TRUE.  This change may fix lockmgr panic in umapfs/nullfs.

PR:		5634
Reviewed by:	"John S. Dyson" <toor@dyson.iquest.net>
Suggested by:	Bruce Evans <bde@zeta.org.au>
1998-02-07 08:44:31 +00:00
msmith
d3baeeda1e In the words of the submitter:
----
I've worked to enhance the connect() patches.

I've just tested this with the Linux JDK appletviewer on an applet
that does a lot of connects, and it works as well as during my
previous tests.

The connect() patch is now a merge between my older patch and the
OpenBSD stuff. It ensures that any async error is returned by
connect() instead of getsockopt(SOL_SOCKET, SO_ERROR) as reasonnable
systems do.

There are also minor patches to implement IPPROTO_TCP for
get/setsocktopt(). These are also tested (with Linux Apache).
----

I would appreciate any feedback regarding these changes, as they'd
be very useful in 2.2.6.

Submitted by:	pb@fasterix.freenix.org (Pierre Beyssac)
1998-02-07 02:13:27 +00:00
kato
0511880d25 Fixed pagefault when cred == NOCRED.
PR:		5632
1998-02-07 01:36:24 +00:00
kato
3fac3de4d1 Fixed number of entries in gid-mapfile.
PR:		5640
1998-02-07 01:34:32 +00:00
eivind
19c2e7eb57 Back out opt_diagnostic.h changes. 1998-02-06 23:54:27 +00:00
jdp
d5b09c81ec Implement dladdr. 1998-02-06 16:46:46 +00:00
eivind
a339af109e Throw DEBUG and DIAGNOSTIC in opt_global.h 1998-02-06 12:41:39 +00:00
eivind
4547a09753 Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
alex
678cd6e7de Don't attempt to display information which we don't have: specifically,
TCP and UDP port numbers in fragmented packets when IP offset != 0.

2.2.6 candidate.

Discovered by:	Marc Slemko <marcs@znep.com>
Submitted by:	Archie Cobbs <archie@whistle.com> w/fix from me
1998-02-06 02:45:54 +00:00
kato
3dee083700 Workarround for DIAGNOSTIC kernel's panic in union_lookup().
Union_removed_upper() clobbers cache when file is removed.
Upper vp will be removed by union_reclaim().
1998-02-06 02:42:21 +00:00
dyson
b5c2c88df8 Add MNT_LAZY. 1998-02-05 17:27:42 +00:00
dyson
fcab598523 Fix an omission of a line from the previous commit to this file. The
problem appeared to be an NFS hang.
1998-02-05 16:40:57 +00:00
kato
954e6de43d Sync with sys/i386/isa/if_ed.c revision up to 1.132. 1998-02-05 10:17:57 +00:00
kato
a5f2715e85 Sync with sys/i386/isa/isa.c revision 1.110. 1998-02-05 10:06:42 +00:00
kato
d91961b04b Sync with sys/i386/i386/machdep.c and trap.c reivsions 1.287 and
1.121, respectively.
1998-02-05 10:05:47 +00:00
eivind
a9448bd4ff Add PnP support to if_ed.c. 1998-02-05 04:08:41 +00:00
dyson
ebccbfc1ff 1) Start using a cleaner and more consistant page allocator instead
of the various ad-hoc schemes.
2)	When bringing in UPAGES, the pmap code needs to do another vm_page_lookup.
3)	When appropriate, set the PG_A or PG_M bits a-priori to both avoid some
	processor errata, and to minimize redundant processor updating of page
	tables.
4)	Modify pmap_protect so that it can only remove permissions (as it
	originally supported.)  The additional capability is not needed.
5)	Streamline read-only to read-write page mappings.
6)	For pmap_copy_page, don't enable write mapping for source page.
7)	Correct and clean-up pmap_incore.
8)	Cluster initial kern_exec pagin.
9)	Removal of some minor lint from kern_malloc.
10)	Correct some ioopt code.
11)	Remove some dead code from the MI swapout routine.
12)	Correct vm_object_deallocate (to remove backing_object ref.)
13)	Fix dead object handling, that had problems under heavy memory load.
14)	Add minor vm_page_lookup improvements.
15)	Some pages are not in objects, and make sure that the vm_page.c can
	properly support such pages.
16)	Add some more page deficit handling.
17)	Some minor code readability improvements.
1998-02-05 03:32:49 +00:00
eivind
c552a9a1c3 Turn DIAGNOSTIC into a new-style option. 1998-02-04 22:34:03 +00:00
eivind
cd0b25e001 Remove old, commented-out option SUIDDIR after Julian added a proper
entry for it.
1998-02-04 22:03:27 +00:00
eivind
357ed84053 Make the LKMs handle DIAGNOSTIC as a new-style option. 1998-02-04 21:56:39 +00:00
dg
13eef94007 Restrict idleprio to superuser:
Realtime priority has to be restricted for reasons which should be
obvious. However, for idle priority, there is a potential for
system deadlock if an idleprio process gains a lock on a resource
that other processes need (and the idleprio process can't run
due to a CPU-bound normal process). Fix me! XXX
PR: 5639
1998-02-04 18:43:10 +00:00
jkh
8e9d9fcd4b MF22: update to newest version from author. 1998-02-04 15:04:09 +00:00
kato
eac247a369 Sync with sys/i386/conf/options.i386 revision 1.71. 1998-02-04 10:22:05 +00:00
kato
ad6a47921f Sync with sys/i386/i386/machdep.c revision 1.286. 1998-02-04 10:19:33 +00:00
eivind
a38d8f1201 Change LINT_PCCARD_HACK to COMPILING_LINT, and put it in its own header file
"opt_lint.h".  This should prevent the next person needing the same trick
from inventing their own option, too.
1998-02-04 04:41:37 +00:00
eivind
f1dfb39044 Make SPX_HACK a new-style option. 1998-02-04 04:12:29 +00:00
eivind
0c08f6bbc6 Make this work with SPX_HACK as a new-style option. 1998-02-04 04:07:43 +00:00
eivind
2a7d94fc96 Put SCSI_2_DEF in opt_scsi.h. This cause a lot more recompliation than
necessary when this option change, but I don't think it is worth its own
header file.
1998-02-04 03:59:50 +00:00
eivind
a4ebb52126 Make FAILSAFE a new-style option. 1998-02-04 03:47:16 +00:00
eivind
5997e4360d Add #include "opt_devfs.h" 1998-02-04 03:30:31 +00:00
eivind
bd4f7390c4 Re-add my DEVFS changes after they were stomped on. This time, I throw away
the DEVFS tokens (as they weren't used anywhere anyway).
1998-02-04 03:16:25 +00:00
eivind
099975fa27 Make LINT at least compile. This faithfully duplicate the changes
done to ufs/ufs/ufs_vnops.c for the same problem, but I don't know if
that will actually make SUIDDIR work for ext2fs.
1998-02-04 01:16:03 +00:00
bde
08a4a83dbb Cleaned up some comments and ifdefs. 1998-02-03 22:32:23 +00:00
bde
ffbb93a37a Added #include of <sys/queue.h> so that this file is more "self"-sufficent. 1998-02-03 22:19:35 +00:00
bde
a407930be7 Forward declare a struct and #include <sys/queue.h> so that this file
is more "self"-sufficent.
1998-02-03 22:17:45 +00:00
bde
b0a274b4cb Converted DISABLE_PSE to a new-style option.
Fixed some formatting in options.i386.
1998-02-03 22:09:01 +00:00
bde
28f1e890e5 Fixed pedantic syntax errors. 1998-02-03 21:56:42 +00:00
bde
742edae5eb Forward declare some structs so that this file is more self-sufficient. 1998-02-03 21:52:02 +00:00