]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoUse new ID scheme.
Mike Barcroft [Thu, 21 Feb 2002 02:17:57 +0000 (02:17 +0000)]
Use new ID scheme.

Fix env(1)'s exit status to conform with SUSv3.

Submitted by: Tim Robbins <tim@robbins.dropbear.id.au>
MFC after: 2 weeks

22 years agoFix a problem where a local loop disk logs out- and we get a PORT LOGGED
Matt Jacob [Thu, 21 Feb 2002 01:56:08 +0000 (01:56 +0000)]
Fix a problem where a local loop disk logs out- and we get a PORT LOGGED
OUT status. We are, apparently, required to force the f/w to log back in
if we want to try and talk to that disk again. This means either issuing
a LOGIN LOCAL LOOP PORT mailbox command, or by issuing a LIP. I've elected
to issue a LIP because this has a better chance of waking up the disk which
clearly just crashed and burned.

These should not occur at all. If they do, they should be darned rare.

MFC after: 1 week

22 years agoCommit some infrastructure for turning on -Werror for kernel compiles.
Peter Wemm [Wed, 20 Feb 2002 23:35:56 +0000 (23:35 +0000)]
Commit some infrastructure for turning on -Werror for kernel compiles.
It doesn't actually do it yet though.  This adds a flag to config so
that we can exclude certain vendor files from this even when the rest
of the kernel has it on.  make -DNO_WERROR would also bypass all of it.

22 years agoMFen (1.281 --> 1.283).
Jun Kuriyama [Wed, 20 Feb 2002 22:41:10 +0000 (22:41 +0000)]
MFen (1.281 --> 1.283).

22 years agoOops, used wrong error value for unimplemented syscalls.
Julian Elischer [Wed, 20 Feb 2002 22:27:09 +0000 (22:27 +0000)]
Oops, used wrong error value for unimplemented syscalls.

22 years agoPass me the pointy hat please. Be sure to return a value in a non-void
Peter Wemm [Wed, 20 Feb 2002 22:25:54 +0000 (22:25 +0000)]
Pass me the pointy hat please.  Be sure to return a value in a non-void
function.  I've been running with this buried in the mountains of compiler
output for about a month on my desktop.

22 years agoTidy up some unused variables
Peter Wemm [Wed, 20 Feb 2002 21:25:44 +0000 (21:25 +0000)]
Tidy up some unused variables

22 years agoPrefix structure members to protect them against clashes with eg.
Alfred Perlstein [Wed, 20 Feb 2002 20:47:21 +0000 (20:47 +0000)]
Prefix structure members to protect them against clashes with eg.
c++ keywords.

This keeps us in sync with NetBSD because they actually committed
my delta first.

Ok'd by: lennard

22 years agoCleanup of nmdm device
Julian Elischer [Wed, 20 Feb 2002 20:13:13 +0000 (20:13 +0000)]
Cleanup of nmdm device

22 years agoAllow for better control over the GCC front-end when building a cross
David E. O'Brien [Wed, 20 Feb 2002 19:41:54 +0000 (19:41 +0000)]
Allow for better control over the GCC front-end when building a cross
compiler.

* Undo the diking out of cross compiler logic from gcc.c rev 1.16.
* Add the `CROSS_STARTFILE_PREFIX' knob.
* Add our own definition of `STANDARD_INCLUDE_DIR'.  This should have been
  included in freebsd-native.h rev 1.5.
* Minimize a little bit more, things we dike out in the FREEBSD_NATIVE case.

Submitted by: ru & obrien

22 years agoMF4S: Fix typo in mention of sbniconfig port.
Bruce A. Mah [Wed, 20 Feb 2002 19:25:03 +0000 (19:25 +0000)]
MF4S:  Fix typo in mention of sbniconfig port.

22 years agoAdd missing m_free() so we actually drain the send buffer in monitor mode.
Brooks Davis [Wed, 20 Feb 2002 18:23:59 +0000 (18:23 +0000)]
Add missing m_free() so we actually drain the send buffer in monitor mode.

Submitted by: Kenjiro Cho <kjc@csl.sony.co.jp>

22 years agoDelete a needless rule for DAD. An unspecified address is never used
Hajimu UMEMOTO [Wed, 20 Feb 2002 18:05:44 +0000 (18:05 +0000)]
Delete a needless rule for DAD.  An unspecified address is never used
as a destination address of IPv6 packets.

