]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years ago- Document the chunk_name() function that replaces chunk_n[].
davidc [Mon, 11 Nov 2002 19:37:19 +0000 (19:37 +0000)]
- Document the chunk_name() function that replaces chunk_n[].
- Rearrange things a tiny bit.

21 years agoRemove parameter names from function prototypes (at least one collided
davidc [Mon, 11 Nov 2002 18:55:57 +0000 (18:55 +0000)]
Remove parameter names from function prototypes (at least one collided
with stdlib.h).

discussed with: phk

21 years agoRemove my 'pre-commit' on sa(4).
mjacob [Mon, 11 Nov 2002 16:56:40 +0000 (16:56 +0000)]
Remove my 'pre-commit' on sa(4).

21 years agoCorrect an assertion in the code to traverse the list of locks to find an
jhb [Mon, 11 Nov 2002 16:36:20 +0000 (16:36 +0000)]
Correct an assertion in the code to traverse the list of locks to find an
earlier acquired lock with the same witness as the lock currently being
acquired.  If we had released several earlier acquired locks after
acquiring enough locks to require another lock_list_entry bucket in the
lock list, then subsequent lock_list_entry buckets could contain only one
lock instance in which case i would be zero.

Reported by: Joel M. Baldwin <qumqats@outel.org>

21 years agoCapitalize the first letter of device descriptions
mux [Mon, 11 Nov 2002 15:26:08 +0000 (15:26 +0000)]
Capitalize the first letter of device descriptions
for consistency with the rest of the drivers.

21 years agoGarbage collect definition of M_MACOPVEC -- we no longer perform a
rwatson [Mon, 11 Nov 2002 14:15:58 +0000 (14:15 +0000)]
Garbage collect definition of M_MACOPVEC -- we no longer perform a
dynamic mapping of an operation vector into an operation structure,
rather, we rely on C99 sparse structure initialization.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoRemove extra #include<sys/vmmeter.h>.
cognet [Mon, 11 Nov 2002 13:57:50 +0000 (13:57 +0000)]
Remove extra #include<sys/vmmeter.h>.

21 years agoAdd Ian Freislich's excellent, BSD-licensed POP3 server
sheldonh [Mon, 11 Nov 2002 12:32:30 +0000 (12:32 +0000)]
Add Ian Freislich's excellent, BSD-licensed POP3 server
(ports/mail/popd) to the list of packages that should appear on CDROM1.

Approved by: re

21 years agokenv(1) is WARNS=6 clean.
mux [Mon, 11 Nov 2002 11:56:28 +0000 (11:56 +0000)]
kenv(1) is WARNS=6 clean.

21 years agoatomic_set_8 isn't MI. Instead, follow Jake's suggestions about
mjacob [Mon, 11 Nov 2002 11:50:03 +0000 (11:50 +0000)]
atomic_set_8 isn't MI. Instead, follow Jake's suggestions about
ZONE_LOCK.

21 years agoSort by floppy, type, driver name.
ru [Mon, 11 Nov 2002 11:44:57 +0000 (11:44 +0000)]
Sort by floppy, type, driver name.

21 years agoRemoved redundant entries (these are handled by drivers.conf).
ru [Mon, 11 Nov 2002 11:02:14 +0000 (11:02 +0000)]
Removed redundant entries (these are handled by drivers.conf).

21 years agoUpdate to match recent snp fixes.
tmm [Mon, 11 Nov 2002 10:59:28 +0000 (10:59 +0000)]
Update to match recent snp fixes.

Reviewed by: dd

21 years agoThe FIONREAD sysctl operates on an int *, not a size_t *.
tmm [Mon, 11 Nov 2002 10:56:57 +0000 (10:56 +0000)]
The FIONREAD sysctl operates on an int *, not a size_t *.

Reviewed by: dd

21 years agoDon't attempt to strip obsolete, non-existing, or commented out
ru [Mon, 11 Nov 2002 10:53:28 +0000 (10:53 +0000)]
Don't attempt to strip obsolete, non-existing, or commented out
options and devices.

21 years agoDeclare the snp ioctl()s to work on udev_t, since that is what they
tmm [Mon, 11 Nov 2002 10:45:31 +0000 (10:45 +0000)]
Declare the snp ioctl()s to work on udev_t, since that is what they
really do and dev_t is defined differently in kernel and userland.
Return a correctly formed udev from SNPGTTY.

Reviewed by: dd

21 years agoWarning fixes.
mux [Mon, 11 Nov 2002 10:28:44 +0000 (10:28 +0000)]
Warning fixes.

21 years agoWarning fix.
mux [Mon, 11 Nov 2002 10:17:01 +0000 (10:17 +0000)]
Warning fix.

21 years agoThere's no longer a P1003_1B option.
ru [Mon, 11 Nov 2002 10:15:03 +0000 (10:15 +0000)]
There's no longer a P1003_1B option.

21 years agoTabulate, sort.
ru [Mon, 11 Nov 2002 10:13:30 +0000 (10:13 +0000)]
Tabulate, sort.

21 years agoDon't override CWARNFLAGS in these Makefiles.
mux [Mon, 11 Nov 2002 10:11:59 +0000 (10:11 +0000)]
Don't override CWARNFLAGS in these Makefiles.

21 years agoRemove debugging printfs.
phk [Mon, 11 Nov 2002 10:08:46 +0000 (10:08 +0000)]
Remove debugging printfs.

21 years agoHandle the removal of CD9660 and NFSCLIENT options in drivers.conf.
ru [Mon, 11 Nov 2002 10:07:57 +0000 (10:07 +0000)]
Handle the removal of CD9660 and NFSCLIENT options in drivers.conf.
Removed duplicate entry from drivers.conf.

21 years agoDon't override CWARNFLAGS in this Makefile.
mux [Mon, 11 Nov 2002 10:07:18 +0000 (10:07 +0000)]
Don't override CWARNFLAGS in this Makefile.

21 years agoRemoved more redundant lines: amr, mlx, pcn, ahc and mpt are handled
ru [Mon, 11 Nov 2002 09:52:59 +0000 (09:52 +0000)]
Removed more redundant lines: amr, mlx, pcn, ahc and mpt are handled
by drivers.conf already.

21 years agoia64 ABI breaker:
marcel [Mon, 11 Nov 2002 08:11:44 +0000 (08:11 +0000)]
ia64 ABI breaker:
Don't force 16-byte alignment at run-time. Do it at compile-time.
This saves us the pointer fiddling by the setjmp functions and
reduces complexity. While here, increase the jmp_buf by 16 bytes
to an even 512 bytes. Coincidentally, due to the way alignment
was handled prior to this change, the jmp_buf has not changed in
size, but only in how the space is used. Prior to this change
the 16 bytes were reserved for enforcing alignment; now they are
reserved by us for future extensions.
Therefore, this ABI breaker is relatively save: the failure is
always an alignment trap.

21 years agoDon't free the current addrinfo list, or else a pointer to a freed
yar [Mon, 11 Nov 2002 07:31:48 +0000 (07:31 +0000)]
Don't free the current addrinfo list, or else a pointer to a freed
memory area would arise.  Only an addrinfo list from an earlier
call to getaddrinfo() should be freed there because it will be
substituted by the current list referenced by "res".

Reported by: John Long <fbsd1@pruam.com>
MFC after: 5 days

21 years ago - Clear the page's PG_WRITEABLE flag in the i386's pmap_changebit()
alc [Mon, 11 Nov 2002 05:17:34 +0000 (05:17 +0000)]
 - Clear the page's PG_WRITEABLE flag in the i386's pmap_changebit()
   if we're removing write access from the page's PTEs.
 - Export pmap_remove_all() on alpha, i386, and ia64.  (It's already
   exported on sparc64.)

21 years agoMBR slices are named the same on ia64 as they are on i386.
marcel [Mon, 11 Nov 2002 04:46:39 +0000 (04:46 +0000)]
MBR slices are named the same on ia64 as they are on i386.

21 years agoComment-out USB support. A kernel doesn't boot with it. Deal with it
marcel [Mon, 11 Nov 2002 01:50:10 +0000 (01:50 +0000)]
Comment-out USB support. A kernel doesn't boot with it. Deal with it
later.

21 years agoDouble the size of the EFI boot image. 5MB is not enough. The kernel
marcel [Mon, 11 Nov 2002 00:48:35 +0000 (00:48 +0000)]
Double the size of the EFI boot image. 5MB is not enough. The kernel
is not compressed.

21 years agoGiven that we have 3 places to document UUID related information,
marcel [Mon, 11 Nov 2002 00:29:01 +0000 (00:29 +0000)]
Given that we have 3 places to document UUID related information,
namely uuidgen(1), uuidgen(2) and uuid(3), the following division
has been choosen:
uuidgen(1) A description of the command line utility,
and other user oriented UUID information.
uuidgen(2) A mostly technical description of UUIDs.
uuid(3) A description of the functions and other
programmer oriented UUID information.

According to the division: add more technical contents.

Contributed by: Hiten Pandya <hiten@uk.FreeBSD.org>
Edited and enhanced: marcel

21 years agoAdd gerrold.limerick to the building process.
dcs [Sun, 10 Nov 2002 23:41:01 +0000 (23:41 +0000)]
Add gerrold.limerick to the building process.

21 years agoFinished at last.
dcs [Sun, 10 Nov 2002 23:37:25 +0000 (23:37 +0000)]
Finished at last.

21 years agoWrite the boot block to the first 16 sectors of all partitions, instead of
jake [Sun, 10 Nov 2002 21:07:29 +0000 (21:07 +0000)]
Write the boot block to the first 16 sectors of all partitions, instead of
always to the first 16 sectors of the disk.  The firmware reads the boot
code from a partition, defaulting to 'a' if none is specified, which only
corresponds to the first 16 sectors of the disk if 'a' is first.  Solaris
often makes the swap partition first, instead of the root partition, and
users expect to be able to do the same with freebsd as well.  This also
allows one to temporarily boot from another partition if the boot block
on the root partition gets scrambled somehow.

21 years agoA support for creating EFI partitions. This is required on ia64,
marcel [Sun, 10 Nov 2002 20:56:53 +0000 (20:56 +0000)]
A support for creating EFI partitions. This is required on ia64,
but not made conditional upon it.

21 years agoAdd efi to the list of types for which we need to return tha name.
marcel [Sun, 10 Nov 2002 20:53:10 +0000 (20:53 +0000)]
Add efi to the list of types for which we need to return tha name.
Also, return chunk type efi in case we find an EFI partition in
the GPT. We used to return FAT due to a lack of EFI type.

21 years agoAdd an efi chunk type. We need to be able to create an EFI partition
marcel [Sun, 10 Nov 2002 20:49:28 +0000 (20:49 +0000)]
Add an efi chunk type. We need to be able to create an EFI partition
on ia64, because that's where we need to put the loader and the
kernel.

21 years agoGeneral cleanup:
marcel [Sun, 10 Nov 2002 20:47:02 +0000 (20:47 +0000)]
General cleanup:
o  Remove all code guarded by !defined(__ia64__). This file is
   specifically written for ia64,
o  Handle the case when read_block() or write_block() fails. We
   don't want sysinstall(8) to signal a thumbs-up on error,
o  Set the starting (cyl,hd,sect) triple to 0xFFFFFF when either
   bios_hd or bios_sect is zero or the LBA us not representable
   with the triple. In that case automaticly initialize the
   ending triple with 0xFFFFFF as well,
o  Reindent Write_Int32() as it was different than the rest of
   the file,
o  Remove some unused variables that appeared to be used but
   were effectively useless.
o  Plug a memory leak: The second timne we read the MBR, we write
   out a modified block, but didn't free the memory after writing.
o  Replace d1->sector_size with 512 when we read/write the MBR.
   We ignore the sector size in cases we shouldn't but adhered to
   it in cases it would be wrong if the sector_size wasn't 512.

This file should eventually be rewritten to write out a GPT. For
now, a MBR will do...

21 years agoRemove inclusion of <sys/uuid.h>. We now include <sys/uuid.h> in
marcel [Sun, 10 Nov 2002 20:22:25 +0000 (20:22 +0000)]
Remove inclusion of <sys/uuid.h>. We now include <sys/uuid.h> in
<sys/gpt.h>. This avoids having to include both <sys/uuid.h> and
<uuid.h>, which is considered by your friendly committer to be
aestheticly displeasing (= ballyhoo barf barf :-)

21 years agoo Include <sys/uuid.h>. This avoids that applications such as
marcel [Sun, 10 Nov 2002 20:13:58 +0000 (20:13 +0000)]
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.

21 years agoChange the device path representation in libofw to use the full firmware
jake [Sun, 10 Nov 2002 19:17:36 +0000 (19:17 +0000)]
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

21 years agoa better solution to building FAST_IPSEC w/o INET6
sam [Sun, 10 Nov 2002 17:17:32 +0000 (17:17 +0000)]
a better solution to building FAST_IPSEC w/o INET6

Submitted by: Jeffrey Hsu <hsu@FreeBSD.org>

21 years agoAdd support for the Latin American and Caribbean IP address Regional
mike [Sun, 10 Nov 2002 16:58:56 +0000 (16:58 +0000)]
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

21 years agoLay claim to mpt for requesting pre-commit review.
mjacob [Sun, 10 Nov 2002 16:23:31 +0000 (16:23 +0000)]
Lay claim to mpt for requesting pre-commit review.

21 years agoUse atomic_set_8 on the us_freelist maps as they are not otherwise
mjacob [Sun, 10 Nov 2002 16:16:44 +0000 (16:16 +0000)]
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.

21 years agoAdd ports/lang/perl5 as a dependency of sgmlformat and openjade.
tmm [Sun, 10 Nov 2002 14:38:27 +0000 (14:38 +0000)]
Add ports/lang/perl5 as a dependency of sgmlformat and openjade.
Use openjade on all non-i386 platforms (not just alpha).

Reviewed by: -doc

21 years agoAdd cross references to mbrtowc(3) and wcrtomb(3).
tjr [Sun, 10 Nov 2002 11:14:58 +0000 (11:14 +0000)]
Add cross references to mbrtowc(3) and wcrtomb(3).

21 years agoAdd test cases for btowc() and wctob() in multibyte locales.
tjr [Sun, 10 Nov 2002 11:03:32 +0000 (11:03 +0000)]
Add test cases for btowc() and wctob() in multibyte locales.

21 years agoTest for the zero-length buffer bug corrected in mbrtowc.c revision 1.3.
tjr [Sun, 10 Nov 2002 10:50:42 +0000 (10:50 +0000)]
Test for the zero-length buffer bug corrected in mbrtowc.c revision 1.3.

21 years agoDon't check whether the first byte of the buffer is a null byte when
tjr [Sun, 10 Nov 2002 10:49:14 +0000 (10:49 +0000)]
Don't check whether the first byte of the buffer is a null byte when
the buffer has zero length (n == 0).

21 years agoDocument devd_enable.
imp [Sun, 10 Nov 2002 09:19:42 +0000 (09:19 +0000)]
Document devd_enable.

Submitted by: dougb

21 years agoAdd devd_enable
imp [Sun, 10 Nov 2002 09:13:31 +0000 (09:13 +0000)]
Add devd_enable

Submitted by: dougb

21 years agoMake bootable ISO images by either 1) extacting the EFI partition
marcel [Sun, 10 Nov 2002 09:12:42 +0000 (09:12 +0000)]
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.

