Commit graph

89337 commits

Author SHA1 Message Date
Poul-Henning Kamp d6227ae71f Rework the "withering" mechanism:
Introduce g_wither_geom() to do the work in one single place.
2003-05-02 06:15:27 +00:00
Greg Lehey 5fb5b1b5ca check_drive: If we find an existing drive which is "up" or "down",
just return it.  Don't try to reinitialize it.  This should fix a
number of inconsistencies that some people encountered with "vinum
start".

PR:  30588
PR:  43475
2003-05-02 06:04:19 +00:00
Poul-Henning Kamp 82b53b8dc8 Rename g_slice_init() to the more appropriate g_slice_alloc() and give
it a g_slice_free() partner function.
2003-05-02 05:33:27 +00:00
Doug Barton 4b065e2ce1 Per previous announcement, remove the old version of the rc system.
All functionality from the previous system has been preserved, and
users should still customize their system boot with the familiar
methods, rc.conf, rc.conf.local, rc.firewall, sysctl.conf, etc.

Users who have customized versions of scripts that have been removed
should take great care when upgrading, since the compatibility code
that used those old scripts has also been removed.
2003-05-02 05:27:35 +00:00
Poul-Henning Kamp 516b02faf7 style improvement. 2003-05-02 05:26:47 +00:00
Poul-Henning Kamp 9dfffbc959 Get rid of trivial function g_destroy_event(). 2003-05-02 05:26:19 +00:00
Alan Cox 6be365253d Lock the vm_object when updating its shadow list. 2003-05-02 04:55:21 +00:00
Mike Silbersack d563b41e1f Add the M_FREELIST flag, which is used to detect whenever a
double free of a mbuf occurs and cause an immediate panic, rather
than allowing free list corruption to occur.

This code is trapped under INVARIANTS, so it should not cause any
change in default performance.

Reviewed by:	a bunch of people on -net
MFC after:	1 week
2003-05-02 03:43:40 +00:00
Alan Cox 4f7c7f6e23 Simplify the removal of a shadow object in vm_object_collapse(). 2003-05-02 03:00:21 +00:00
Greg Lehey b69195b182 White space changes. 2003-05-02 01:39:11 +00:00
Marcel Moolenaar ae3c9aff52 Unbreak alpha and ia64 builds. The previous change made the inclusion
of <machine/pc/bios.h> specific to i386 and added a conditional define
for BIOS_PADDRTOVADDR that depends on ISA_HOLE_START. The latter is
undefined on alpha and ia64. Since the former is defined the same on
both alpha and ia64, assume the ISA_HOLE_START dependent definition
is specific to amd64 and use the identity-mapping in all other cases.

This of course is getting uglier every day...
2003-05-02 01:36:27 +00:00
Thomas Moestl 8a85ba6c7e - Reduce the DVMA preallocation limit from 128kB to 32kB. 128kB were
quite excessive, and caused the available space to be used up too
  easily. The new limit should be a better estimation of how much the
  caller will need at most.
- Double the IOTSB size 64kB, for a DVMA area size of 64MB.

This should fix DMA problems on e450s and other large machines due
to DVMA space exhaustion, which were introduced in my last IOMMU
code revision in January.

Reported and tested by:	fenner
2003-05-02 01:21:37 +00:00
David E. O'Brien 3e7045591d fmt.c has a comparison between signed and unsigned that is unclear how
to properly fix.
2003-05-02 01:05:05 +00:00
Julian Elischer 13652e9578 remove old and inaccurate XXX comment. 2003-05-02 01:02:20 +00:00
Ruslan Ermilov ef584f5de1 Update for version 4.5 import. 2003-05-02 01:00:41 +00:00
Ruslan Ermilov 7a547773ab Re-enable building of Groff documentation; texinfo has just been
upgraded to version 4.5.
2003-05-02 00:55:52 +00:00
Ruslan Ermilov bc0a8ef662 Update for texinfo 4.5. 2003-05-02 00:51:24 +00:00
Ruslan Ermilov 854bdcd67c Merge texinfo 4.5 changes onto the trunk. 2003-05-02 00:50:59 +00:00
Ruslan Ermilov 1226daebc6 Use stock (FSF) version of this file. 2003-05-02 00:50:37 +00:00
Ruslan Ermilov 09ddbe20b3 This commit was generated by cvs2svn to compensate for changes in r114475,
which included commits to RCS files with non-trunk default branches.
2003-05-02 00:49:43 +00:00
Ruslan Ermilov 51c84d8830 This commit was generated by cvs2svn to compensate for changes in r114472,
which included commits to RCS files with non-trunk default branches.
2003-05-02 00:48:41 +00:00
Ruslan Ermilov a889f1983f Import of stripped down GNU texinfo 4.5 2003-05-02 00:48:41 +00:00
Julian Elischer b1ac98d8b2 Move the flag that indicates an idle thread from the KSE to the thread.
It was always referenced via the thread anyhow.