Submitted by: cjc
MFC after: 1 week

22 years agoBUGFIX: make use of the pointer to the target of skipto rules,
Luigi Rizzo [Wed, 20 Feb 2002 17:15:57 +0000 (17:15 +0000)]
BUGFIX: make use of the pointer to the target of skipto rules,
so that after the first time we can follow the pointer instead
of having to scan the list.
This was the intended behaviour from day one.

PR: 34639
MFC-after: 3 days

22 years agoMake sortdeps() working with dependency lists containing one or no elements.
Maxim Sobolev [Wed, 20 Feb 2002 17:15:17 +0000 (17:15 +0000)]
Make sortdeps() working with dependency lists containing one or no elements.

Submitted by: roam
MFC in: 1 week

22 years ago(forced)
Maxim Sobolev [Wed, 20 Feb 2002 17:11:33 +0000 (17:11 +0000)]
(forced)

Previous delta was a subject of:

MFC in: 1 week

22 years agoProvide protection against incorrect input (dependency list).
Maxim Sobolev [Wed, 20 Feb 2002 17:07:19 +0000 (17:07 +0000)]
Provide protection against incorrect input (dependency list).

Submitted by: roam

22 years agofix file descriptor leak.
Alfred Perlstein [Wed, 20 Feb 2002 17:06:37 +0000 (17:06 +0000)]
fix file descriptor leak.

Submitted by: Mark Santcroos <marks@ripe.net>

22 years agoWhen expanding a syncache entry into a socket, inherit the socket options
Jonathan Lemon [Wed, 20 Feb 2002 16:47:11 +0000 (16:47 +0000)]
When expanding a syncache entry into a socket, inherit the socket options
from the current listen socket instead of the cached (and possibly stale)
TCB pointer.

22 years agoCheck the status of the card bridge first thing, rather than last in
Warner Losh [Wed, 20 Feb 2002 16:20:27 +0000 (16:20 +0000)]
Check the status of the card bridge first thing, rather than last in
the loop.  This fixes the "my card is in the laptop on boot, but
doesn't attach" problem.

22 years ago- Fix style further by adding parentheses around return values so that
Andrew R. Reiter [Wed, 20 Feb 2002 16:05:30 +0000 (16:05 +0000)]
- Fix style further by adding parentheses around return values so that
  they look like:
return (val);  instead of:  return val;

22 years agoDocument NGM_PPPOE_ACNAME.
Brian Somers [Wed, 20 Feb 2002 15:55:02 +0000 (15:55 +0000)]
Document NGM_PPPOE_ACNAME.

22 years agoDocument NGM_PPPOE_ACNAME handling.
Brian Somers [Wed, 20 Feb 2002 15:53:47 +0000 (15:53 +0000)]
Document NGM_PPPOE_ACNAME handling.

22 years agoHandle NGM_PPPOE_ACNAME messages.
Brian Somers [Wed, 20 Feb 2002 15:52:20 +0000 (15:52 +0000)]
Handle NGM_PPPOE_ACNAME messages.

Submitted by: Andre Albsmeier <andre@albsmeier.net>
Approved by: julian

22 years agoSend a NGM_PPPOE_ACNAME message to userland when a node is connected.
Brian Somers [Wed, 20 Feb 2002 15:51:11 +0000 (15:51 +0000)]
Send a NGM_PPPOE_ACNAME message to userland when a node is connected.

Submitted by: Andre Albsmeier <andre@albsmeier.net>
Shuffled about by: brian
Approved by: julian

22 years agoo Minor style fix on #endif, missing '_' in comment.
Robert Watson [Wed, 20 Feb 2002 15:44:43 +0000 (15:44 +0000)]
o Minor style fix on #endif, missing '_' in comment.

22 years agoAdd a module of xe driver.
Takeshi Shibagaki [Wed, 20 Feb 2002 15:00:34 +0000 (15:00 +0000)]
Add a module of xe driver.

Approved by: imp

22 years agoAdd some code which read manufucturer id. This is for NEWCARD compatibility.
Takeshi Shibagaki [Wed, 20 Feb 2002 14:48:23 +0000 (14:48 +0000)]
Add some code which read manufucturer id. This is for NEWCARD compatibility.

