156354 Commits

Author SHA1 Message Date
ad
3247035dcc Cast the return value of _lwp_unpark_all(), just in case. 2007-02-09 23:53:24 +00:00
ad
88cb6cb846 Acquire proclist_mutex before sending signals. 2007-02-09 23:51:20 +00:00
ad
a0f13ff82d - Exclude SA syscalls from LintSysNormal.c.
- Obsolete SA manual pages.
2007-02-09 23:48:27 +00:00
junyoung
931a89e75c Rearrange headers for better portability. 2007-02-09 23:44:18 +00:00
pooka
306e0025cf Implement "superreaddir". This issues a getattr for all the
directory entries already in readdir and caches the results instead
of waiting for each individial getattr from the kernel.  For
high-latency links the difference in "ls -l" is quite astounding
and even on my lan "ls -lR" is faster than for nfs in a normal
directory hierarchy (i.e. not one artifically setup to have thousands
of files per directory).

TODO: implement some sort of bandwidth/latency measurement in the
code and enable or disable this option based on than information
(and a command-line flag).
2007-02-09 23:36:17 +00:00
ad
c653ab50ef Welcome to NetBSD 4.99.10. 2007-02-09 23:31:00 +00:00
ad
a21c37097e Bump libpthread & libpthread_dbg minor versions so that an old SA copy
gets kept in the file system. Requested by pavel.
2007-02-09 23:00:16 +00:00
ad
f8e00f41e6 Change _lwp_unpark_all() to return a 'ssize_t'. 2007-02-09 22:54:19 +00:00
ad
6cb2f27bc7 Sync with changes introduced by merging the newlock2 branch. 2007-02-09 22:49:47 +00:00
christos
233898bdaa Only try free-ing a version of res if it is not supposed to be pre-inited
like before. Fixes issues with programs passing random uninitialized data
as res_state.
2007-02-09 22:29:40 +00:00
ad
34eaab26b0 Sync with changes introduced by merging the newlock2 branch. 2007-02-09 22:13:31 +00:00
ad
401499f30e Sync with kernel changes introduced by merging the newlock2 branch. 2007-02-09 22:08:48 +00:00
ad
b07ec3fc38 Merge newlock2 to head. 2007-02-09 21:55:00 +00:00
macallan
5c1aad3ad0 add a quirks entry for the DEC21140 found on UMAX E100 cards 2007-02-09 21:39:38 +00:00
macallan
688135d6b1 - don't call load-ata on PB3400 and similar machines - it occasionally
freaks out when a cardbus device is present.
  enable with options PB3400_CARDBUS_HACK
- add a hack to make the DEC 21140 found on UMAX E100 cards work, for some
  reason OF doesn't see it
  enable with options UMAX_E100_HACK
2007-02-09 21:37:49 +00:00
tron
da3cb8f550 Increase the number of raid(4) device node sets to four and the number
of wd(4) device node sets to eight. This fixes another problem
reported in PR port-amd64/35532
2007-02-09 21:17:11 +00:00
macallan
5314457521 gah, stupid typos 2007-02-09 21:15:54 +00:00
macallan
a64454b914 pass OF node and if known instance handle as device properties. Needed later
for a generic OpenFirmware framebuffer driver
2007-02-09 21:13:30 +00:00
macallan
94ed04fa15 don't hardcode inverted backlight levels needed on some macppc models 2007-02-09 21:12:00 +00:00
macallan
4909469d5d add a sysctl to turn off tapping to button event translation, same as in
ams
2007-02-09 21:07:37 +00:00
macallan
7044741d2d do a bus reset before looking for devices 2007-02-09 21:06:48 +00:00
hannken
f67846b19f Add support for Solaris ufsdump volumes with more than 512*1024 inodes.
Here the bitmaps are written as

	CLRI or BITS with c_count <= 512
	ADDR* for the remaining blocks

Remove the bitmap handling from getfile(), remove xtrmap() and xtrmapskip().
Add new function getbitmap() modeled after getfile() that does bitmap
allocation, bitmap expansion and sets maxino.

