Commit Graph

82910 Commits

Author SHA1 Message Date
Marcel Moolenaar
c7c8cf8b2e o Include <sys/uuid.h>. This avoids that applications such as
gpt(8) have to include both <sys/uuid.h> and <uuid.h> only
   because they include <sys/gpt.h> before <uuid.h>.
o  Drop the triple bang in the unicode comment in favor of
   adding '-16' to make it explicit that the unicode characters
   are 16-bit. The fact that we use short as the type of the
   array does give it away; but only to the careful reader.
2002-11-10 20:13:58 +00:00
Jake Burkholder
de0acbf78f Change the device path representation in libofw to use the full firmware
path, instead of an internal i386 specific one.  Don't try to interpret
a disklabel in ofw_disk.c, open the partition's device node directly and
let the firmware do it.  This fixes booting from a partition other than 'a'
on sparc64, which is needed to support more installation methods.

No objection:	ppc
2002-11-10 19:17:36 +00:00
Sam Leffler
6f0d017cf4 a better solution to building FAST_IPSEC w/o INET6
Submitted by:	Jeffrey Hsu <hsu@FreeBSD.org>
2002-11-10 17:17:32 +00:00
Mike Barcroft
a5d96e6d20 Add support for the Latin American and Caribbean IP address Regional
Registry (LACNIC) with the -l option and support for recursive IP
address searches.

PR:		44448
Submitted by:	David Wolfskill <david@catwhisker.org>
MFC after:	1 week
2002-11-10 16:58:56 +00:00
Matt Jacob
95af37edb5 Lay claim to mpt for requesting pre-commit review. 2002-11-10 16:23:31 +00:00
Matt Jacob
7ca05a39c7 Use atomic_set_8 on the us_freelist maps as they are not otherwise
protected. Furthermore, in some RISC architectures with no normal
byte operations, the surrounding 3 bytes are also affected by the
read-modify-write that has to occur.
2002-11-10 16:16:44 +00:00
Thomas Moestl
4b8dd6b2d0 Add ports/lang/perl5 as a dependency of sgmlformat and openjade.
Use openjade on all non-i386 platforms (not just alpha).

Reviewed by:	-doc
2002-11-10 14:38:27 +00:00
Tim J. Robbins
b18146b4c2 Add cross references to mbrtowc(3) and wcrtomb(3). 2002-11-10 11:14:58 +00:00
Tim J. Robbins
85fafcf803 Add test cases for btowc() and wctob() in multibyte locales. 2002-11-10 11:03:32 +00:00
Tim J. Robbins
99eabcc8c3 Test for the zero-length buffer bug corrected in mbrtowc.c revision 1.3. 2002-11-10 10:50:42 +00:00
Tim J. Robbins
2f5154a2c1 Don't check whether the first byte of the buffer is a null byte when
the buffer has zero length (n == 0).
2002-11-10 10:49:14 +00:00
Warner Losh
e8ef497c66 Document devd_enable.
Submitted by: dougb
2002-11-10 09:19:42 +00:00
Warner Losh
4cb1a7dfa3 Add devd_enable
Submitted by: dougb
2002-11-10 09:13:31 +00:00
Marcel Moolenaar
89d0068681 Make bootable ISO images by either 1) extacting the EFI partition
we created for the boot floppy, or 2) construct an EFI partition
by copying bits from /boot. The first approach creates a bootable
CD image that loads a memory disk and starts sysinstall, the second
approach creates a generic bootable CD.
2002-11-10 09:12:42 +00:00
Warner Losh
c906b66373 Restore Peter's version of static __sF. There's too much pain for it
to be static for 5.0.  I may remove this for 5.1 or 5.2.  No more
binaries or libarires will be generated with __sF starting as of
yesterday.  Originally the plan had been to eliminate this for 5.0,
but we didn't get the __std{in,out,err}p changes merged into -stable
until yesterday (rather than in September 2001 like it should have
been).  Given that didn't happen on time, we can't do the other part
of the scheme now.

# Please do not change this without talking to me first.
2002-11-10 08:44:38 +00:00
Alan Cox
d154fb4fe6 When prot is VM_PROT_NONE, call pmap_page_protect() directly rather than
indirectly through vm_page_protect().  The one remaining page flag that
is updated by vm_page_protect() is already being updated by our various
pmap implementations.

Note: A later commit will similarly change the VM_PROT_READ case and
eliminate vm_page_protect().
2002-11-10 07:12:04 +00:00
Matthew N. Dodd
f5464126bb Replace {disable,enable}_intr() with critical_{enter,exit}(). 2002-11-10 03:45:49 +00:00
Udo Erdelhoff
e7bc2035e9 MFbed to track changes in the english version:
installation/common/layout.sgml:	1.5   -> 1.6
installation/common/upgrade.sgml:	1.7   -> 1.9
relnotes/common/new.sgml:		1.449 -> 1.450
2002-11-10 01:24:35 +00:00
Marcel Moolenaar
cfad5290a0 o Build truss on all architectures.
o  xlint is still excluded from the ia64 build, but now in a way
   that doesn't corrupt ordering for other platforms.
2002-11-10 01:01:58 +00:00
Marcel Moolenaar
a3e32192a5 Port to ia64. It builds, but usability is very limited. 2002-11-10 00:59:13 +00:00
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