Reviewed by: imp

22 years agoAdd some code which is compatible for NEWCARD. It makes manufacturer
Takeshi Shibagaki [Wed, 20 Feb 2002 14:42:36 +0000 (14:42 +0000)]
Add some code which is compatible for NEWCARD. It makes manufacturer
id transfer from pccardd.

Reviewed by: imp

22 years agoNEWCARD support for xe.
Takeshi Shibagaki [Wed, 20 Feb 2002 14:33:42 +0000 (14:33 +0000)]
NEWCARD support for xe.

Reviewed by: imp

22 years agomake(1) claims to ignore the remainder of a conditional once its value
Crist J. Clark [Wed, 20 Feb 2002 14:31:19 +0000 (14:31 +0000)]
make(1) claims to ignore the remainder of a conditional once its value
has been determined similar to C. That is, one expects a construction
like,

.if defined(TEST) && (${TEST:L} == "test")

Never to generate an error since the second expression should never be
evaluated when TEST is undefined.

However, this was not the case. The above fails with the current
make(1) if TEST is undefined. This patch fixes the above and many
similar cases.

PR: bin/34032
Submitted by: Alan Eldridge <alane@geeksrus.net>
MFC after: 1 week

22 years agoAdd u_int16 prodext value in CISTPL_MANF_ID. This gets a fifth byte
Takeshi Shibagaki [Wed, 20 Feb 2002 14:30:46 +0000 (14:30 +0000)]
Add u_int16 prodext value in CISTPL_MANF_ID. This gets a fifth byte
when manufacturer id tuple length is 5. This change is for xe driver.
This is a dirty hack. But there is no better idea.

Reviewd by: imp

22 years ago- Style.9 formatting fix; this commit is mostly white space related with
Andrew R. Reiter [Wed, 20 Feb 2002 14:30:02 +0000 (14:30 +0000)]
- Style.9 formatting fix; this commit is mostly white space related with
  the next commit actually doing the:
return val; -> return (val);
  changes.  This commit was done in preparation for getting ``struct
  modules'' locked down.

Reviewed by: bde
Approved by: dfr

22 years agoUpdate xe driver to probe and attach in a NEWCARD kernel.
Takeshi Shibagaki [Wed, 20 Feb 2002 14:23:58 +0000 (14:23 +0000)]
Update xe driver to probe and attach in a NEWCARD kernel.
And separate probe and attach routine for PC Card from if_xe.c
to if_xe_pccard.c.

Reviewed by: imp

22 years agoFix typos in some comments.
Crist J. Clark [Wed, 20 Feb 2002 14:15:58 +0000 (14:15 +0000)]
Fix typos in some comments.

PR: i386/35114
Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>

22 years agoThere is no reason to demand the administrator set 'natd_interface'
Crist J. Clark [Wed, 20 Feb 2002 10:31:01 +0000 (10:31 +0000)]
There is no reason to demand the administrator set 'natd_interface'
when running natd(8) out of the rc-files. It is perfectly valid for
the interface or alias address to be set in a natd(8) configuration
file, not on the command line. Also, loosen up the restrictions on
identifying an IP address argument in 'natd_interface.'

Fix the documentation, rc.conf(5), to reflect this change.

Take the bogus default for 'natd_interface' out of /etc/defaults/rc.conf.

MFC after: 3 days

22 years agoCreate /var/log/lastlog if it doesn't exist.
Maxim Sobolev [Wed, 20 Feb 2002 07:47:06 +0000 (07:47 +0000)]
Create /var/log/lastlog if it doesn't exist.

Submitted by: des

22 years agoNeutralize bits of ns_parse.c with bad juju.
David E. O'Brien [Wed, 20 Feb 2002 05:45:59 +0000 (05:45 +0000)]
Neutralize bits of ns_parse.c with bad juju.

22 years agoMFi386: revision 1.497
Yoshihiro Takahashi [Wed, 20 Feb 2002 05:09:57 +0000 (05:09 +0000)]
MFi386: revision 1.497

22 years agoClean up the style a little bit.
David E. O'Brien [Wed, 20 Feb 2002 03:57:21 +0000 (03:57 +0000)]
Clean up the style a little bit.