Reviewed by:	jhb (a LOOOOONG time ago)
2003-05-02 00:33:12 +00:00
David E. O'Brien 8705f13eab Quiet warnings about copyright[]. 2003-05-02 00:04:21 +00:00
David E. O'Brien cee22cbd29 Fix signed/unsigned mix comparisons involving sizeof. 2003-05-02 00:03:10 +00:00
Ruslan Ermilov 4edd10842c catman(1) sources now live elsewhere. 2003-05-01 23:48:11 +00:00
Ruslan Ermilov 157cd280a4 Update upgrade instructions. 2003-05-01 21:28:49 +00:00
John Baldwin 52c3844c7a Remove Giant from the setuid(), seteuid(), setgid(), setegid(),
setgroups(), setreuid(), setregid(), setresuid(), and setresgid() syscalls
as well as the cred_update_thread() function.
2003-05-01 21:21:42 +00:00
Mark Murray aaa2c2ab24 Trasmute moer "krb5" distibutions into "crypto". 2003-05-01 21:21:15 +00:00
Ruslan Ermilov 44b81f0f89 Removed all vestiges of KerberosIV. 2003-05-01 21:18:36 +00:00
John Baldwin f618f98fff Small style tweaks to some members of struct session and sigio to be more
consistent with other structures in this file.
2003-05-01 21:17:46 +00:00
John Baldwin 7d447c956b Initialize and destroy the struct proc mutex in the proc zone's init and
fini routines instead of in fork() and wait().  This has the nice side
benefit that the proc lock of any process on the allproc list is always
valid and sched_lock doesn't have to be used to test against PRS_NEW
anymore.
2003-05-01 21:16:38 +00:00
Ruslan Ermilov cbfe6d117c Style. 2003-05-01 21:10:37 +00:00
Poul-Henning Kamp 6a543b1031 Plug some memory-leaks. 2003-05-01 21:07:08 +00:00
Ruslan Ermilov dd2aac0249 For the time being, upgrade the whole Groff (to version 1.19),
but stop doing so again on the next __FreeBSD_version bump.
2003-05-01 20:41:03 +00:00
John Baldwin e0f7366574 Restore local changes accidentally lost in the last import.
Reviewed by:	njl
2003-05-01 20:40:03 +00:00
Ruslan Ermilov fd2f6a9b16 Fixed the MLINKS assignment style. 2003-05-01 20:35:30 +00:00
Poul-Henning Kamp 606402511a Remove the now obsolete geomidorname hack. 2003-05-01 20:32:24 +00:00
Tom Rhodes a460614661 Use the .Dl macro.
Discussed with:	mdoc(7) officer ru
2003-05-01 20:27:59 +00:00
Mark Murray 8edde085dd De-Kerberise (KerberosIV). KerberosIV is no longer present, and
remote backups can still be done with Kerberos authentication using
SSH and Kerberos 5.
2003-05-01 20:09:58 +00:00
John Baldwin 659be635a4 Fix a printf warning from the recent CAM changes. 2003-05-01 19:46:21 +00:00
Poul-Henning Kamp c8589ad169 Add a new flag, EV_CANCELED, and use it to make g_waitfor_event() return
EAGAIN if an event got canceled.
2003-05-01 19:43:52 +00:00
Ruslan Ermilov eb8c9e95a5 Do not attempt to build chkey(1) and newkey(8) if NOSECURE is defined.
Submitted by:	Marius Strobl <marius@alchemy.franken.de>
2003-05-01 19:43:01 +00:00
Ruslan Ermilov a52672e938 Build non-crypto telnet(1) and telnetd(8) if NO_OPENSSL is defined.
Submitted by:	Marius Strobl <marius@alchemy.franken.de>
2003-05-01 19:38:15 +00:00
Poul-Henning Kamp 2ab31b05ba When events on a reference is cancelled, check our doorstep first,
it might be an orphan.
2003-05-01 19:24:00 +00:00
Bruce A. Mah 6140afa7ab Add SATA Promise controllers to ata(4) section. 2003-05-01 19:11:08 +00:00
Bruce A. Mah ad80d02689 New release notes: ata(4) support for Promise SATA devices, CAM
supports huge devices, iir(4) update.

Other changes:  Add some <replaceable></replaceable> tags where
appropriate.
2003-05-01 19:09:54 +00:00
Tom Rhodes 7b98ad3005 State the fact that the range is twice the traditional RAND_MAX.
Add an EXAMPLES section.

PR:		48493
Submitted by:	Paul Herman <pherman@frenchfries.net> (original version)
2003-05-01 19:09:16 +00:00
Jacques Vidrine d05090827f Back out the `hiding' of strlcpy and strlcat. Several people
vocally objected to this safety belt.
2003-05-01 19:03:14 +00:00
John Baldwin 9501b60383 Catch up to reworked debugging levels in latest Intel import. 2003-05-01 18:51:43 +00:00