Commit Graph

142551 Commits

Author SHA1 Message Date
elad
ef8e209a99 sync & sort kern. 2006-01-14 15:36:38 +00:00
he
8cb8cb286c Descend into man8.hpcarm so that hpcarm's boot(8) actually gets installed. 2006-01-14 13:40:10 +00:00
rillig
09151829d3 The tprintf_open function returns NULL if no terminal handle could be
acquired.
2006-01-14 13:08:18 +00:00
elad
48c362c085 add some more to kern. 2006-01-14 11:52:20 +00:00
elad
aa14ddaccd sort vm. 2006-01-14 11:18:45 +00:00
elad
455a40402f sync & sort hw. 2006-01-14 11:14:00 +00:00
elad
0fd32b39ab remove dup cnmagic. 2006-01-14 11:11:08 +00:00
yamt
468012e183 privcmd_ioctl: wrap IOCTL_PRIVCMD_INITDOMAIN_EVTCHN_OLD in #ifdef COMPAT_30. 2006-01-14 11:03:35 +00:00
elad
8ff7a54798 Sync and sort ddb, hw, kern, vm. 2006-01-14 10:33:11 +00:00
apb
cea5941d78 Two special files that both refer to the same device should be treated
as identical.

PR 30779
Approved by christos
2006-01-14 09:18:17 +00:00
yamt
77e5f3531a make ufsdirhash_pool static. 2006-01-14 09:09:39 +00:00
yamt
3a6eed1f58 pull freebsd's ufs_lookup.c rev.1.53 and 1.54. PR/31873.
> ----------------------------
> revision 1.54
> date: 2001/08/26 01:25:12;  author: iedowse;  state: Exp;  lines: +30 -12
> When compacting directories, ufs_direnter() always trusted DIRSIZ()
> to supply the number of bytes to be bcopy()'d to move an entry. If
> d_ino == 0 however, DIRSIZ() is not guaranteed to return a sensible
> length, so ufs_direnter could end up corrupting a directory during
> compaction. In practice I believe this can only happen after fsck_ffs
> has fixed a previously-corrupted directory.
>
> We now deal with any mid-block unused entries specially to avoid
> using DIRSIZ() or bcopy() on such entries. We also ensure that the
> variables 'dsize' and 'spacefree' contain meaningful values at all
> times. Add a few comments to describe better this intricate piece
> of code.
>
> The special handling of mid-block unused entries makes the dirhash-
> specific bugfix in the previous revision (1.53) now uncecessary,
> so this change removes it.
>
> Reviewed by:  mckusick
> ----------------------------
> revision 1.53
> date: 2001/08/22 01:35:17;  author: iedowse;  state: Exp;  lines: +2 -2
> When compressing directory blocks, the dirhash code didn't check
> that the directory entry was in use before attempting to find it
> in the hash structures to change its offset. Normally, unused
> entries do not need to be moved, but fsck can leave behind some
> unused entries that do. A dirhash sanity panic resulted when the
> entry to be moved was not found. Add a check that stops entries
> with d_ino == 0 from being passed to ufsdirhash_move().
2006-01-14 09:09:02 +00:00
yamt
cabee93abb nfs_doio_read: clear uio_resid when filling a hole. 2006-01-14 08:57:40 +00:00
itohy
690b61f41b - Fix panic when the DMA buffer is not 4byte aligned.
In this case, the transfer count becomes larger than the reality,
  and this fix works around it.