22 years agoDo not define a 'MD_EXEC_PREFIX'. It is not needed, not used in the
David E. O'Brien [Wed, 20 Feb 2002 03:10:54 +0000 (03:10 +0000)]
Do not define a 'MD_EXEC_PREFIX'.  It is not needed, not used in the
cross case, and just ends up causing "/usr/libexec" being added to the
library search path.

Also remove misleading comment about 'STANDARD_EXEC_PREFIX'.  It is needed
if one does not set 'MD_EXEC_PREFIX'.

Submitted by: ru

22 years agoReflect the rename of the vendor branch.
David E. O'Brien [Wed, 20 Feb 2002 02:36:24 +0000 (02:36 +0000)]
Reflect the rename of the vendor branch.

22 years agoSome more tidy-up of stray "unsigned" variables instead of p[dt]_entry_t
Peter Wemm [Wed, 20 Feb 2002 01:05:57 +0000 (01:05 +0000)]
Some more tidy-up of stray "unsigned" variables instead of p[dt]_entry_t
etc.

22 years agoMore cleanups relating to vm object allocation failure: make sure we
Robert Watson [Wed, 20 Feb 2002 00:11:57 +0000 (00:11 +0000)]
More cleanups relating to vm object allocation failure: make sure we
call VOP_CLOSE() with vp unlocked; clean up the return path a little,
in as much as our namei/vnode operation return paths can be cleared
up.  For a return case that was apparently never taken, this sure
is ugly.

Reviewed by: jeffr

22 years agoAdd a page queue, PQ_HOLD, that temporarily owns pages with nonzero hold
Tor Egge [Tue, 19 Feb 2002 23:19:30 +0000 (23:19 +0000)]
Add a page queue, PQ_HOLD, that temporarily owns pages with nonzero hold
count that would otherwise be on one of the free queues.  This eliminates a
panic when broken programs unmap memory that still has pending IO from raw
devices.

Reviewed by: dillon, alc

22 years agoStyle cleanup.
David E. O'Brien [Tue, 19 Feb 2002 22:23:49 +0000 (22:23 +0000)]
Style cleanup.

Approved by: Murray

22 years agoModified release note: ISC DHCP 3.0.1RC6.
Bruce A. Mah [Tue, 19 Feb 2002 22:21:28 +0000 (22:21 +0000)]
Modified release note:  ISC DHCP 3.0.1RC6.

22 years agoAdd one more comment to the OOM changes so that future readers of
Mike Silbersack [Tue, 19 Feb 2002 18:50:49 +0000 (18:50 +0000)]
Add one more comment to the OOM changes so that future readers of
the code may better understand the code.

Suggested by: dillon
MFC after: 1 week

22 years agoSwitch national currencies to Euro
Alexey Zelkin [Tue, 19 Feb 2002 18:38:04 +0000 (18:38 +0000)]
Switch national currencies to Euro

22 years agoChanges to make the OOM killer much more effective:
Mike Silbersack [Tue, 19 Feb 2002 18:34:02 +0000 (18:34 +0000)]
Changes to make the OOM killer much more effective:

- Allow the OOM killer to target processes currently locked in
  memory.  These very often are the ones doing the memory hogging.
- Drop the wakeup priority of processes currently sleeping while
  waiting for their page fault to complete.  In order for the OOM
  killer to work well, the killed process and other system processes
  waiting on memory must be allowed to wakeup first.

Reviewed by: dillon
MFC after: 1 week

22 years agoBump major library version of all Heimdal Kerberos libraries
Jacques Vidrine [Tue, 19 Feb 2002 16:02:28 +0000 (16:02 +0000)]
Bump major library version of all Heimdal Kerberos libraries
after import from KTH repository circa 2002/02/17.

22 years agoUpdate build after import of Heimdal Kerberos 2002/02/17.
Jacques Vidrine [Tue, 19 Feb 2002 15:53:33 +0000 (15:53 +0000)]
Update build after import of Heimdal Kerberos 2002/02/17.

22 years agoRemove files that were dropped from Heimdal Kerberos 2002/02/17.
Jacques Vidrine [Tue, 19 Feb 2002 15:51:09 +0000 (15:51 +0000)]
Remove files that were dropped from Heimdal Kerberos 2002/02/17.

