Commit Graph

9871 Commits

Author SHA1 Message Date
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
bde
eba2144b26 Fixed staticization. 1998-02-03 21:41:12 +00:00
bde
d4513be4c0 Forward declare some structs so that this file is more self-sufficient.
Don't declare kernel objects or functions unless KERNEL is defined.
1998-02-03 21:39:30 +00:00
bde
5c6a3c707a Ifdefed some SMP and VM86 code. Note that although VM86 is not a global
option, the ifdef on it in a header works because only the name of the
VM86 extension is hidden.
1998-02-03 21:27:50 +00:00
bde
ee765b7a86 Forward declare a union so that this file is self-sufficient.
Cleaned up ifdefs.
1998-02-03 20:46:18 +00:00
bde
a43d18c3fe Fixed a gratuitous ANSIism. 1998-02-03 20:37:29 +00:00
bde
a448301f54 Ifdefed use of a GNU feature. 1998-02-03 20:32:38 +00:00
bde
379bd7e4ca Moved misplaced idempotency ifdef. Multiple inclusion was fatal since
there was a typedef outside the ifdef.

Fixed syntax error after the #endif for this ifdef.

Didn't fix the usual style bugs for this ifdef...
1998-02-03 20:24:13 +00:00
bde
a851a9f713 Changed inline' to __inline' so that this file can be compiled by
`gcc -ansi'.

Changed NULL to 0 so that this file is more self-sufficient (now
only <sys/types.h> is a prerequisite).
1998-02-03 20:14:35 +00:00
bde
a3d023ad39 Don't declare prototypes for driver functions unless KERNEL is defined. 1998-02-03 20:07:02 +00:00