jake
5b1899e180
The data cache on UltraSPARC III is not directly mapped, so don't assert
...
that. This breaks assumptions made by some of the cache flushing code,
but UltraSPARC III has different methods for invalidating cache lines
anyway.
2002-07-30 05:48:33 +00:00
silby
87912a806c
Update docs to reflect change in count of procs reserved for root
...
from 1 to 10.
PR: kern/40515
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 1 day
2002-07-30 05:37:00 +00:00
silby
ac93c76bf6
Update docs to reflect change in count of procs reserved for root
...
from 1 to 10.
PR: kern/40515
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 1 day
2002-07-30 05:36:34 +00:00
fenner
83c61fd14f
Routing socket messages are padded to sizeof(long), not just
...
sizeof(u_int32_t).
2002-07-30 04:49:13 +00:00
jake
82b18a4bfe
Fix int/size_t mismatch for sysctl arguments. Try not to introduce more
...
unsorting.
Reviewed by: bde (unsorted version)
2002-07-30 04:45:14 +00:00
bmah
18d94560ca
New release notes: ctags(1) -T, finger(1) -4/-6 (+MFC), various sh(1)
...
built-ins (most of which were MFC-ed).
Modified release notes: hw.pci.enable_io_modes sysctl
MFCs noted: ls(1) -m/-p/-x, rm(1) -v (marked as historic), sh(1) -C,
split(1) -a.
2002-07-30 04:32:14 +00:00
jake
d8a2beb660
Panic if the data cache has too many virtual colors (more than 2).
2002-07-30 04:19:07 +00:00
peter
6d477ea585
Use fchmod() to restore the tty modes.
2002-07-30 03:49:27 +00:00
jake
27afff05e2
Use _ALIGN_DATA and _ALIGN_TEXT.
2002-07-30 02:27:24 +00:00
rwatson
21b05d2669
Rebuild of files generated from syscalls.master.
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-30 02:09:24 +00:00
rwatson
fec973334a
Prototype function arguments, only with MAC-specific structures
...
replaced with void until we bring in the actual structure definitions.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-30 02:06:34 +00:00
rwatson
6d3a50a17c
Hook up kern_mac.c to the build.
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-30 02:04:56 +00:00
rwatson
6d23f2cbf6
Stubs for the TrustedBSD MAC system calls to permit TrustedBSD MAC
...
userland code to operate on kernel's from the main tree. Not much
in this file yet.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
2002-07-30 02:04:05 +00:00
tjr
6d20181e60
When translating and -C is specified, behave as if the complemented set was
...
in the locale collating order as required by SUSv3.
2002-07-29 23:42:00 +00:00
alc
478c0ba990
o Introduce vm_page_sleep_if_busy() as an eventual replacement for
...
vm_page_sleep_busy(). vm_page_sleep_if_busy() uses the page
queues lock.
2002-07-29 19:41:22 +00:00
julian
deb5624210
Remove a XXXKSE comment. the code is no longer a problem..
2002-07-29 18:47:19 +00:00
julian
6216c4b163
Create a new thread state to describe threads that would be ready to run
...
except for the fact tha they are presently swapped out. Also add a process
flag to indicate that the process has started the struggle to swap
back in. This will be needed for the case where multiple threads
start the swapin action top a collision. Also add code to stop
a process fropm being swapped out if one of the threads in this
process is actually off running on another CPU.. that might hurt...
Submitted by: Seigo Tanimura <tanimura@r.dl.itc.u-tokyo.ac.jp>
2002-07-29 18:33:32 +00:00
mike
9f0ddc464e
Create a new header <machine/_stdint.h> for storing MD parts of
...
<stdint.h>. Previously, parts were defined in <machine/ansi.h> and
<machine/limits.h>. This resulted in two problems:
(1) Defining macros in <machine/ansi.h> gets in the way of that
header only defining types.
(2) Defining C99 limits in <machine/limits.h> adds pollution to
<limits.h>.
2002-07-29 17:41:23 +00:00
mike
0bf99191f0
Don't depend on pollution in <machine/limits.h> (by way of
...
<sys/param.h>) for definition of <stdint.h> macros.
2002-07-29 17:09:21 +00:00
bmah
ab5264200e
New release notes: tr(1) equivalence classes (+MFC), tr(1) -C.
...
MFCs noted: Various new flags for who(1).
2002-07-29 16:01:09 +00:00
yar
856a7116df
Conform to RFC 959, Appendix II, when replying
...
to a successful MKD command.
MFC after: 1 week
2002-07-29 15:54:27 +00:00
imp
6d1a782a29
If we are in hostap mode, do not go into promisc mode. This causes
...
problems with the firmware and will result in a) poor performance and
b) the inability to associate certain types of cards (most notibly
cisco).
Idea obtained from OpenBSD, but I implemented it by clearing the
IFF_PROMISC flag rather than the refusing to honor it downstream.
2002-07-29 15:36:22 +00:00
tjr
fb4f03d256
When translating and the -c option is specified, handle the case where the
...
second string argument is more than one character in length in the way
required by SUSv3 (and the way GNU textutils and SVR4 do it).
2002-07-29 14:50:54 +00:00
ru
a8adf98c82
Drop support for COPY, -c has been the default mode of install(1)
...
for a long time now.
Approved by: bde
2002-07-29 09:40:17 +00:00
maxim
3a86ff2aeb
Use a common way to release locks before exit.
...
Reviewed by: hsu
2002-07-29 09:01:39 +00:00
ru
2a8927efce
Ignore -C, -p, and -S options of install(1) when used with the -d
...
option. Warn about COPY being phased out. Restore the old method
of always comparing before installing: INSTALL="install -C".
Requested by: bde
2002-07-29 08:51:04 +00:00
jeff
72f02df3c8
- Add VBAD to the list of vnodes that are ignored on locking operations.
2002-07-29 07:45:57 +00:00
murray
d463cb618d
Fix typo.
...
PR: docs/41091
MFC after: 1 day
2002-07-29 07:22:26 +00:00
jeff
5dce00d8f1
- Backout the patch made in revision 1.75 of vfs_mount.c. The vputs here
...
were hiding the real problem of the missing unlock in sync_inactive.
- Add the missing unlock in sync_inactive.
Submitted by: iedowse
2002-07-29 06:26:55 +00:00
alc
ca32cecfcf
o Pass VM_ALLOC_WIRED to vm_page_grab() rather than calling vm_page_wire()
...
in pmap_new_thread(), pmap_pinit(), and vm_proc_new().
o Lock page queue accesses by vm_page_free() in pmap_object_init_pt().
2002-07-29 05:42:44 +00:00
bmah
4eb45c7862
New release notes: wicontrol(8) -l/-L, traceroute 1.4a12.
...
Updated release note: tcsh-6.12.
2002-07-29 05:06:56 +00:00
mjacob
74b8087e82
Fix Makefiles to actually work.
2002-07-29 04:43:10 +00:00
silby
ff8661dd9d
Forced commit.
...
Rev 1.134 actually reverts rev 1.132, NOT rev 1.131.
2002-07-29 04:41:30 +00:00
silby
d14ee67c64
Revert rev 1.131.
...
1.131 is slightly broken, and I would commit the fix to that here, but it
has been reported that any deviation from the original code is causing
problems with some 82557 chips, causing them to lock hard.
Until those issues have been figured out, going back to the original
code is the best plan.
Frustrated: Silby
2002-07-29 04:32:35 +00:00
luigi
8f19c0d347
whitespace commit: fix indentation in fxp_intr_body.
...
This is also done in preparation of a subsequent fix
for the handling of RNR conditions in polling mode.
2002-07-29 02:48:09 +00:00
jake
082a6afc1c
Add routines needed for high resolution profiling.
2002-07-29 00:45:13 +00:00
jake
9511cbbc05
Add a symbol for btext.
2002-07-29 00:42:00 +00:00
jake
4461489ac6
Remove a stale comment.
2002-07-29 00:40:48 +00:00
jake
3ae3385f62
Use _ALIGN_TEXT. Implement __cyg_profile_func_enter and
...
__cyg_profile_func_exit for GUPROF.
2002-07-29 00:39:46 +00:00
jake
16fa260a5e
Add _ALIGN_DATA and _ALIGN_TEXT macros.
2002-07-29 00:38:07 +00:00
jake
fea62cdb6b
Remove some stuff that snuck in last commit.
2002-07-29 00:37:05 +00:00
fanf
1ae0b432fe
Use login_getpwclass() instead of login_getclass() so that the root
...
vs. default login class distinction is made correctly.
PR: 37416
Approved by: des
MFC after: 4 days
2002-07-29 00:36:24 +00:00
sos
830c1b765c
OK, dont rely on the upper layers handling iosize_max correctly,
...
instead rely on ATAPI devices ability to do the work instead.
MFC material.
2002-07-28 23:59:00 +00:00
alc
d0cb048dcb
o Modify vm_page_grab() to accept VM_ALLOC_WIRED.
2002-07-28 23:46:19 +00:00
des
403946d7ed
fetch(1) is WARNS-5 clean (tested on i386 and Alpha)
2002-07-28 21:09:57 +00:00
des
9413d584e7
Use strtol(3) instead of a home-grown version, and fix a "possibly
...
unitialized variable" warning.
2002-07-28 21:09:25 +00:00
truckman
dd733c95bc
Make a temporary copy of the output data in the generic sysctl handlers
...
so that the data is less likely to be inconsistent if SYSCTL_OUT() blocks.
If the data is large, wire the output buffer instead.
This is somewhat less than optimal, since the handler could skip the copy
if it knew that the data was static.
If the data is dynamic, we are still not guaranteed to get a consistent
copy since another processor could change the data while the copy is in
progress because the data is not locked. This problem could be solved if
the generic handlers had the ability to grab the proper lock before the
copy and release it afterwards.
This may duplicate work done in other sysctl handlers in the kernel which
also copy the data, possibly while a lock is held, before calling they call
a generic handler to output the data. These handlers should probably call
SYSCTL_OUT() directly.
2002-07-28 21:06:14 +00:00
alc
0cc69019ed
o Lock page queue accesses by vm_page_free().
...
o Apply some style fixes.
2002-07-28 20:13:48 +00:00
truckman
b1555a2743
Wire the sysctl output buffer before grabbing any locks to prevent
...
SYSCTL_OUT() from blocking while locks are held. This should
only be done when it would be inconvenient to make a temporary copy of
the data and defer calling SYSCTL_OUT() until after the locks are
released.
2002-07-28 19:59:31 +00:00
jake
5bd1876975
Fix a bug introduced in previous commit. Due to the interaction of the
...
direct physical mappings with virtual page colour, we need to flush the
data cache when a page changes colour. I missed one case which broke
pipes.
2002-07-28 19:15:34 +00:00