Commit Graph

82890 Commits

Author SHA1 Message Date
Marcel Moolenaar
d350feff2c Build the doc subdir on ia64. We have groff working for a while. 2002-11-10 00:04:33 +00:00
David Malone
eb9741e47d Various cleanups of truss:
1) Missing include.
2) Constness.
3) ANSIfication.
4) Avoid some shadowing.
5) Add/clarify some error messages.
6) Some int functions were using return without a value.
7) Mark some parameters as unused.
8) Cast a value we know is non-negative to a size_t before comparing.
2002-11-09 22:46:51 +00:00
David Malone
967706f308 Check if name is NULL before we strcmp the syscall name. This was
sometimes triggered if you began trussing a process while it was
in a syscall, as the name is filled in when the syscall is made.
2002-11-09 22:28:38 +00:00
Daniel C. Sobral
40276eb1ea Filling this file at last (now check when I first committed it and see how
long certain people take to return books...).

Still more to go.
2002-11-09 22:22:52 +00:00
Udo Erdelhoff
5434a672c5 MFbed: early-adopter/article.sgml 1.4 -> 1.5
hardware/Makefile			1.4   -> 1.5
	hardware/common/dev.sgml		1.112 -> 1.114
	hardware/ia64/article.sgml		1.1   -> 1.2
	installation/Makefile			1.4   -> 1.5
	installation/common/install.sgml	1.14  -> 1.15
	installation/common/trouble.sgml	1.6   -> 1.8
	relnotes/Makefile			1.4   -> 1.5
	relnotes/common/new.sgml		1.448 -> 1.448

and add all the new ia64 files.
2002-11-09 21:27:38 +00:00
Alan Cox
f6116791a2 Fix an error case in vm_map_wire(): unwiring of an entry during cleanup
after a user wire error fails when the entry is already system wired.

Reported by:	tegge
2002-11-09 21:26:49 +00:00
Mitsuru IWASAKI
2be7d43928 Add a new loader tunable, hw.hasbrokenint12, to indicate that BIOS
has broken int 12H.
If hw.hasbrokenint12="1" in loader environment, kernel never use BIOS
INT 12 call to determine base memory size.
Otherwise, kernel use INT 12 in old behaviour.
This should fix kernel panic problem caused by 1.544 changes.

MFC after:	1 day
2002-11-09 21:17:41 +00:00
David Malone
f41b3be72e #include <err.h> to make yes warns clean again. 2002-11-09 21:00:39 +00:00
Alfred Perlstein
a3f8cf2bbd Fix an unparenthasized macro argument. md5s differ but this is likely
to order of operations that are actually fixed by the proper parenthasizing.
2002-11-09 20:13:16 +00:00
Bruce A. Mah
306ced0dd0 The "bin" distribution is called "base" on 5.X.
While I'm here, note that details of a distribution may vary from
what's shown here.
2002-11-09 20:01:33 +00:00
Bruce A. Mah
b1dfc6f54e The "bin" distribution is called "base" on 5.0.
While I'm here, fix a spacing nit.
2002-11-09 19:57:19 +00:00
Bruce A. Mah
9a05b220d3 Add a warning against trying to do a binary upgrade from 4.X to 5.X. 2002-11-09 19:53:02 +00:00
Udo Erdelhoff
aea35e0a05 Change a forgotten wd to ad 2002-11-09 18:31:32 +00:00
Gordon Tetlow
59de601c12 By popular demand, make the debug log to syslog.
Remove an extraneous return too.
2002-11-09 17:34:21 +00:00
Matt Jacob
1bed78b9b4 Remove redundant lines.
Add to floppy3 if_tun && if_gif (ppp && something related to IPv6)

Add in mpt && ahc now that they are modules. Unknown as to whether they
work yet or not.
2002-11-09 17:11:24 +00:00
Matt Jacob
a385d43170 Remove lines that are redundant. 2002-11-09 17:09:45 +00:00
Dag-Erling Smørgrav
97b67f3141 Print real / avail memory in megabytes rather than kilobytes. 2002-11-09 16:19:14 +00:00
Alfred Perlstein
29f194457c Fix instances of macros with improperly parenthasized arguments.
Verified by: md5
2002-11-09 12:55:07 +00:00
Sebastien Gioria
e07c0ca6c8 common/dev.sgml : MFen 1.114
ia64/article.sgml : 	MFen 1.2
2002-11-09 11:32:41 +00:00
Tim J. Robbins
7183f43d95 Describe the n' and ps' arguments to mbrlen(). 2002-11-09 10:21:01 +00:00
Tim J. Robbins
f4937dbebc Typo: pointer to -> pointed to 2002-11-09 09:47:06 +00:00
Alan Cox
1f7c5f98d7 In vm_page_remove(), avoid calling vm_page_splay() if the object's memq
is empty.
2002-11-09 08:27:42 +00:00
Warner Losh
7b13078b41 Add devd to the mix. It should run basically last at this point.
# I've tested this, but only lightly, so please email me with problems.
2002-11-09 07:45:53 +00:00
Tim J. Robbins
490eeb06b4 Use wide character ctype functions directly instead of relying on
4.4BSD extensions to the single-byte ctype functions.
2002-11-09 05:19:08 +00:00
Tim J. Robbins
10acac81ab Add regression tests for mblen(), mbtowc(), wctomb(), mbstowcs() and
wcstombs(). These tests have already found two libc bugs.
2002-11-09 04:33:02 +00:00
Tim J. Robbins
39df93ae41 Add a missing return statement for the pwcs == NULL case (XSI extension). 2002-11-09 04:13:26 +00:00
Bruce A. Mah
0b77fb0c75 MFC noted: pathchk(1).
Un-MFC noted:  bzip2 packages.
2002-11-09 00:01:29 +00:00
Sam Leffler
9c0a8ace11 temporarily disallow FAST_IPSEC and INET6 to avoid potential panics;
will correct this before 5.0 release
2002-11-08 23:50:32 +00:00
Sam Leffler
e8539d32f0 FAST_IPSEC fixups:
o fix #ifdef typo
o must use "bounce functions" when dispatched from the protosw table