22 years agoResolve conflicts after import of Heimdal Kerberos 2002/02/17.
Jacques Vidrine [Tue, 19 Feb 2002 15:50:30 +0000 (15:50 +0000)]
Resolve conflicts after import of Heimdal Kerberos 2002/02/17.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r90926,
Jacques Vidrine [Tue, 19 Feb 2002 15:46:56 +0000 (15:46 +0000)]
This commit was generated by cvs2svn to compensate for changes in r90926,
which included commits to RCS files with non-trunk default branches.

22 years agoImport of Heimdal Kerberos from KTH repository circa 2002/02/17.
Jacques Vidrine [Tue, 19 Feb 2002 15:46:56 +0000 (15:46 +0000)]
Import of Heimdal Kerberos from KTH repository circa 2002/02/17.

22 years agoRelease allocated memory and bus_space_handle on an error.
Yoshihiro Takahashi [Tue, 19 Feb 2002 14:58:11 +0000 (14:58 +0000)]
Release allocated memory and bus_space_handle on an error.

Reviewed by: jhay

22 years agoAdd information about the 3.0.1RC6 upgrade.
Murray Stokely [Tue, 19 Feb 2002 14:55:44 +0000 (14:55 +0000)]
Add information about the 3.0.1RC6 upgrade.

22 years agoMakefile glue for DHCP v3 import.
Murray Stokely [Tue, 19 Feb 2002 12:57:18 +0000 (12:57 +0000)]
Makefile glue for DHCP v3 import.

22 years agoResolve conflicts. Remove references to dhcpd from the man page,
Murray Stokely [Tue, 19 Feb 2002 12:43:18 +0000 (12:43 +0000)]
Resolve conflicts.  Remove references to dhcpd from the man page,
since only the client exists in the base system.

22 years agoResolve conflicts.
Murray Stokely [Tue, 19 Feb 2002 12:22:54 +0000 (12:22 +0000)]
Resolve conflicts.

22 years agoAdding errata directory
Sebastien Gioria [Tue, 19 Feb 2002 12:22:51 +0000 (12:22 +0000)]
Adding errata directory

22 years agoInitial french translation
Sebastien Gioria [Tue, 19 Feb 2002 12:22:30 +0000 (12:22 +0000)]
Initial french translation

22 years agoResolve conflicts.
Murray Stokely [Tue, 19 Feb 2002 12:15:09 +0000 (12:15 +0000)]
Resolve conflicts.
  * Note that option hostname is only honored if the hostname is not
    already set. (r1.2)

22 years agoResolve conflicts.
Murray Stokely [Tue, 19 Feb 2002 12:10:40 +0000 (12:10 +0000)]
Resolve conflicts.
  * Space the output consistently. (r1.19)
  * Use the cleaner "-n" syntax instead of comparing against "". (r1.17)
  * Fix arp invocation. (r1.13)

22 years agoResolve conflicts.
Murray Stokely [Tue, 19 Feb 2002 12:07:09 +0000 (12:07 +0000)]
Resolve conflicts.
  * $FreeBSD$
  * Fix numerous typos.
  * Use correct path for dhclient-script.

22 years agoResolve conflicts.
Murray Stokely [Tue, 19 Feb 2002 12:04:29 +0000 (12:04 +0000)]
Resolve conflicts.
  * $FreeBSD$
  * connect std{in,out,err}. (r1.19)
  * prefer strlcpy to strpy. (r1.13)
  * quiet by default. (r1.6)
  * document -D option.

22 years agoResolve conflicts :
Murray Stokely [Tue, 19 Feb 2002 12:00:47 +0000 (12:00 +0000)]
Resolve conflicts :
  * $FreeBSD$ id, obrien copyright.
  * Document the -D option. (r1.6)
  * Correct man page reference and fix typo. (r1.8)

Reviewed by: obrien

22 years agoResolve conflicts :
Murray Stokely [Tue, 19 Feb 2002 11:57:47 +0000 (11:57 +0000)]
Resolve conflicts :
  * $FreeBSD$ line.
  * Remove dhcpd and dhcprelay from the SEE ALSO section, since these
    are not in the base system.

22 years agoResolve conflicts :
Murray Stokely [Tue, 19 Feb 2002 11:55:09 +0000 (11:55 +0000)]
Resolve conflicts :
  * $FreeBSD$ line.
  * Prefer strlcpy to strcpy (r1.6).
  * dhclient-script pathname.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r90908,
