]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years ago - Add an event that is triggered when the system is low on memory. This is
Jeff Roberson [Thu, 21 Nov 2002 09:17:56 +0000 (09:17 +0000)]
 - Add an event that is triggered when the system is low on memory.  This is
   intended to be used by significant memory consumers so that they may drain
   some of their caches.

Inspired by: phk
Approved by: re
Tested on: x86, alpha

21 years ago - Move scheduler specific macros and defines out of proc.h
Jeff Roberson [Thu, 21 Nov 2002 09:14:13 +0000 (09:14 +0000)]
 - Move scheduler specific macros and defines out of proc.h

Approved by: re

21 years ago - Move FSCALE back to kern_sync. This is not scheduler specific.
Jeff Roberson [Thu, 21 Nov 2002 08:57:08 +0000 (08:57 +0000)]
 - Move FSCALE back to kern_sync.  This is not scheduler specific.
 - Create a new callout for lbolt and move it out of schedcpu().  This is not
   scheduler specific either.

Approved by: re

21 years agoRemove myself as maintainer of openssl; I no longer have enough time to
Kris Kennaway [Thu, 21 Nov 2002 08:48:08 +0000 (08:48 +0000)]
Remove myself as maintainer of openssl; I no longer have enough time to
devote to it.

21 years agoA number of people objected to make(1) being treated specially.
Ruslan Ermilov [Thu, 21 Nov 2002 08:36:01 +0000 (08:36 +0000)]
A number of people objected to make(1) being treated specially.

Approved by: re

21 years agoFix make buildkernel.
Warner Losh [Thu, 21 Nov 2002 07:21:45 +0000 (07:21 +0000)]
Fix make buildkernel.

These makefiles work when building in the sys/modules directory, but
not with the objdir stuff that buildkernel uses.  This is because they
used -I../../../blah rather than -I${.CURDIR}/../../../blah.

# I didn't fix the abuse of CFLAGS to specify -g since I wanted the
# barest minimal change since we're in a code freeze.

Approved by: make buildkernel...
Hat for armchair anarchists: core member fixing src tree damage

21 years agoTypo fix that I brought in rev 1.16
Giorgos Keramidas [Thu, 21 Nov 2002 01:51:21 +0000 (01:51 +0000)]
Typo fix that I brought in rev 1.16

21 years ago - Implement a mechanism for allowing schedulers to place scheduler dependant
Jeff Roberson [Thu, 21 Nov 2002 01:22:38 +0000 (01:22 +0000)]
 - Implement a mechanism for allowing schedulers to place scheduler dependant
   data in the scheduler independant structures (proc, ksegrp, kse, thread).
 - Implement unused stubs for this mechanism in sched_4bsd.

Approved by: re
Reviewed by: luigi, trb
Tested on: x86, alpha

21 years agoMake the bluetooth modules
Julian Elischer [Thu, 21 Nov 2002 00:40:11 +0000 (00:40 +0000)]
Make the bluetooth modules

Approved by: re

21 years agoPopulate with bluetooth includes
Julian Elischer [Thu, 21 Nov 2002 00:37:48 +0000 (00:37 +0000)]
Populate with bluetooth includes

21 years agoMake directory for bluetooth include files.
Julian Elischer [Thu, 21 Nov 2002 00:36:19 +0000 (00:36 +0000)]
Make directory for bluetooth include files.

21 years agoMake the bluetooth man pages appear
Julian Elischer [Thu, 21 Nov 2002 00:06:08 +0000 (00:06 +0000)]
Make the bluetooth man pages appear

21 years agoThe second try a committing the bluetooth code
Julian Elischer [Wed, 20 Nov 2002 23:01:59 +0000 (23:01 +0000)]
The second try a committing the bluetooth code
Has been seen to work on several cards and communicating with
several mobile phones to use them as modems etc.

We are still talking with 3com to try get them to allow us to include
the firmware for their pccard in the driver but the driver is here..
In the mean time
it can be downloaded from the 3com website and loaded using the utility
bt3cfw(8) (supplied) (instructions in the man page)

Not yet linked to the build

Submitted by: Maksim Yevmenkin <myevmenk@exodus.net>
Approved by: re

