Commit Graph

144379 Commits

Author SHA1 Message Date
dsl
5f31eae781 nJobs and jobTokensRunning are both counting the same thing.
Kill nJobs and just use the count of tokens in use.
Don't eat job tokens when we are ignoring errors.
2006-03-15 20:33:19 +00:00
wiz
929e506267 Use more macros. 2006-03-15 20:08:24 +00:00
drochner
b68c2aadca use km_alloc to get wired kernel memory for kernel stacks
of idle processes for secondary CPUs
(affects the MULTIPROCESSOR case only - does this exist?)
(untested)
2006-03-15 18:31:11 +00:00
drochner
47fbb9d86b adapt to uvm_fault() interface cleanup: kill the useless 3rd argument 2006-03-15 18:12:02 +00:00
drochner
e10923fd37 -clean up the interface to uvm_fault: the "fault type" didn't serve
any purpose (done by a macro, so we don't save any cycles for now)
-kill vm_fault_t; it is not needed for real faults, and for simulated
 faults (wiring) it can be replaced by UVM internal flags
-remove <uvm/uvm_fault.h> from uvm_extern.h again
2006-03-15 18:09:25 +00:00
kleink
bc89c06cbf Add strtof(3) and strtold(3); welcome libc 12.137. 2006-03-15 17:35:17 +00:00
christos
aa346cafd7 Fix spelling (Jon Olsson) 2006-03-15 16:13:00 +00:00
drochner
94c70b92a9 Check the "oldlen" argument to sysctl(2) before passing it
to vslock(9). This prevents a local DOS.
(The checks against system and user limits for wired
memory should be centralized in UVM; for now prefer a less
invasive fix which can be pulled pulled up into releases.)
2006-03-15 16:12:07 +00:00
christos
23a74d17e2 New patch from Cory Bajus 2006-03-15 15:39:26 +00:00
gdt
e854a7f59c Add comments explaining how the 3 size variables for venus calls are
used.

Remove defect in size allocation for coda_readlink to avoid having
venus write outside malloced space by including pathname space before
allocation.

Add asserts that cred structure is non-NULL and non-FSCRED.

Check lwp against NULL before dereferencing it.

Assert that output pointer is non-NULL on a few venus returns.  This "can't
happen" but has been seen in crash dumps.

With these changes, the following work on a 345 MB coda volume.
(Before, a single invocation of tar or pax on this volume would
crash.)

$ for i in $(seq 1 10); do find . -type f -print0 |xargs -0 md5 > MD5.$i & done

Two copies of

$ for i in $(seq 1 10); do pax -w /coda/[redacted] >/dev/null & done


(lwp NULL check semi-reviewed by wrstuden@)
2006-03-15 14:30:56 +00:00
cube
daab1bf18c Move malloc calls outside of the block where a lock is held. 2006-03-15 11:36:42 +00:00
lukem
8fbf6b6747 The argument to ENVSYS_GTREDATA is envsys_tre_data_t not envsys_tre_data. 2006-03-15 11:23:30 +00:00
lukem
315ceca91a Update arguments to ENVSYS_GTREDATA, ENVSYS_STREINFO, and ENVSYS_GTREINFO
to use the typedef-equivalent and more generic envsys_tre_data_t
and envsys_basic_info_t types.
Per discussion on tech-kern in October-November 2005.
2006-03-15 11:22:23 +00:00
yamt
0c8e5d8d8f whitespace. 2006-03-15 11:10:41 +00:00
yamt
2ff5a7c85c m_copyback0: add comments and assertions. 2006-03-15 10:40:30 +00:00
cube
37b7f4fbd8 SA introduce a new case of siginfo structure. Be ready for it when the
time comes to support SA in COMPAT_NETBSD32 (which is soon).
2006-03-15 09:09:47 +00:00
he
95eaf7b1bc Bump SYMTAB_SPACE so that it fits again. 2006-03-15 08:47:43 +00:00
dogcow
8aacb40fba Rearrange the Dothan table a bit, and fix the 738 CPUID (6d6, not 6d8).
Move the voltage-level check into the cpu ID loop, since it seems that
CPUs with the same ID string and the same CPUID can have different voltage
levels. Thank you, Intel.
2006-03-15 01:31:20 +00:00
uwe
4030a5d7d5 Make this compile with WSKBD_DEBUG again. 2006-03-14 23:41:45 +00:00
wiz
7155c7cd89 gcc-4.0.3 out. 2006-03-14 23:38:33 +00:00
uwe
bf9317f643 Constify scancode translation table.
Print dv_xname when reporting unknown scancode.
2006-03-14 23:03:45 +00:00
christos
cff2dad821 add a tar target. 2006-03-14 22:59:43 +00:00
uwe
50e028653d Support WSDISPLAY_COMPAT_RAWKBD so that this keyboard is usable under X. 2006-03-14 22:59:32 +00:00
yamt
766d042b22 fix a typo in M_FLAGS_BITS. 2006-03-14 22:40:53 +00:00
cube
bc7a3a86a6 Add the sparc64 MD bits to get usable coredumps for COMPAT_NETBSD32
binaries.
2006-03-14 22:05:05 +00:00
cube
8db07ab1c5 Under COMPAT_NETBSD32 emulation, pointers are not the same size as the
native ones...  netbsd32_pointer_t can't be used here though, so uint32_t
is used instead, which is of course the same thing.
2006-03-14 22:03:39 +00:00
shige
ad1152f593 Using GPIO bus. 2006-03-14 21:59:12 +00:00
cube
7e4eb63d0d We really have EM_SPARC binaries in 32-bits mode, not EM_SPARC32PLUS.
And yes, we do have EM_SPARCV9 binaries in 64-bits mode.
2006-03-14 21:37:48 +00:00
bouyer
5dde2b7033 Welcome to 3.99.17: kfsfileop changed. 2006-03-14 20:57:07 +00:00
bouyer
59b64d6167 Allow optionnal /kern regular files to have custom read methods, the same
way writes are handled: Add KERNFS_XREAD and KERNFS_FILEOP_WRITE files
operations definitions to kfsfileop, a xread function pointer to
kernfs_fileop, rename kernfs_read to kernfs_default_xread and add a
kernfs_read calling kernfs_try_fileop(KERNFS_FILEOP_READ).

Proposed on tech-kern on Feb 18 2006.
2006-03-14 20:47:52 +00:00
christos
0c402ec936 provide a declaration for crypt(). Casting to char * will not work for
64 bit OS's.
2006-03-14 17:45:03 +00:00
christos
d7571e6e65 Make building work on NetBSD again [in this directory with the standard
Makefile]
2006-03-14 17:42:06 +00:00
tnozaki
10269f58df added be_BY.CP1251, ru_BY.CP1251, ru_RU.CP1251 locale.
requested by cheusov AT tut DOT by, thanks.
2006-03-14 16:16:44 +00:00
tsutsui
6b6bdb9538 Oops, fix botch in previous. 2006-03-14 15:33:11 +00:00
tsutsui
4b0dbc6b50 TAB/space cleanup. 2006-03-14 15:24:30 +00:00
chs
3b7a4338db use lockmgr() instead of bespoke code for mutual exclusion in fss_ioctl().
only take the lock when we actually need it (and particularly not for
unknown cmds that are just going to fail immediately).  fixes PR 33060.
2006-03-14 15:07:29 +00:00
martin
ae84301430 Let me play regression test dictator for just one day: document rules that
regression tests are supposed to follow.

XXX - none of the tests currently conform.
2006-03-14 09:46:34 +00:00
hubertf
398b14bc09 Document that sgimips boots too (and under which constraints) 2006-03-14 09:19:16 +00:00
chs
32d9a1dba7 regen 2006-03-14 04:49:00 +00:00
chs
bf841929a2 add an rlphy clone from IC Plus. from openbsd. 2006-03-14 04:48:44 +00:00
kent
a5025b9e3c - add AMD 8111 to supported devices.
- bump date
2006-03-14 04:31:17 +00:00
chs
4874774bde add nfe. 2006-03-14 04:21:48 +00:00
yamt
6bf35dc8ec bump NFS_MAXDGRAMDATA from 32k to 60k. (ie. near the protocol limit of udp.)
- it can help performance for some environments.
- administrators should be free to do silly things. :-)
2006-03-14 03:23:23 +00:00
christos
064fae4646 Apply patch from Cory Bajus for writing to the RTC 2006-03-14 02:52:48 +00:00
dsl
f26d89e3d9 JOB_FIRST is always set (since we only execute the shell once for every
target). Nuke it.
2006-03-13 20:35:09 +00:00
tnozaki
fd97f66c90 added missing UCS%CP*.mps files. 2006-03-13 20:02:01 +00:00
tnozaki
274950e65d added macintosh encodings(single-byte only). 2006-03-13 19:45:35 +00:00
christos
9d6d828103 regen 2006-03-13 16:30:41 +00:00
christos
6a955644f8 kern/33071: Dave J. Barnes: Recognize ADMtek ADM8515 USB2.0 Ethernet Converter 2006-03-13 16:29:58 +00:00
shige
ab1557fd3e Remove obsled devices (using old gpio framework). 2006-03-13 16:20:58 +00:00