Murray Stokely [Tue, 19 Feb 2002 11:04:34 +0000 (11:04 +0000)]
This commit was generated by cvs2svn to compensate for changes in r90908,
which included commits to RCS files with non-trunk default branches.

22 years agoImport ISC DHCP 3.0.1 RC6 client.
Murray Stokely [Tue, 19 Feb 2002 11:04:34 +0000 (11:04 +0000)]
Import ISC DHCP 3.0.1 RC6 client.

22 years agoClean up some debugging output.
Nick Hibma [Tue, 19 Feb 2002 10:53:25 +0000 (10:53 +0000)]
Clean up some debugging output.
Add function to display the CBI command block.

22 years agoInitial translation of relnotes in French.
Sebastien Gioria [Tue, 19 Feb 2002 09:37:04 +0000 (09:37 +0000)]
Initial translation of relnotes in French.

Reviewed by: Bruce A. Mah <bmah@FreeBSD.ORG>

22 years agoReally document the import procedure.
Dag-Erling Smørgrav [Tue, 19 Feb 2002 09:36:40 +0000 (09:36 +0000)]
Really document the import procedure.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r90902,
Dag-Erling Smørgrav [Tue, 19 Feb 2002 09:35:25 +0000 (09:35 +0000)]
This commit was generated by cvs2svn to compensate for changes in r90902,
which included commits to RCS files with non-trunk default branches.

22 years agoVendor import of bwk's 2002-02-18 release. Most significant update is the
Dag-Erling Smørgrav [Tue, 19 Feb 2002 09:35:25 +0000 (09:35 +0000)]
Vendor import of bwk's 2002-02-18 release.  Most significant update is the
inclusion of my character class patch.

22 years agoDocument the import procedure.
Dag-Erling Smørgrav [Tue, 19 Feb 2002 09:30:33 +0000 (09:30 +0000)]
Document the import procedure.

22 years agoWe don't need ths file.
Dag-Erling Smørgrav [Tue, 19 Feb 2002 09:27:25 +0000 (09:27 +0000)]
We don't need ths file.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r90899,
Dag-Erling Smørgrav [Tue, 19 Feb 2002 09:27:25 +0000 (09:27 +0000)]
This commit was generated by cvs2svn to compensate for changes in r90899,
which included commits to RCS files with non-trunk default branches.

22 years agoWe don't need ths file.
Dag-Erling Smørgrav [Tue, 19 Feb 2002 09:27:25 +0000 (09:27 +0000)]
We don't need ths file.

22 years agoPut the stard/end adjustments back. They are needed. Also make start
Warner Losh [Tue, 19 Feb 2002 07:05:22 +0000 (07:05 +0000)]
Put the stard/end adjustments back.  They are needed.  Also make start
== 0 a special case.  I hope this fixes the real problem that phk and
others were seeing.

22 years agoo Count the number of mem and io spaces we allocate. If none work, bail out
Warner Losh [Tue, 19 Feb 2002 05:04:37 +0000 (05:04 +0000)]
o Count the number of mem and io spaces we allocate.  If none work, bail out
o Add some better debugging code.
o Minor style(9) fixes.

22 years agoDo the cast away of unsignedness in a way that is more commprehensible.
Warner Losh [Tue, 19 Feb 2002 05:01:43 +0000 (05:01 +0000)]
Do the cast away of unsignedness in a way that is more commprehensible.

22 years agoAdd change to teh PPC to keep it in step with i386 and MI code
Julian Elischer [Tue, 19 Feb 2002 03:27:08 +0000 (03:27 +0000)]
Add change to teh PPC to keep it in step with i386 and MI code

Pointy hat this direction please...

22 years agoCatch up with i386 change I forgot to commit.
Julian Elischer [Tue, 19 Feb 2002 03:23:28 +0000 (03:23 +0000)]
Catch up with i386 change I forgot to commit.

22 years agoMFen (1.277 --> 1.281).
Jun Kuriyama [Tue, 19 Feb 2002 03:19:40 +0000 (03:19 +0000)]
MFen (1.277 --> 1.281).

