Commit Graph

175709 Commits

Author SHA1 Message Date
cegger
f132fda3fe vmem_check_sanity: fix check to correctly detect even exactly duplicate spans. 2008-12-07 11:49:51 +00:00
ad
7ab182873b Add cpu_softintr_p() for assertions 2008-12-07 11:40:53 +00:00
mlelstv
1f5b658b8a Handle printing of _STR attribute with non-string data type gracefully. 2008-12-07 10:53:57 +00:00
tsutsui
7c0bf93c80 Note some recent user visible changes for www. 2008-12-07 10:34:52 +00:00
tsutsui
1377ae1cd6 amd64 GENERIC still has compat and file-system options
so it doesn't require installed modules yet.
2008-12-07 10:29:39 +00:00
hannken
7dbaf06e71 ffs_copyonwrite(): Only use si_snapblklist if it is already allocated.
ffs_snapshot_read(): Allow the kernel to read beyond file system size.

Persistent snapshots work again.

Should fix PR kern/37425: fss_snapshot_mount panic during fsck.
2008-12-07 10:01:09 +00:00
cegger
bb1d17f443 build fix: make i386 build again 2008-12-07 09:40:42 +00:00
mrg
a736f00a1c look for "portid" as well as "upa-portid", as seen on schizo. 2008-12-07 08:59:31 +00:00
mrg
4df93f9197 add INTMAP_IGN_SHIFT and INTIGN() macros for schizo support (from openbsd) 2008-12-07 08:56:10 +00:00
tsutsui
c6acb16540 Remove duplicated options FONT_GALLANT12x22. 2008-12-07 08:26:02 +00:00
tsutsui
6bebd690e9 Fix attach messages. (extra colons, misplaced newline etc.) 2008-12-07 08:24:26 +00:00
matt
5ef4b69613 Roundup to next megabyte and subtract 0xc0000000 2008-12-07 07:27:27 +00:00
matt
a7b983bf92 Map all of the kernel. 2008-12-07 07:15:03 +00:00
isaki
ebf3ebe713 Fix two typos in function name. 2008-12-07 05:15:21 +00:00
christos
6694d6b5ac add debug flag for cwd. 2008-12-07 04:50:15 +00:00
mhitch
b11961451a Fix timecounters using interval timers: amiga counters are not 32 bits,
so the tc_counter_mask needs to be set based on the interval timer.
Process cpu usage was returning negative or very large values.
2008-12-07 03:48:43 +00:00
cegger
2aa8aa0f8f Spans may never overlap. Overlapping spans mean memory corruption
when used by kmem(9), for example.
Do sanity checks to detect such spans on DEBUG kernels.
2008-12-07 02:21:04 +00:00
pgoyette
b6ef8a4ac6 Add fdopendir.html3 2008-12-07 01:46:06 +00:00
cegger
10de0e2b14 ddb: new 'show vmem' and 'show all vmems' commands.
Useful to inspect vmem(9) structures.
2008-12-07 00:51:15 +00:00
salo
74bbb8ef72 A very old patch sitting in my tree..
When rc scripts are started from interactive shell, be nice and when user
tries to start an unconfigured service, point him to rc.conf(5) and tell
him about the one* keyword.  Also be more user friendly when an unknown
argument is entered.

Example:

 # /etc/rc.d/cron start
 $cron is not enabled - see rc.conf(5).
 Use the following if you wish to perform the operation:
   /etc/rc.d/cron onestart

 # /etc/rc.d/cron nonsense
 /etc/rc.d/cron: unknown directive 'nonsense'.
 Usage: /etc/rc.d/cron [fast|force|one](start stop restart rcvar  status poll)


Inspired by discussion on tech-userlevel:

 http://mail-index.netbsd.org/tech-userlevel/2007/02/13/0010.html
 http://mail-index.netbsd.org/tech-userlevel/2007/02/13/0011.html
 http://mail-index.netbsd.org/tech-userlevel/2007/02/13/0012.html