21 years agoActivate mac_biba.9
Chris Costello [Wed, 20 Nov 2002 22:28:20 +0000 (22:28 +0000)]
Activate mac_biba.9

Approved by: re
Sponsored by: DARPA, Network Associates Labs

21 years agoDocument the Biba MAC policy.
Chris Costello [Wed, 20 Nov 2002 22:26:58 +0000 (22:26 +0000)]
Document the Biba MAC policy.

Approved by: re
Sponsored by: DARPA, NAI Labs
Obtained from: TrustedBSD Project

21 years agoRemember to update the providers idea of its size when we reconfigure
Poul-Henning Kamp [Wed, 20 Nov 2002 20:12:52 +0000 (20:12 +0000)]
Remember to update the providers idea of its size when we reconfigure
a slice child.

Approved by: re

21 years agoMFbed: track changes in english version
Udo Erdelhoff [Wed, 20 Nov 2002 19:22:09 +0000 (19:22 +0000)]
MFbed: track changes in english version
hardware/common/dev.sgml: 1.114 -> 1.115
relnotes/common/new.sgml: 1.452 -> 1.453

Approved by: re

21 years agoMove fw_one_pass from ip_fw2.c to ip_input.c so that neither
Luigi Rizzo [Wed, 20 Nov 2002 19:07:27 +0000 (19:07 +0000)]
Move fw_one_pass from ip_fw2.c to ip_input.c so that neither
bridge.c nor if_ethersubr.c depend on IPFIREWALL.
Restore the use of fw_one_pass in if_ethersubr.c

ipfw.8 will be updated with a separate commit.

Approved by: re

21 years agoBack out some style changes. They are not urgent,
Luigi Rizzo [Wed, 20 Nov 2002 19:00:54 +0000 (19:00 +0000)]
Back out some style changes. They are not urgent,
I will put them back in after 5.0 is out.

Requested by: sam
Approved by: re

21 years agoBack out the ip_fragment() code -- it is not urgent to have it in now,
Luigi Rizzo [Wed, 20 Nov 2002 18:56:25 +0000 (18:56 +0000)]
Back out the ip_fragment() code -- it is not urgent to have it in now,
I will put it back in in a better form after 5.0 is out.

Requested by: sam, rwatson, luigi (on second thought)
Approved by: re

21 years agoDo not call the dumpconf method unless there is one.
Poul-Henning Kamp [Wed, 20 Nov 2002 18:10:42 +0000 (18:10 +0000)]
Do not call the dumpconf method unless there is one.
Compare pointers with NULL.

Partially submitted by: Christian Carstensen <cc@gate5.de>
Approved by: re

21 years agoBe more careful when parsing arguments.
Eric Melville [Wed, 20 Nov 2002 17:59:20 +0000 (17:59 +0000)]
Be more careful when parsing arguments.

PR: 45476
MFC after: 5 days

21 years agoMFC noted: trm driver.
Bruce A. Mah [Wed, 20 Nov 2002 17:17:11 +0000 (17:17 +0000)]
MFC noted:  trm driver.

Approved by: re (implicitly)

21 years agoIntroduce p_label, extensible security label storage for the MAC framework
Robert Watson [Wed, 20 Nov 2002 15:41:25 +0000 (15:41 +0000)]
Introduce p_label, extensible security label storage for the MAC framework
in struct proc.  While the process label is actually stored in the
struct ucred pointed to by p_ucred, there is a need for transient
storage that may be used when asynchronous (deferred) updates need to
be performed on the "real" label for locking reasons.  Unlike other
label storage, this label has no locking semantics, relying on policies
to provide their own protection for the label contents, meaning that
a policy leaf mutex may be used, avoiding lock order issues.  This
permits policies that act based on historical process behavior (such
as audit policies, the MAC Framework port of LOMAC, etc) can update
process properties even when many existing locks are held without
violating the lock order.  No currently committed policies implement use
of this label storage.

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

21 years agoreapply 1.26 through 1.28.
Alfred Perlstein [Wed, 20 Nov 2002 15:21:06 +0000 (15:21 +0000)]
reapply 1.26 through 1.28.

Approved by: re

21 years agoFix compile in the case of SMP defined but DDB not defined.
John Baldwin [Wed, 20 Nov 2002 14:09:33 +0000 (14:09 +0000)]
Fix compile in the case of SMP defined but DDB not defined.