22 years agoDuplicate the changes to i386 to keep creds over the user boundary.
Julian Elischer [Tue, 19 Feb 2002 03:16:50 +0000 (03:16 +0000)]
Duplicate the changes to i386 to keep creds over the user boundary.

22 years agoA few misc forkbomb defenses:
Mike Silbersack [Tue, 19 Feb 2002 03:15:28 +0000 (03:15 +0000)]
A few misc forkbomb defenses:

- Leave 10 processes for root-only use, the previous
  value of 1 was insufficient to run ps ax | more.
- Remove the printing of "proc: table full".  When the table
  really is full, this would flood the screen/logs, making
  the problem tougher to deal with.
- Force any process trying to fork beyond its user's maximum
  number of processes to sleep for .5 seconds before returning
  failure.  This turns 2000 rampaging fork monsters into 2000
  harmlessly snoozing fork monsters.

Reviewed by: dillon, peter
MFC after: 1 week

22 years agoMFi386: merge changes from i386/trap.c rev 1.212
Andrew Gallatin [Tue, 19 Feb 2002 03:13:39 +0000 (03:13 +0000)]
MFi386: merge changes from i386/trap.c rev 1.212

If the credential on an incoming thread is correct, don't bother
reaquiring it. In the same vein, don't bother dropping the thread cred
when going to userland. We are guaranteed to need it when we come back,
(which we are guaranteed to do).

22 years agoAdd stub syscalls and definitions for KSE calls.
Julian Elischer [Tue, 19 Feb 2002 02:40:31 +0000 (02:40 +0000)]
Add stub syscalls and definitions for KSE calls.
"Book'em Danno"

22 years agoRemove extraneous blank line
Chris D. Faulhaber [Tue, 19 Feb 2002 02:36:35 +0000 (02:36 +0000)]
Remove extraneous blank line

22 years agoUse acl_dup() to duplicate an ACL instead of rolling our own
Chris D. Faulhaber [Tue, 19 Feb 2002 02:36:15 +0000 (02:36 +0000)]
Use acl_dup() to duplicate an ACL instead of rolling our own

22 years agoAdd 5 KSE syscalls. Two will be implemented with the next KSE
Julian Elischer [Tue, 19 Feb 2002 02:19:36 +0000 (02:19 +0000)]
Add 5 KSE syscalls. Two will be implemented with the next KSE
step and the others are reservations for coming code.
All will be stubbed in this kernel in the next commit.
This will allow people to easily make KSE binaries for userland testing
(the syscalls will be in libc) but they will still need a real KSE kernel
to test it. (libc looks in /sys to decide what it should add stubs for).

22 years agoAdd C++ support.
Mike Barcroft [Tue, 19 Feb 2002 02:17:16 +0000 (02:17 +0000)]
Add C++ support.

22 years agoAdd the first shot at minimum KSE interface definitions.
Julian Elischer [Tue, 19 Feb 2002 02:12:36 +0000 (02:12 +0000)]
Add the first shot at minimum KSE interface definitions.
This is to allow people to start playing with userland code.
I will also add some stub syscalls in a minute.

22 years agoMerge from NetBSD:
Josef Karthauser [Tue, 19 Feb 2002 02:00:27 +0000 (02:00 +0000)]
Merge from NetBSD:

* rev 1.47: Update a URL
* rev 1.56: Keep track of device speed for USB 2.0.

22 years agoAdd play (but not record) support for the Sis 7012.
Alfred Perlstein [Tue, 19 Feb 2002 00:59:23 +0000 (00:59 +0000)]
Add play (but not record) support for the Sis 7012.

Submitted by: Mike Meyer <mwm@mired.org>

22 years agoFixed divots that I created when I moved prototypes of group_from_gid
Warner Losh [Tue, 19 Feb 2002 00:05:59 +0000 (00:05 +0000)]
Fixed divots that I created when I moved prototypes of group_from_gid
and user_from_uid to grp.h and pwd.h.  Update the man pages.

Submitted by: David Malone
Pointy hat to: imp

22 years agoAdd emacs21 instead of emacs20 to the first CDROM.
Murray Stokely [Mon, 18 Feb 2002 23:04:03 +0000 (23:04 +0000)]
Add emacs21 instead of emacs20 to the first CDROM.

Reviewed by:     nobutaka (editors/emacs21 maintainer)