21 years agoRestore Peter's version of static __sF. There's too much pain for it
imp [Sun, 10 Nov 2002 08:44:38 +0000 (08:44 +0000)]
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.

21 years agoWhen prot is VM_PROT_NONE, call pmap_page_protect() directly rather than
alc [Sun, 10 Nov 2002 07:12:04 +0000 (07:12 +0000)]
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().

21 years agoReplace {disable,enable}_intr() with critical_{enter,exit}().
mdodd [Sun, 10 Nov 2002 03:45:49 +0000 (03:45 +0000)]
Replace {disable,enable}_intr() with critical_{enter,exit}().

21 years agoMFbed to track changes in the english version:
ue [Sun, 10 Nov 2002 01:24:35 +0000 (01:24 +0000)]
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

21 years agoo Build truss on all architectures.
marcel [Sun, 10 Nov 2002 01:01:58 +0000 (01:01 +0000)]
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.

21 years agoPort to ia64. It builds, but usability is very limited.
marcel [Sun, 10 Nov 2002 00:59:13 +0000 (00:59 +0000)]
Port to ia64. It builds, but usability is very limited.

21 years agoBuild the doc subdir on ia64. We have groff working for a while.
marcel [Sun, 10 Nov 2002 00:04:33 +0000 (00:04 +0000)]
Build the doc subdir on ia64. We have groff working for a while.