- Add missing bus_dmamap_unload() in attach failure path.
2006-01-14 07:14:45 +00:00
rpaulo
e7d4caee8a TLB is already in acronyms.comp. 2006-01-14 00:00:03 +00:00
peter
311ab8679d Add hpcarm/boot(8) manual page. 2006-01-13 23:32:26 +00:00
peter
ac703b5374 Add boot(8) manual page for NetBSD/hpcarm, based on hpcsh/boot(8).
PR port-hpcarm/21369.
2006-01-13 23:30:13 +00:00
peter
cf5fdbc38b Fix a typo. 2006-01-13 23:22:29 +00:00
christos
a6d61f6709 constify write prototype. 2006-01-13 22:32:10 +00:00
uwe
fb7bfe44d7 #include "opt_md.h" as this file uses MEMORY_DISK_* options. 2006-01-13 22:18:59 +00:00
uwe
f34d9a1d48 Oops, add copyright notice.
Nudged by peter@.
2006-01-13 22:16:21 +00:00
elad
3b0d736d23 oops - this should not have been commited. remove sugid_coredump line. 2006-01-13 21:10:34 +00:00
elad
742866cafe Sync net.{inet,inet6}. 2006-01-13 21:09:55 +00:00
wiz
a67c9be512 warnx appends a newline, so the string does not have to contain one.
Remove it.
2006-01-13 20:30:40 +00:00
christos
7d49bb5f04 Avoid buffer overflow in ioctl (from Karl Janmar) 2006-01-13 19:30:06 +00:00
elad
6aa189f3fb grrr... another space -> tab... 2006-01-13 18:45:47 +00:00
elad
7ddc0d80bd space -> tab 2006-01-13 18:44:51 +00:00
elad
0e7647e2dd Sync net.{inet,inet6,key} 2006-01-13 18:37:06 +00:00
wiz
1a0cee1a1d Replace NetBSD with Nx. 2006-01-13 17:45:36 +00:00
elad
abf2c3b1e3 add ATC. from Rhialto. 2006-01-13 16:50:31 +00:00
elad
87a445663d Add forgotten ')'. 2006-01-13 16:36:33 +00:00
tsutsui
a46df0d20b Don't use data in freed stack. 2006-01-13 16:36:25 +00:00
christos
e2786343af fix the mc68010 case. 2006-01-13 16:07:59 +00:00
chs
67a406aaae increase NKMEMPAGES_MAX_DEFAULT to 32 MB. this is needed on sun4m machines
with 512 MB of RAM, and it doesn't seem to cause any problems on sun4c.
2006-01-13 15:45:56 +00:00
tsutsui
4930ad54bc Note about ews4800mips. 2006-01-13 15:37:26 +00:00
chs
da9fe512b2 the esp driver has been working well with tagged queuing for
quite some time, remove the flags that disable it by default.
add a comment describing those flags.  ok'd by martin and andrey.
2006-01-13 15:15:19 +00:00
elad
f909cee7d7 PR/23688: don't say we're printing in 1k-blocks if -h was also specified. 2006-01-13 14:07:57 +00:00
christos
efe8347be7 treat /sbin/nologin specially. 2006-01-13 13:43:23 +00:00
elad
226d27021a add mode 0600 for open call with O_CREAT. 2006-01-13 10:06:10 +00:00
elad
9144e38e70 document port option; prompted by wiz@ :) 2006-01-13 09:34:46 +00:00
skrll
e68bcb6987 KNF a comment. 2006-01-13 08:43:11 +00:00
yamt
6af60103dc FSFMT: whitespace. 2006-01-13 00:50:58 +00:00
yamt
eaebcf6b5b ufsdirhash_build: yield cpu when looping on directory entries. 2006-01-13 00:50:25 +00:00
skrll
39aae79d93 Bring across a change from FreeBSD from back in 1998:
"Fix a bug that showed up when debugging dynamically linked programs.
References from GDB to "printf" and various other functions would
find the versions in the dynamic linker itself, rather than the
versions in the program's libc.  This fix moves the GDB link map
entry for the dynamic linker to the end of the search list, where
its symbols will be found only if they are not found anywhere else."

"printf" isn't true for us, but various libc symbols are, e.g. "malloc".

Fixes PR 32074 as noted by uwe@

OK'd by christos@
2006-01-12 22:40:17 +00:00
dsl
9fc0a7f722 Rework the installation loop so that it is possible to change the source
of the sets after an error.
A side effect is that it now does fetch-install-fetch-install..., not
fetch-...-fetch-install-...install.
The set selection code now uses a byte per set (not a bit-pattern) removing
the restriction of 32 sets, and allowing a per set status display (TBC).
Also TBC is deleting sets from /usr/INSTALL.
However I believe it works...
2006-01-12 22:02:44 +00:00
wiz
9277c02ebe New sentence, new line. Bump date for previous. 2006-01-12 21:54:06 +00:00
wiz
1f5df3a237 Bump date for -e. 2006-01-12 21:52:01 +00:00
wiz
ee0b10a017 Improve a sentence. 2006-01-12 21:49:11 +00:00
wiz
01db637894 Bump date for progress=n description change. 2006-01-12 21:42:11 +00:00
garbled
6a2b4183c2 Slight refinement of -t description. Note that it generates a template
with 8 X's.  Change .Bx Free and .Bx Open to .Ox and .Fx.
2006-01-12 21:39:45 +00:00