Reviewed by: Manuel Bouyer <bouyer@netbsd.org>
2007-02-09 09:36:02 +00:00
pooka
b2668f252f honor B_ASYNC 2007-02-09 08:53:51 +00:00
pooka
95700e9a12 assign value for strategy output parameter b_resid instead of decreasing it 2007-02-09 08:15:41 +00:00
hubertf
82105ff74f Make the output of 'list -n' aligned by always printing 8 hex digits.
Suggested by Nicolas Joly <njoly@pasteur.fr> in private mail.
2007-02-08 23:27:07 +00:00
pooka
692448474d If the file server doesn't support write, don't use genfs_null_putpages
for putpages, as it assumes a vnode doesn't have any pages.  For
mounts using the page cache this is simply not true.  Rather,
prevent opening a regular file in write-mode.  That way a vnode
can never have dirty pages which would need to be flushed (i.e.
written).
2007-02-08 22:55:06 +00:00
dillo
d096538b4a Fix typo. 2007-02-08 22:27:20 +00:00
drochner
628f1591c1 include <signal.h> where signal(3) is used 2007-02-08 21:36:58 +00:00
dbj
c888080e0e add some missing .debug files for acpidump, smldb, srtconfig
also fix my previous botch on lfs_cleanerd.debug moving
from /usr/libexec to /libexec
2007-02-08 20:42:51 +00:00
jdc
220cbf1395 First steps for working wscons on sun-4 class machines - recognise the
console keyboard and mouse on them.

We are not there yet because currently both wsdisplay and zstty assume
that they are the console.  On sun-4, zstty wins because it attaches
last and overwrites the console device that wscons had set previously.
2007-02-08 20:36:55 +00:00
jdc
3cb2b40395 Clarify the console checking comment. 2007-02-08 20:30:50 +00:00
ad
ab38c1f30e Add a quick hack to allow addressing over 2G sectors. XXX This driver
needs to be rewritten to use the scsipi layer. Additionally:

- Missing copyright years: 2000, 2001, 2002, 2003
- Missing attribution: Andrew Doran and Jason R. Thorpe
2007-02-08 18:47:21 +00:00
elad
5a6bb5eba2 remove empty line 2007-02-08 16:06:58 +00:00
tnozaki
a7bd6df304 backout rev1.3's change, this broke cp932 -> eucjp-ms conversion. 2007-02-08 15:48:18 +00:00
perry
851b2b6abe Add a missing "can". Update date. 2007-02-08 13:32:53 +00:00
njoly
8fbf55addb Regen (aliases cleanup). 2007-02-08 12:32:17 +00:00
njoly
fb1562ae0f Remove some aliases, for syscalls that use their netbsd32 equivalent.
This makes the ktrace output more consistent.

ok by manu.
2007-02-08 12:29:39 +00:00
dillo
8f94021d97 Mark up function arguments with .Fa, not .Fn; also, fix typo in
function argument.
2007-02-08 08:04:00 +00:00
elad
4a0f293388 revert previouses 2007-02-08 05:54:25 +00:00
junyoung
9641e3f094 ANSIfy. 2007-02-08 05:44:18 +00:00
pooka
f7a084b3b0 Nm the manual puffs instead of libpuffs 2007-02-08 05:24:36 +00:00
pooka
82b88def96 chuq shone arcane wisdom on me: b_bcount comes in, b_resid goes out 2007-02-08 05:09:25 +00:00
junyoung
19690e9aea Nuke __P. 2007-02-08 05:07:23 +00:00
pooka
b7a2d4ecbb Don't block and wait for file server response in case strategy is
run in pagedaemon context: it gives the file server way more control
over the fate of the entire kernel than what we're comfortable with.
2007-02-08 04:52:23 +00:00
elad
d261ef686a Plug leak "that can never happen". 2007-02-08 04:22:27 +00:00
tls
4977bdb149 Remove 'l'. Those who do not learn from history are doomed to repeat it. 2007-02-08 03:57:53 +00:00
riz
35ed82b748 Add disk-info properties to ld(4), based on Jason Thorpe's similar
code in wd(4).

OK ad, cube
2007-02-08 03:19:42 +00:00
elad
d1a83ca2d5 Add a comment indicating why this program is installed 0550, as suggested
by christos@. The comment reads:

	# This program is set 0550 because, as security(8) states, it has
	# the potential to deplete kernel memory, under certain conditions.
2007-02-08 02:59:51 +00:00
elad
db9dbd11ac Install paxctl(8) as 0550. 2007-02-08 02:25:44 +00:00
elad
83ec1c0544 Better intro to exploit mitigation features, also add a TOC for it. 2007-02-08 00:38:27 +00:00