Reminded about it and reviewed by <lukem>
2008-12-06 23:21:32 +00:00
christos
2b08d9050e uninitialized variable. 2008-12-06 23:18:36 +00:00
njoly
adf5b0a542 Regen for netbsd32_caddr_t removal. 2008-12-06 23:15:09 +00:00
njoly
e7377ec502 Cleanup; kill netbsd32_caddr_t use. 2008-12-06 23:14:03 +00:00
njoly
9321a67e19 Small setres{uid,gid} cleanup; there is no need to use a specific
handling for -1 uid values.
2008-12-06 23:01:32 +00:00
ober
dd55503e8f Initial APM support for Zaurus. Ported from OpenBSD by mjf@. 2008-12-06 22:12:36 +00:00
ober
23b6d86d41 Initial APM support for Zaurus. Ported from OpenBSD by mjf@ 2008-12-06 22:11:19 +00:00
ober
bcc03ff7a7 Initial apm support for Zaurus. Ported from OpenBSD by mjf@. 2008-12-06 22:10:41 +00:00
cube
f643a2a555 Mention that /etc/rc.d/x{dm,fs} moved to xetc and will thus appear as extra
files for MKX11=no update builds.
2008-12-06 20:23:38 +00:00
joerg
9a364d2ed3 Split ffs_freefile into a frontend for normal cylinder group and for
snapshot use. Adjust ffs_blkfree_common to get the fs instance passed
in, the original commit didn't account blocks in the snapshots
correctly. Assert that ffs_blkfree is used with the primary fs instance
and that ffs_checkfreefile is only used for snapshots. Move the bdwrite
from ffs_blkfree_common into the caller for symmetry. This creates a
redundant write of unmodified data for ffs_blkfree_snap if a double free
of a block happens.

Reviewed and tested by hannken@.
2008-12-06 20:05:55 +00:00
plunky
1bbd35ddef modify some SDP data parsing function names to avoid conflicts with similar
functions that are intended to be imported to libsdp.

(this will use the library routines when they are done)
2008-12-06 20:01:14 +00:00
mrg
bcb1925cba add LIBISCXX. if it is != "no", use ${CXX} instead of ${CC} to link
shared libraries.  use it for the one c++ library we have.

fixes PR#39936.
2008-12-06 19:32:05 +00:00
christos
448e9aef12 more compilation issues on amd64, where size_t != unsigned int. 2008-12-06 18:39:20 +00:00
wiz
859dc97d79 Move all subsections to main DESCRIPTION, noted by John Nemeth. 2008-12-06 14:17:43 +00:00
reinoud
ab146a4768 UDF_SHED_FREE state is now also handled by the state machine, so DO signal it.
Free'd up ecclines can now far more quicker be recycled.
2008-12-06 14:02:08 +00:00
wiz
b05af3b178 Fix some more mdoclint warnings.
Add commas in enumerations.
2008-12-06 13:30:35 +00:00
jnemeth
8c012591df add -t chrootdir to SYNOPSIS, mdoclint 2008-12-06 13:18:09 +00:00
cliff
41bfa2c41d add gemini pseudo-nic and support code. 2008-12-06 05:22:39 +00:00
tsutsui
8586c9700b - uppercase API
- add man page suffix
2008-12-06 04:45:05 +00:00
tsutsui
4bb074305d Mention fxp(4) hardware ip4csum-tx bug workaround. 2008-12-06 04:42:37 +00:00
jnemeth
482b1c26bf PR/40117 - Bug Hunting -- new line, new sentence; punctuation 2008-12-06 02:28:58 +00:00
wiz
0fd5c9fa8d Bump date for zaurus key combination. 2008-12-05 23:48:51 +00:00
njoly
14e966b9e0 Regen for getres{uid,gid} syscalls. 2008-12-05 23:31:54 +00:00
njoly
533a52241a Add getres{uid,gid} syscalls. 2008-12-05 23:30:19 +00:00
christos
ba7207e4b2 WARNS=4 2008-12-05 22:51:42 +00:00
ad
2df6131a64 Enable the faked ELF kernel by default, now that ksyms output works with
gdb. Makes it possible to do post-mortem debugging on a modular kernel.
2008-12-05 21:41:10 +00:00
ad
e91b9bcc27 Make the fake ELF object work with gdb.
- Output a .bss section and make all the symbols relative to it, instead
  of making them absolute.
- Output a single load section, no need for two.

'gdb /dev/ksyms' still doesn't work because ksyms doesn't do mmap yet.
2008-12-05 21:38:10 +00:00
cube
7f4672798d Invoke postinstall with the environment variable MAKE set up to the relevant
value, so that postinstall picks up correct values.
2008-12-05 19:02:54 +00:00
cube
6d69dde342 - Introduce a function get_makevar that will retrieve the values of a
specific set of user-derived variables, to be used in SOURCEMODE.
- In SOURCEMODE, generate the rc.d scripts xdm and xfs.
- Auto-detect if X11 sets are used (either through the value of MKX11 in
  SOURCEMODE, or by finding an xetc-xpecific file in sets mode).
- Ignore X11-specific rc.d scripts if X11 is not used.
2008-12-05 19:01:23 +00:00
cube
4292dea308 Move etc/rc.d/x{dm,fs} into xetc.tgz. 2008-12-05 18:56:47 +00:00
cube
4edff860d5 - Generate xdm and xfs depending on the value of X11FLAVOUR
- Only generate and install them for MKX11 builds
2008-12-05 18:55:22 +00:00