Jordan K. Hubbard
49148d6390
Jim's latest fixes.
...
Submitted by: james
1995-09-01 00:25:18 +00:00
Garrett Wollman
a5d3a8f99b
Add a few hooks (in the form of an array of four void *'s) to allow
...
various bits of software to save some data in the ifnet structure without
having to constantly change the declaration thereof.
1995-08-31 15:21:31 +00:00
Bruce Evans
6dbc0269e2
Fix fatal function type mismatches in lkms. lkm init functions recently
...
gained a dummy argument for compatibility with sysinit functions, but
this arg wasn't passed for lkms outside the kernel.
1995-08-31 06:28:29 +00:00
John Dyson
5dce41c5a5
Increase the size of the pipe buffer as denoted by PIPSIZ from
...
4k to 8k. This has a significant effect on the pipe performance. In
the future it might be good to increase this to 16k. PIPSIZ is now
tunable for experimentation.
1995-08-31 01:39:31 +00:00
Doug Rabson
fac7bcd92c
Make nfs diskless work again.
...
Reviewed by: John Hay <jhay@mikom.csir.co.za>
1995-08-30 17:24:15 +00:00
Bruce Evans
8d7459c596
Declare vfs_mountroot() in the right place.
1995-08-30 01:34:28 +00:00
Bruce Evans
44fc47d706
Fix several sysinit functions that had the wrong type and unnecessarily
...
external linkage.
1995-08-30 00:33:35 +00:00
Bruce Evans
b6f5c0b824
Fix several sysinit functions that had the wrong type and unnecessarily
...
external linkage.
Remove useless comments saying that SYSINIT() does system initialization.
1995-08-30 00:33:22 +00:00
Bruce Evans
088f73968c
Fix several sysinit functions that had the wrong type and unnecessarily
...
external linkage.
Remove useless comments saying that SYSINIT() does system initialization.
shm.c:
Remove nearly useless comment that gave wrong pseudo-prototypes.
1995-08-30 00:33:02 +00:00
Bruce Evans
41a93c86d6
Fix benign type mismatch in a sysinit function arg.
1995-08-30 00:17:18 +00:00
Bruce Evans
9ef6c28ae2
Fix benign type mismatches and nested extern declarations in new sysinit
...
code.
Fix old and new missing prototypes.
1995-08-29 23:59:22 +00:00
Bruce Evans
154042d309
Remove relocation of Crtat. Drivers already relocate it (somewhat
...
bogusly). We used to undo the driver relocation here before doing
a somewhat less bogus relocation. The result was a null relocation
here.
1995-08-29 23:45:20 +00:00
Garrett Wollman
2b758395ea
Fix long-standing bug in ICMPPRINTFS code where NTOHL was used instead
...
of ntohl for printing IP addresses, by instead substituting inet_ntoa()
to produce human-readable output.
Obtained from: 4.4-Lite-2
1995-08-29 17:49:04 +00:00
Jordan K. Hubbard
dbae4437e2
Address Bruce's mmap concerns in this driver too.
...
Submitted by: Jim Lowe <james@miller.cs.uwm.edu>
1995-08-29 16:44:46 +00:00
Andrey A. Chernov
413c9ee9cd
Reset LANG and LC_TIME env. variables to produce english date
1995-08-29 16:08:27 +00:00
Jordan K. Hubbard
93fe9cf4a4
Fixes for issues raised by Bruce Evans.
...
Submitted by: Jim Lowe <james>
1995-08-29 13:55:24 +00:00
Bruce Evans
5c7761b2af
kmstartup had the wrong type and unnecessarily external linkage for a
...
sysinit function.
subr_prof.c:
Remove useless comment.
1995-08-29 03:09:14 +00:00
Jordan K. Hubbard
1d86961e14
Kernel components of Matrox Meteor driver.
...
Submitted by: Mark Tinguely <tinguely@plains.nodak.edu> and Jim Lowe <james>
1995-08-28 17:03:18 +00:00
Bruce Evans
4bb0ce8ce3
Fix correct_writedisklabel() and writedisklabel(). Their setting of
...
bp->b_flags has been broken for many years:
a) they didn't set B_BUSY for doing i/o. This has been fatal since
1995/07/25 when biodone() started checking that B_BUSY is set.
b) they didn't set B_INVAL for releasing the buffer. This at best
just put a useless buffer in the LRU queue for a little while.
Fix a couple of spelling errors and complete a couple of function
pointer declarations.
1995-08-28 16:09:11 +00:00
Guido van Rooij
de319b9419
Add SIOCGIFADDR ioctl so rarpd actually works with the if_ep interface.
1995-08-28 12:01:17 +00:00
Julian Elischer
2b14f991e6
Reviewed by: julian with quick glances by bruce and others
...
Submitted by: terry (terry lambert)
This is a composite of 3 patch sets submitted by terry.
they are:
New low-level init code that supports loadbal modules better
some cleanups in the namei code to help terry in 16-bit character support
some changes to the mount-root code to make it a little more
modular..
NOTE: mounting root off cdrom or NFS MIGHT be broken as I haven't been able
to test those cases..
certainly mounting root of disk still works just fine..
mfs should work but is untested. (tomorrows task)
The low level init stuff includes a total rewrite of init_main.c
to make it possible for new modules to have an init phase by simply
adding an entry to a TEXT_SET (or is it DATA_SET) list. thus a new module can
be added to the kernel without editing any other files other than the
'files' file.
1995-08-28 09:19:25 +00:00
Steven Wallace
fe89a532f1
Modified linux_readdir() function to properly handle Linux readdir()
...
calls with a byte size of 1. This special case was not
correctly emulated. Now programs such as a simple 'ls' to a commercial
Macintosh emulator called 'executor' will work correctly.
1995-08-28 00:50:08 +00:00
Joerg Wunsch
0f700bfda2
Add a comment that a user with many open windows under X might need to
...
bump CHILD_MAX.
Closes PR # conf/708: CHILD_MAX set rather low...
Submitted by: careilly@monoid.cs.tcd.ie
1995-08-27 14:13:04 +00:00
Bruce Evans
d1dae4c8c1
Change db_ps() to have the correct number and type of args for a ddb
...
command.
1995-08-27 02:40:39 +00:00
Bruce Evans
976794d967
Change db_fncall() and db_panic() to have the correct number and type of
...
args for a ddb command.
1995-08-27 02:39:39 +00:00
Bruce Evans
187f023877
Change vm_object_print() to have the correct number and type of args
...
for a ddb command.
1995-08-26 23:19:49 +00:00
Bruce Evans
914181e7de
Change vm_map_print() to have the correct number and type of args for
...
a ddb command.
1995-08-26 23:18:38 +00:00
Bruce Evans
512644a44d
Don't declare a nonexistent function.
...
Fix formatting of recent changes.
1995-08-26 20:46:43 +00:00
Bruce Evans
fadc51bdc6
Remove "memory" clobber statement from enable_intr(). Enabling interrupts
...
doesn't invalidate loaded variables.
Fix formatting of recent changes.
1995-08-26 20:45:59 +00:00
Bruce Evans
826c5c4980
Convert \n to \r\n in serial_putchar().
1995-08-26 20:03:43 +00:00
Joerg Wunsch
e3553e7bcd
Bump the OSRELDATE to 199508. Too many things have changed since
...
2.0.5, most notably the NFSv3 kernel support.
Reviewed by: the mailing lists
1995-08-26 06:47:52 +00:00
David Greenman
825a4d8e7f
Killed MNT_NOAUTO.
1995-08-26 05:40:52 +00:00
Bruce Evans
430179f0c3
Don't compile the diagnostic functions vhold() and holdrele() unless
...
DIAGNOSTIC is defined.
1995-08-25 20:49:44 +00:00
Bruce Evans
7ae06c2b2e
Remove extra arg from one call to uha_done().
1995-08-25 20:39:01 +00:00
Bruce Evans
5e319b84a1
Remove extra arg from one of the calls to (*pr_usrreq)().
1995-08-25 20:27:46 +00:00
Bruce Evans
5d81aaee02
Fix bogus arg (&p instead of p) in the call to VOP_ACCESS() from
...
msdosfs_setattr(). The bug was benign because the arg isn't used.
1995-08-25 20:12:23 +00:00
Bruce Evans
e3546115f3
Call nosys() from lkmnosys() with the correct number and type of args
...
instead of with none. The first (struct proc *) arg is used if lkmnosys()
if is actually called.
Implement lkmnosys() with the correct number and type of args so that
the first of them can be used and the others won't need to be fixed
lated.
1995-08-25 20:03:02 +00:00
Bruce Evans
ac0418c3ae
Remove extra arg from the call to ds_crc().
1995-08-25 19:50:15 +00:00
Bruce Evans
4238af7cd2
Don't call VOP_UPDATE() with volatile timestamps.
1995-08-25 19:40:32 +00:00
Bruce Evans
b2c4393679
Remove extra args from the calls to getit(). The bug was benign with the
...
default function call convention.
1995-08-25 19:24:56 +00:00
Poul-Henning Kamp
9187dfc42c
Remove my xxxinit hack. It was too gross.
1995-08-25 09:49:20 +00:00
Poul-Henning Kamp
f673a8d884
Shut warnings.
...
Add selwake calls.
remove some trash.
1995-08-25 09:47:06 +00:00
David Greenman
9f95e53cff
Another minor optimization, this time to incore().
1995-08-24 13:59:14 +00:00
David Greenman
ff3aaf2582
Minor optimization.
1995-08-24 13:28:16 +00:00
David Greenman
cbf2350552
Improved BUFHASH algorithm.
1995-08-24 12:57:17 +00:00
David Greenman
229296b0cf
Killed some gratuitous #include's.
1995-08-24 12:54:11 +00:00
David Greenman
c0c06a67d2
Added NFS_ASYNC kernel option. It only has an effect for NFSv2.
1995-08-24 11:39:31 +00:00
David Greenman
dcc84850a7
Killed redundant declarations of nfsm_rpchead().
1995-08-24 11:04:04 +00:00
Doug Rabson
c3b2cc769c
Some fixes found using gcc -Wall:
...
nfsm_rpchead() has been called with the wrong number of args and misplaced
args since someone added new args in the middle for nfsv3.
Here's another one that would be important on 64-bit systems. VOP_READDIR
takes a `u_int **cookies' arg.
Submitted by: Bruce Evans <bde@zeta.org.au>
1995-08-24 10:45:16 +00:00
David Greenman
c0e5de7d88
Moved setting of VTEXT flag into the appropriate image activators. This
...
fixes a bug where linux binaries would get the flag set inappropriately.
1995-08-24 10:32:37 +00:00