21 years agoVarious cleanups of truss:
dwmalone [Sat, 9 Nov 2002 22:46:51 +0000 (22:46 +0000)]
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.

21 years agoCheck if name is NULL before we strcmp the syscall name. This was
dwmalone [Sat, 9 Nov 2002 22:28:38 +0000 (22:28 +0000)]
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.

21 years agoFilling this file at last (now check when I first committed it and see how
dcs [Sat, 9 Nov 2002 22:22:52 +0000 (22:22 +0000)]
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.

21 years agoMFbed: early-adopter/article.sgml 1.4 -> 1.5
ue [Sat, 9 Nov 2002 21:27:38 +0000 (21:27 +0000)]
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.

21 years agoFix an error case in vm_map_wire(): unwiring of an entry during cleanup
alc [Sat, 9 Nov 2002 21:26:49 +0000 (21:26 +0000)]
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

21 years agoAdd a new loader tunable, hw.hasbrokenint12, to indicate that BIOS
iwasaki [Sat, 9 Nov 2002 21:17:41 +0000 (21:17 +0000)]
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

21 years ago#include <err.h> to make yes warns clean again.
dwmalone [Sat, 9 Nov 2002 21:00:39 +0000 (21:00 +0000)]
#include <err.h> to make yes warns clean again.

21 years agoFix an unparenthasized macro argument. md5s differ but this is likely
alfred [Sat, 9 Nov 2002 20:13:16 +0000 (20:13 +0000)]
Fix an unparenthasized macro argument.  md5s differ but this is likely
to order of operations that are actually fixed by the proper parenthasizing.

21 years agoThe "bin" distribution is called "base" on 5.X.
bmah [Sat, 9 Nov 2002 20:01:33 +0000 (20:01 +0000)]
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.

21 years agoThe "bin" distribution is called "base" on 5.0.
bmah [Sat, 9 Nov 2002 19:57:19 +0000 (19:57 +0000)]
The "bin" distribution is called "base" on 5.0.

While I'm here, fix a spacing nit.

21 years agoAdd a warning against trying to do a binary upgrade from 4.X to 5.X.
bmah [Sat, 9 Nov 2002 19:53:02 +0000 (19:53 +0000)]
Add a warning against trying to do a binary upgrade from 4.X to 5.X.

21 years agoChange a forgotten wd to ad
ue [Sat, 9 Nov 2002 18:31:32 +0000 (18:31 +0000)]
Change a forgotten wd to ad

21 years agoBy popular demand, make the debug log to syslog.
gordon [Sat, 9 Nov 2002 17:34:21 +0000 (17:34 +0000)]
By popular demand, make the debug log to syslog.
Remove an extraneous return too.

21 years agoRemove redundant lines.
mjacob [Sat, 9 Nov 2002 17:11:24 +0000 (17:11 +0000)]
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.

21 years agoRemove lines that are redundant.
mjacob [Sat, 9 Nov 2002 17:09:45 +0000 (17:09 +0000)]
Remove lines that are redundant.

21 years agoPrint real / avail memory in megabytes rather than kilobytes.
des [Sat, 9 Nov 2002 16:19:14 +0000 (16:19 +0000)]
Print real / avail memory in megabytes rather than kilobytes.

21 years agoFix instances of macros with improperly parenthasized arguments.
alfred [Sat, 9 Nov 2002 12:55:07 +0000 (12:55 +0000)]
Fix instances of macros with improperly parenthasized arguments.

Verified by: md5

21 years agocommon/dev.sgml : MFen 1.114
gioria [Sat, 9 Nov 2002 11:32:41 +0000 (11:32 +0000)]
common/dev.sgml   :  MFen 1.114
ia64/article.sgml :  MFen 1.2

21 years agoDescribe the `n' and `ps' arguments to mbrlen().
tjr [Sat, 9 Nov 2002 10:21:01 +0000 (10:21 +0000)]
Describe the `n' and `ps' arguments to mbrlen().

21 years agoTypo: pointer to -> pointed to
tjr [Sat, 9 Nov 2002 09:47:06 +0000 (09:47 +0000)]
Typo: pointer to -> pointed to

21 years agoIn vm_page_remove(), avoid calling vm_page_splay() if the object's memq
alc [Sat, 9 Nov 2002 08:27:42 +0000 (08:27 +0000)]
In vm_page_remove(), avoid calling vm_page_splay() if the object's memq
is empty.

21 years agoAdd devd to the mix. It should run basically last at this point.
imp [Sat, 9 Nov 2002 07:45:53 +0000 (07:45 +0000)]
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.

21 years agoUse wide character ctype functions directly instead of relying on
tjr [Sat, 9 Nov 2002 05:19:08 +0000 (05:19 +0000)]
Use wide character ctype functions directly instead of relying on
4.4BSD extensions to the single-byte ctype functions.

21 years agoAdd regression tests for mblen(), mbtowc(), wctomb(), mbstowcs() and
tjr [Sat, 9 Nov 2002 04:33:02 +0000 (04:33 +0000)]
Add regression tests for mblen(), mbtowc(), wctomb(), mbstowcs() and
wcstombs(). These tests have already found two libc bugs.

21 years agoAdd a missing return statement for the pwcs == NULL case (XSI extension).
tjr [Sat, 9 Nov 2002 04:13:26 +0000 (04:13 +0000)]
Add a missing return statement for the pwcs == NULL case (XSI extension).

21 years agoMFC noted: pathchk(1).
bmah [Sat, 9 Nov 2002 00:01:29 +0000 (00:01 +0000)]
MFC noted:  pathchk(1).

Un-MFC noted:  bzip2 packages.

21 years agotemporarily disallow FAST_IPSEC and INET6 to avoid potential panics;
sam [Fri, 8 Nov 2002 23:50:32 +0000 (23:50 +0000)]
temporarily disallow FAST_IPSEC and INET6 to avoid potential panics;
will correct this before 5.0 release

21 years agoFAST_IPSEC fixups:
sam [Fri, 8 Nov 2002 23:37:50 +0000 (23:37 +0000)]
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>

21 years agofixup FAST_IPSEC build w/o INET6
sam [Fri, 8 Nov 2002 23:33:59 +0000 (23:33 +0000)]
fixup FAST_IPSEC build w/o INET6

21 years agocorrect fast ipsec logic: compare destination ip address against the
sam [Fri, 8 Nov 2002 23:11:02 +0000 (23:11 +0000)]
correct fast ipsec logic: compare destination ip address against the
contents of the SA, not the SP

Submitted by: "Doug Ambrisko" <ambrisko@verniernetworks.com>

21 years agocorrect minor # in make_dev call
sam [Fri, 8 Nov 2002 23:07:41 +0000 (23:07 +0000)]
correct minor # in make_dev call

Submitted by: Doug Ambrisko" <ambrisko@verniernetworks.com>

21 years agochange load order so module is present before crypto drivers
sam [Fri, 8 Nov 2002 23:07:03 +0000 (23:07 +0000)]
change load order so module is present before crypto drivers

Submitted by: Doug Ambrisko" <ambrisko@verniernetworks.com>

21 years ago- Move netsmb entries over to MI files. netsmb appears to be MI code.
jhb [Fri, 8 Nov 2002 22:33:14 +0000 (22:33 +0000)]
- Move netsmb entries over to MI files.  netsmb appears to be MI code.
- Add 'nowerror' to pci/simos.c to help LINT builds.

21 years agoPrint daddr_t's with %j and intmax_t.
jhb [Fri, 8 Nov 2002 22:28:35 +0000 (22:28 +0000)]
Print daddr_t's with %j and intmax_t.

21 years agoClarify the unique groups scheme by mentioning that the 002 umask
fanf [Fri, 8 Nov 2002 22:04:31 +0000 (22:04 +0000)]
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.

21 years agoFix some sizeof(int) != sizeof(void *) warnings.
jhb [Fri, 8 Nov 2002 21:30:26 +0000 (21:30 +0000)]
Fix some sizeof(int) != sizeof(void *) warnings.

21 years ago- Change mb_copy_t to take a size_t as the length argument instead of an
jhb [Fri, 8 Nov 2002 21:26:32 +0000 (21:26 +0000)]
- 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.

21 years agoFix a sizeof(int) != sizeof(void *) warning.
jhb [Fri, 8 Nov 2002 21:16:27 +0000 (21:16 +0000)]
Fix a sizeof(int) != sizeof(void *) warning.

21 years agoUse intptr_t to fix various sizeof(int) != sizeof(void *) warnings.
jhb [Fri, 8 Nov 2002 21:13:18 +0000 (21:13 +0000)]
Use intptr_t to fix various sizeof(int) != sizeof(void *) warnings.