don't know how this stuff was missed in my testing; must've committed
the wrong bits

Pointy hat:	sam
Submitted by:	"Doug Ambrisko" <ambrisko@verniernetworks.com>
2002-11-08 23:37:50 +00:00
Sam Leffler
58fcadfc0f fixup FAST_IPSEC build w/o INET6 2002-11-08 23:33:59 +00:00
Sam Leffler
ab94ca3cec correct fast ipsec logic: compare destination ip address against the
contents of the SA, not the SP

Submitted by:	"Doug Ambrisko" <ambrisko@verniernetworks.com>
2002-11-08 23:11:02 +00:00
Sam Leffler
955630483b correct minor # in make_dev call
Submitted by:	Doug Ambrisko" <ambrisko@verniernetworks.com>
2002-11-08 23:07:41 +00:00
Sam Leffler
5a7294d14e change load order so module is present before crypto drivers
Submitted by:	Doug Ambrisko" <ambrisko@verniernetworks.com>
2002-11-08 23:07:03 +00:00
John Baldwin
69e58e12c3 - Move netsmb entries over to MI files. netsmb appears to be MI code.
- Add 'nowerror' to pci/simos.c to help LINT builds.
2002-11-08 22:33:14 +00:00
John Baldwin
6db27285f5 Print daddr_t's with %j and intmax_t. 2002-11-08 22:28:35 +00:00
Tony Finch
78c2665318 Clarify the unique groups scheme by mentioning that the 002 umask
is instead of the usual 022 umask, and explain that what the scheme
still prevents is unwanted changes, not prying eyes.

While I'm here, mess with the phrasing and line-breaks a bit.
2002-11-08 22:04:31 +00:00
John Baldwin
4ed3ce72b0 Fix some sizeof(int) != sizeof(void *) warnings. 2002-11-08 21:30:26 +00:00
John Baldwin
985cce5132 - Change mb_copy_t to take a size_t as the length argument instead of an
int.
- Change the local variable in smb_copy_iconv() from an int to a size_t.

These make smb_copy_iconv() happy in a 64-bit world.
2002-11-08 21:26:32 +00:00
John Baldwin
2274e4f83a Fix a sizeof(int) != sizeof(void *) warning. 2002-11-08 21:16:27 +00:00
John Baldwin
8214d60e20 Use intptr_t to fix various sizeof(int) != sizeof(void *) warnings. 2002-11-08 21:13:18 +00:00
John Baldwin
e068a87835 - Move opt_fb.h earlier so it covers included headers.
- Update cdevsw.  Block majors are out, kqfilters are in.
- No need to bzero softc's that we get from new-bus.  They come that way to
  begin with.
2002-11-08 21:10:53 +00:00
John Baldwin
7b3ac8969c Move include of opt_fb.h earlier so that FB_INSTALL_CDEV is defined in
included headers.
2002-11-08 21:04:44 +00:00
John Baldwin
3f57c87ebf Fix printf warnings with %j and uintmax_t. 2002-11-08 20:59:23 +00:00
John Baldwin
6f23bec893 Fix warnings when compiled with SIMOS defined. 2002-11-08 20:52:21 +00:00
Robert Watson
6d7bdc8def Assign value of NULL to imgp->execlabel when imgp is initialized
in the ELF code.  Missed in earlier merge from the MAC tree.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-08 20:49:50 +00:00
John Baldwin
845ee63965 Cast pointers in mem*_io() compat macros to uintptr_t so that they can be
used as bus handles by the bus_space functions implementing these macros.
2002-11-08 20:49:43 +00:00
John Baldwin
f6af4ff6cb Make 3dfx i386-only. The memrange API it uses may be defined in an MI
header, but it is only implemented on i386.
2002-11-08 20:04:38 +00:00
John Baldwin
787f149830 Move rc(4) over to MI notes and enable it as a MI module. 2002-11-08 19:34:26 +00:00
Bill Fenner
d5c24aa856 Fix two typos. 2002-11-08 19:10:05 +00:00
Robert Watson
52378b8acd To reduce per-return overhead of userret(), call into
mac_thread_userret() only if PS_MACPEND is set in the process AST mask.
This avoids the cost of the entry point in the common case, but
requires policies interested in the userret event to set the flag
(protected by the scheduler lock) if they do want the event.  Since
all the policies that we're working with which use mac_thread_userret()
use the entry point only selectively to perform operations deferred
for locking reasons, this maintains the desired semantics.

Approved by:	re
Requested by:	bde
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-11-08 19:00:17 +00:00