Approved by: re (implicit, DP2 doesn't build w/o this)

21 years agoFix idle timeout bug, use correct current time of day.
David Xu [Wed, 20 Nov 2002 12:35:59 +0000 (12:35 +0000)]
Fix idle timeout bug, use correct current time of day.

21 years agoforgot about 5.x freeze, backout 1.26 through 1.28 pending re@ appoval.
Alfred Perlstein [Wed, 20 Nov 2002 10:53:06 +0000 (10:53 +0000)]
forgot about 5.x freeze, backout 1.26 through 1.28 pending re@ appoval.

21 years agoremove useless casts, unused macros and cleanup a line wrap.
Alfred Perlstein [Wed, 20 Nov 2002 10:13:04 +0000 (10:13 +0000)]
remove useless casts, unused macros and cleanup a line wrap.

21 years agocomment and untwist error return logic
Alfred Perlstein [Wed, 20 Nov 2002 10:06:51 +0000 (10:06 +0000)]
comment and untwist error return logic

21 years agoRemove an outdated comment complaining about exporting struct ucred
Alfred Perlstein [Wed, 20 Nov 2002 10:00:04 +0000 (10:00 +0000)]
Remove an outdated comment complaining about exporting struct ucred
to userspace, I fixed it a while ago.

21 years agoThe target for the maximum number of dependencies has been cut
Kirk McKusick [Wed, 20 Nov 2002 05:16:11 +0000 (05:16 +0000)]
The target for the maximum number of dependencies has been cut
in half because of reports that under heavy load the kernel could
exhaust its memory pool. The limit is now (desiredvnodes * 4)
rather than (desiredvnodes * 8), so it will still scale with
larger systems, just not as quickly.

Sponsored by:   DARPA & NAI Labs.

21 years agoIf an error occurs while writing a buffer, then the data will
Kirk McKusick [Wed, 20 Nov 2002 05:14:16 +0000 (05:14 +0000)]
If an error occurs while writing a buffer, then the data will
not have hit the disk and the dependencies cannot be unrolled.
In this case, the system will mark the buffer as dirty again so
that the write can be retried in the future. When the write
succeeds or the system gives up on the buffer and marks it as
invalid (B_INVAL), the dependencies will be cleared.

Sponsored by:   DARPA & NAI Labs.

21 years agoProperly handle UFS2 sparsely allocated inodes. Fix bug that caused
Kirk McKusick [Wed, 20 Nov 2002 02:13:32 +0000 (02:13 +0000)]
Properly handle UFS2 sparsely allocated inodes. Fix bug that caused
the error "quotacheck: bad inode number 1 to nextinode".

Sponsored by:   DARPA & NAI Labs.
Reported-by: Franky <franky@jasna.tarnow.pl> and Matthew Kolb <muk@msu.edu>

21 years agoFirst round to sync with the English version.
Jun Kuriyama [Tue, 19 Nov 2002 22:20:02 +0000 (22:20 +0000)]
First round to sync with the English version.

This patch sync'ed to 1.433 of the English version, but most of new
text are not yet translated.  More will be followed.

21 years agoMerge kld access control checks from the MAC tree: these access control
Robert Watson [Tue, 19 Nov 2002 22:12:42 +0000 (22:12 +0000)]
Merge kld access control checks from the MAC tree: these access control
checks permit policy modules to augment the system policy for permitting
kld operations.  This permits policies to limit access to kld operations
based on credential (and other) properties, as well as to perform checks
on the kld being loaded (integrity, etc).

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

21 years agoAdd entity references for cam(4), sn(4), awi(4).
Bruce A. Mah [Tue, 19 Nov 2002 21:34:35 +0000 (21:34 +0000)]
Add entity references for cam(4), sn(4), awi(4).

PR: 45489
Submitted by: Mark Linimon <linimon@lonesome.com>

21 years agoFix a couple of bewildering typos.
Bruce A. Mah [Tue, 19 Nov 2002 19:00:27 +0000 (19:00 +0000)]
Fix a couple of bewildering typos.

Pointed out by:  "Alexey V. Neyman" <alex.neyman@auriga.ru>
Approved by: re (implicitly)

21 years agoAdd a sysctl to control the generation of source quench packets,
Mike Silbersack [Tue, 19 Nov 2002 17:06:06 +0000 (17:06 +0000)]
Add a sysctl to control the generation of source quench packets,
and set it to 0 by default.

Partially obtained from: NetBSD
Suggested by: David Gilbert
MFC after: 5 days

21 years agocorrect function declarations of stubs used for building w/o device bpf
Sam Leffler [Tue, 19 Nov 2002 02:50:46 +0000 (02:50 +0000)]
correct function declarations of stubs used for building w/o device bpf

21 years agoAdd description of a number of "default" files that have been added
Greg Lehey [Tue, 19 Nov 2002 00:30:38 +0000 (00:30 +0000)]
Add description of a number of "default" files that have been added
over the last few years.

21 years agoAdd file for South African holidays.
Greg Lehey [Tue, 19 Nov 2002 00:29:36 +0000 (00:29 +0000)]
Add file for South African holidays.

Submitted by: Tony Harverson <Tony@epages.net>

21 years agoo Bring the NOTICE section into the DESCRIPTION section and wrap it in
Chris Costello [Mon, 18 Nov 2002 22:56:41 +0000 (22:56 +0000)]
o Bring the NOTICE section into the DESCRIPTION section and wrap it in
  .Bf -emphasis ... .Ef
o Grammar/spelling

Sponsored by: DARPA, NAI Labs

21 years agoFix the handling of high PLT entries (> 32764) on sparc64. This requires
Thomas Moestl [Mon, 18 Nov 2002 22:08:50 +0000 (22:08 +0000)]
Fix the handling of high PLT entries (> 32764) on sparc64. This requires
additional arguments to reloc_jmpslot(), which is why MI code and MD code
of other platforms had to be changed.

Reviewed by: jake
Approved by: re

21 years agoFixup FILES section to use proper width and to use a cross-reference to
John Baldwin [Mon, 18 Nov 2002 21:07:48 +0000 (21:07 +0000)]
Fixup FILES section to use proper width and to use a cross-reference to
devd(8).

21 years agoRemove leading ^ from example of match line in vendor-supplied rules since
John Baldwin [Mon, 18 Nov 2002 21:02:29 +0000 (21:02 +0000)]
Remove leading ^ from example of match line in vendor-supplied rules since
the ^ is implicit at the beginning of the expressions.

21 years agoDocument the KERNELS variable.
John Baldwin [Mon, 18 Nov 2002 20:31:35 +0000 (20:31 +0000)]
Document the KERNELS variable.

21 years agoWe leaked a process lock reference in the event an RFTHREAD process
Robert Watson [Mon, 18 Nov 2002 14:23:21 +0000 (14:23 +0000)]
We leaked a process lock reference in the event an RFTHREAD process
leader wasn't exiting during a fork; instead, do remember to release
the lock avoiding lock order reversals and recursion panic.

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

21 years agoMake sure only update wall clock at upcall time, slightly reformat
David Xu [Mon, 18 Nov 2002 12:28:15 +0000 (12:28 +0000)]
Make sure only update wall clock at upcall time, slightly reformat
code in kse_relase().

21 years agoAdd EXTLOCALDIR document.
Yoshihiro Takahashi [Mon, 18 Nov 2002 12:25:53 +0000 (12:25 +0000)]
Add EXTLOCALDIR document.

21 years agoExport NO_CPU_CFLAGS and NO_CPU_COPTFLAGS to chroot.
Yoshihiro Takahashi [Mon, 18 Nov 2002 11:16:44 +0000 (11:16 +0000)]
Export NO_CPU_CFLAGS and NO_CPU_COPTFLAGS to chroot.

21 years agoDon't move NFSCLIENT.
Yoshihiro Takahashi [Mon, 18 Nov 2002 11:03:29 +0000 (11:03 +0000)]
Don't move NFSCLIENT.

21 years agoCatch up with The Great Perl Script Rewrite.
Ruslan Ermilov [Mon, 18 Nov 2002 10:25:27 +0000 (10:25 +0000)]
Catch up with The Great Perl Script Rewrite.

21 years agoInstall /usr/libexec/makewhatis.local and /usr/libexec/catman.local.
Ruslan Ermilov [Mon, 18 Nov 2002 10:11:22 +0000 (10:11 +0000)]
Install /usr/libexec/makewhatis.local and /usr/libexec/catman.local.
This has slipped through the cracks of The Great Perl Script Rewrite.

Repocopied by: joe

21 years agolibc_r wasn't so tied to libc for 22 months.
Ruslan Ermilov [Mon, 18 Nov 2002 09:50:57 +0000 (09:50 +0000)]
libc_r wasn't so tied to libc for 22 months.

21 years agoAdd several new real categories and virtual categories.
Akinori MUSHA [Mon, 18 Nov 2002 09:33:56 +0000 (09:33 +0000)]
Add several new real categories and virtual categories.
[Those marked with an asterisk (*) are virtual categories]

- accessibility* : Ports to help disabled users

  PR: ports/39103
  Requested by: trevor

- finance : Monetary, financial and related applications

  PR: ports/39102
  Requested by: trevor

- haskell* : Software related to the Haskell language

  PR: ports/41959
  Requested by: obraun

- hungarian : Hungarian language support

  PR: ports/37576
  Requested by: Janos Mohacsi <janos.mohacsi@bsd.hu>

- multimedia : Multimedia software

  Requested by: many

- parallel* : pplications dealing with parallelism in computing

  PR: ports/39094
  Requested by: trevor

- portuguese : Portuguese language support

  PR: ports/35991
  Requested by: trevor

21 years agoCreate a link /boot -> /<efi>/boot, where <efi> is the mountpoint
Marcel Moolenaar [Mon, 18 Nov 2002 08:37:46 +0000 (08:37 +0000)]
Create a link /boot -> /<efi>/boot, where <efi> is the mountpoint
of the EFI file system. This makes the EFI partition non-optional.
I don't think that the links are actually correct, given that all
the mount points are under /mnt when sysinstall is run as init.
(ie a non-upgrade). Thus: I think I need to go in once more, but
at least this doesn't get lost...

21 years agoAdd mount_msdosfs to the crunch-mix. We need to be able to mount
Marcel Moolenaar [Mon, 18 Nov 2002 08:32:45 +0000 (08:32 +0000)]
Add mount_msdosfs to the crunch-mix. We need to be able to mount
the EFI partition, because we intend to link /boot to /efi/boot.

21 years ago - Wakeup the correct address when a zone is no longer full.
Jeff Roberson [Mon, 18 Nov 2002 08:27:14 +0000 (08:27 +0000)]
 - Wakeup the correct address when a zone is no longer full.

Spotted by: jake

21 years agoThis file has reincarnated as src/include/uuid.h with a whole new
Marcel Moolenaar [Mon, 18 Nov 2002 08:06:39 +0000 (08:06 +0000)]
This file has reincarnated as src/include/uuid.h with a whole new
future ahead of it.

21 years agolibc header files are normally in src/include. Therefore, uuid.h has
Marcel Moolenaar [Mon, 18 Nov 2002 07:34:56 +0000 (07:34 +0000)]
libc header files are normally in src/include. Therefore, uuid.h has
been repo-copied from src/lib/libc/uuid to src/include. Update the
makefiles.

While in src/include/Makefile, reformat and resort INCS. Reverting
the functional change only involves removing uuid.h.

Pompted by: ru

21 years agoAdd BUGS section and note departure of actual implementation from what
Warner Losh [Mon, 18 Nov 2002 07:16:47 +0000 (07:16 +0000)]
Add BUGS section and note departure of actual implementation from what
is documented so the pioneers will know why it works the way it does.

21 years agoCreate the ofwcons device at SI_SUB_CONFIGURE instead of SI_SUB_DRIVERS,
Jake Burkholder [Mon, 18 Nov 2002 06:19:12 +0000 (06:19 +0000)]
Create the ofwcons device at SI_SUB_CONFIGURE instead of SI_SUB_DRIVERS,
after configure() has run.  Only create the device if ofwcons is the
highest priority console.  Make a dev alias with the same name as the
firmware output-device property.

21 years agoMove SHOW_BUSYBUFS and PANIC_REBOOT_WAIT_TIME into the MI options file, since
Juli Mallett [Mon, 18 Nov 2002 06:17:07 +0000 (06:17 +0000)]
Move SHOW_BUSYBUFS and PANIC_REBOOT_WAIT_TIME into the MI options file, since
MI code uses them, and every platform provides them (except x86_64 whose
options file was lacking one).

Reviewed by: bde, rwatson

21 years agoSetup a default tty mode even if the device is not the console. Don't
Jake Burkholder [Mon, 18 Nov 2002 05:56:43 +0000 (05:56 +0000)]
Setup a default tty mode even if the device is not the console.  Don't
reset the chip on open if we're not the console.

This fixes running a getty on ttya or ttyb if console input and output
devices are screen.

21 years agoEverything in the disklabel is unsigned so make all the input routines
Julian Elischer [Mon, 18 Nov 2002 04:58:11 +0000 (04:58 +0000)]
Everything in the disklabel is unsigned so make all the input routines
take unsigned values.
his allows one to label disk with the number of blocks > 31 bits
(though less then 32 bits)

e.g.
#        size   offset fstype [fsize bsize bps/cpg]
  c: 3125755904  0   unused    0     0        # (Cyl.    0 - 194569*)
  d: 3125755840  64  unused    0     0        # (Cyl.    0*- 194569*)
which is needd to test UFS2

21 years agoRemove vm_page_protect(). Instead, use pmap_page_protect() directly.
Alan Cox [Mon, 18 Nov 2002 04:05:22 +0000 (04:05 +0000)]
Remove vm_page_protect().  Instead, use pmap_page_protect() directly.

21 years agoRemove some unnecessary code. Make the device description nicer. Add a
Jake Burkholder [Mon, 18 Nov 2002 04:02:42 +0000 (04:02 +0000)]
Remove some unnecessary code.  Make the device description nicer.  Add a
delay in the right place to flush output before switching consoles.

21 years agoRun configure at SI_SUB_THIRD instead of SI_SUB_ANY like other
Jake Burkholder [Mon, 18 Nov 2002 03:28:23 +0000 (03:28 +0000)]
Run configure at SI_SUB_THIRD instead of SI_SUB_ANY like other
architectures.

21 years agoDuring shutdown explain what the numbers following the 'syncing
Alfred Perlstein [Mon, 18 Nov 2002 02:41:03 +0000 (02:41 +0000)]
During shutdown explain what the numbers following the 'syncing
disks' message mean, specifically, 'buffers remaining...'.

21 years agoAdjust code for new mailbox format.
David Xu [Mon, 18 Nov 2002 02:02:08 +0000 (02:02 +0000)]
Adjust code for new mailbox format.

Reviewed by: deischen, mini

21 years ago1. Support versioning and wall clock in kse mailbox,
David Xu [Mon, 18 Nov 2002 01:59:31 +0000 (01:59 +0000)]
1. Support versioning and wall clock in kse mailbox,
   also add rusage time in thread mailbox.
2. Minor change for thread limit code in thread_user_enter(),
   fix typo in kse_release() last I committed.

Reviewed by: deischen, mini

21 years agoMFi386 r1.369
Alan Cox [Mon, 18 Nov 2002 01:36:09 +0000 (01:36 +0000)]
MFi386 r1.369
 - Clear the PG_WRITEABLE flag in pmap_changebit() if write access is
   being removed.  Return immediately if write access is being removed and
   PG_WRITEABLE is already clear.

Note: For efficiency, pmap_changebit() should be replaced by a function
similar to sparc64's pmap_clear_write().

21 years agoFlesh out the description of the uma_zcreate callback function arguements
Alfred Perlstein [Mon, 18 Nov 2002 01:11:58 +0000 (01:11 +0000)]
Flesh out the description of the uma_zcreate callback function arguements
a bit.  As there may be changes soon we're still a bit vague unfortunatly.

21 years agoDeal with the possibility that time_t != int32_t. Otherwise ia64 thought
Peter Wemm [Sun, 17 Nov 2002 23:50:41 +0000 (23:50 +0000)]
Deal with the possibility that time_t != int32_t.  Otherwise ia64 thought
the fs_old_size was the half part of fs_old_time etc.

21 years agoOops. Some ut_time stuff slipped through the cracks. These turned out
Peter Wemm [Sun, 17 Nov 2002 23:46:45 +0000 (23:46 +0000)]
Oops.  Some ut_time stuff slipped through the cracks.  These turned out
to be non-fatal due to stack alignment roundups.

21 years agoinclude smp.h.
Julian Elischer [Sun, 17 Nov 2002 23:26:42 +0000 (23:26 +0000)]
include smp.h.
it is required by some code that was commented out until david's
last commit.

21 years agoMFi386 r1.369
Alan Cox [Sun, 17 Nov 2002 21:48:42 +0000 (21:48 +0000)]
MFi386 r1.369
 - Clear the PG_WRITEABLE flag in pmap_page_protect() if write access is
   being removed.  Return immediately if write access is being removed and
   PG_WRITEABLE is already clear.

21 years agoAdd ${DESTDIR} forgotten in the previous commit.
Hiroki Sato [Sun, 17 Nov 2002 20:38:27 +0000 (20:38 +0000)]
Add ${DESTDIR} forgotten in the previous commit.

21 years agoUpgrade the root partition mount to r/w before trying to write to it.
Luigi Rizzo [Sun, 17 Nov 2002 20:19:34 +0000 (20:19 +0000)]
Upgrade  the root partition mount to r/w before trying to write to it.

MFC after: 3 days

21 years agoAdd a new translation and activate it:
Hiroki Sato [Sun, 17 Nov 2002 19:45:00 +0000 (19:45 +0000)]
Add a new translation and activate it:

1.2   -> 1.3   ja_JP.eucJP/Makefile
(new) -> 1.3   ja_JP.eucJP/early-adopter/Makefile
(new) -> 1.5   ja_JP.eucJP/early-adopter/article.sgml

21 years agoReplace m_copy() with m_copypacket() where applicable.
Luigi Rizzo [Sun, 17 Nov 2002 18:14:04 +0000 (18:14 +0000)]
Replace m_copy() with m_copypacket() where applicable.
Replace 0 with NULL where appropriate.
Fix indentation and function headers.

21 years agoFix function headers, remove 'register' from variable declarations.
Luigi Rizzo [Sun, 17 Nov 2002 18:13:02 +0000 (18:13 +0000)]
Fix function headers, remove 'register' from variable declarations.

21 years agoFix function headers and remove 'register' variable declarations.
Luigi Rizzo [Sun, 17 Nov 2002 17:04:19 +0000 (17:04 +0000)]
Fix function headers and remove 'register' variable declarations.

21 years agoUpdate SYNOPSIS to reflect the standardized header. Add STANDARDS
Mike Barcroft [Sun, 17 Nov 2002 16:34:07 +0000 (16:34 +0000)]
Update SYNOPSIS to reflect the standardized header.  Add STANDARDS
section.

PR: 43270

21 years agoMove the ip_fragment code from ip_output() to a separate function,
Luigi Rizzo [Sun, 17 Nov 2002 16:30:44 +0000 (16:30 +0000)]
Move the ip_fragment code from ip_output() to a separate function,
so that it can be reused elsewhere (there is a number of places
where it can be useful). This also trims some 200 lines from
the body of ip_output(), which helps readability a bit.

(This change was discussed a few weeks ago on the mailing lists,
Julian agreed, silence from others. It is not a functional change,
so i expect it to be ok to commit it now but i am happy to back it
out if there are objections).

While at it, fix some function headers and replace m_copy() with
m_copypacket() where applicable.

MFC after: 1 week

21 years ago1. Hide the internals of struct fd_set in standard namespaces.
Mike Barcroft [Sun, 17 Nov 2002 16:22:18 +0000 (16:22 +0000)]
1. Hide the internals of struct fd_set in standard namespaces.
2. Avoid referencing bcopy() and bzero(), since they may not be in
   scope.

Request by:     bde (1)
Submitted by:   wollman (2)
Reviewed by: archie, bde
PR: 43270

21 years agoMinor documentation changes and indentation fix.
Luigi Rizzo [Sun, 17 Nov 2002 16:13:08 +0000 (16:13 +0000)]
Minor documentation changes and indentation fix.

Replace m_copy() with m_copypacket() where applicable.

While at it, fix some function headers and remove 'register' from
variable declarations.

21 years agoCleanup some of the comments, and reformat long lines.
Luigi Rizzo [Sun, 17 Nov 2002 16:02:17 +0000 (16:02 +0000)]
Cleanup some of the comments, and reformat long lines.

Replace m_copy() with m_copypacket() where applicable.

Replace "if (a.s_addr ...)" with "if (a.s_addr != INADDR_ANY ...)"
to make it clear what the code means.

While at it, fix some function headers and remove 'register' from
variable declarations.

MFC after: 3 days

21 years ago- Add support for ALT_BREAK_TO_DEBUGGER; this is the only reliable way to
Jake Burkholder [Sun, 17 Nov 2002 16:00:51 +0000 (16:00 +0000)]
- Add support for ALT_BREAK_TO_DEBUGGER; this is the only reliable way to
  trigger a breakpoint with this chip.
- Fiddle the right bits in the cn input and output routines to disable port
  interrupts and enable visibility of the masked interrupt status bits.
- Register a shutdown final event handler to put the chip back in the mode
  that the prom expects.

21 years agoApply some fixups in the driver_t's.
Josef Karthauser [Sun, 17 Nov 2002 14:22:37 +0000 (14:22 +0000)]
Apply some fixups in the driver_t's.

Submitted by: akiyama
MFC after: 3 days

21 years agoUse a sysctl for controlling the debugging output.
Josef Karthauser [Sun, 17 Nov 2002 14:08:48 +0000 (14:08 +0000)]
Use a sysctl for controlling the debugging output.

Submitted by: akiyama

21 years agoSave a slice name on the disk and print it at g_pc98_dumpconf().
Yoshihiro Takahashi [Sun, 17 Nov 2002 13:56:37 +0000 (13:56 +0000)]
Save a slice name on the disk and print it at g_pc98_dumpconf().

21 years ago- Ease sanity check to get cylinders.
Yoshihiro Takahashi [Sun, 17 Nov 2002 13:51:22 +0000 (13:51 +0000)]
- Ease sanity check to get cylinders.
- Get the slice name from the result of kern.geom.conftxt.

21 years agoCopy from ${EXTLOCALDIR} to ${CHROOTDIR}/usr/local if EXTLOCALDIR is defined.
Yoshihiro Takahashi [Sun, 17 Nov 2002 13:35:12 +0000 (13:35 +0000)]
Copy from ${EXTLOCALDIR} to ${CHROOTDIR}/usr/local if EXTLOCALDIR is defined.

21 years agoFix a typo in a console message.
Josef Karthauser [Sun, 17 Nov 2002 13:33:55 +0000 (13:33 +0000)]
Fix a typo in a console message.

Submitted by: akiyama
MFC after: 3 days

21 years ago1.Add sysctls to control KSE resource allocation.
David Xu [Sun, 17 Nov 2002 11:47:03 +0000 (11:47 +0000)]
1.Add sysctls to control KSE resource allocation.
  kern.threads.max_threads_per_proc
  kern.threads.max_groups_per_proc
2.Temporary disable borrower thread stash itself as
  owner thread's spare thread in thread_exit(). there
  is a race between owner thread and borrow thread:
  an owner thread may allocate a spare thread as this:
if (td->td_standin == NULL)
td->standin = thread_alloc();
  but thread_alloc() can block the thread, then a borrower
  thread would possible stash it self as owner's spare
  thread in thread_exit(), after owner is resumed, result
  is a thread leak in kernel, double check in owner can
  avoid the race, but it may be ugly and not worth to do.

21 years agoRework last exiting thread in kse_release(), wait a signal and then
David Xu [Sun, 17 Nov 2002 10:12:00 +0000 (10:12 +0000)]
Rework last exiting thread in kse_release(), wait a signal and then
schedule an upcall and call thread_exit().

21 years agoFix a typo. Add FreeBSD ID in a %% comment.
Jens Schweikhardt [Sun, 17 Nov 2002 09:53:11 +0000 (09:53 +0000)]
Fix a typo. Add FreeBSD ID in a %% comment.

MFC after: 3 days

21 years ago - Release the imgp vnode prior to freeing exec_map resources to avoid
Jeff Roberson [Sun, 17 Nov 2002 09:33:00 +0000 (09:33 +0000)]
 - Release the imgp vnode prior to freeing exec_map resources to avoid
   deadlock.