]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoAdd frexp(3).
David E. O'Brien [Sat, 29 Jun 2002 03:23:18 +0000 (03:23 +0000)]
Add frexp(3).

Obtained from: OpenBSD

22 years agoTurn back on GDB.
David E. O'Brien [Sat, 29 Jun 2002 03:19:35 +0000 (03:19 +0000)]
Turn back on GDB.
gdbserver does not build, but I've gone about as far with GDB as I'm going
to right now.

22 years agoBest guess at configurations for our other arches. (totally untested)
David E. O'Brien [Sat, 29 Jun 2002 03:18:28 +0000 (03:18 +0000)]
Best guess at configurations for our other arches.  (totally untested)

22 years agoAllow to compile and at least startup on sparc64.
David E. O'Brien [Sat, 29 Jun 2002 03:16:40 +0000 (03:16 +0000)]
Allow to compile and at least startup on sparc64.

22 years agoRemove a couple of __P() stragglers.
Peter Wemm [Sat, 29 Jun 2002 02:32:34 +0000 (02:32 +0000)]
Remove a couple of __P() stragglers.

22 years agomore caddr_t removal.
Alfred Perlstein [Sat, 29 Jun 2002 02:00:02 +0000 (02:00 +0000)]
more caddr_t removal.

22 years agoAdd another Intel chipset (i82562).
Mike Silbersack [Sat, 29 Jun 2002 01:56:14 +0000 (01:56 +0000)]
Add another Intel chipset (i82562).

PR: 39974
Submitted by: Morten Aaboe Jensen <morten@codemonkey.dk>
MFC after: 1 day

22 years agoMore caddr_t removal, make fo_ioctl take a void * instead of a caddr_t.
Alfred Perlstein [Sat, 29 Jun 2002 01:50:25 +0000 (01:50 +0000)]
More caddr_t removal, make fo_ioctl take a void * instead of a caddr_t.

22 years agocatch up with mextadd callback taking a void argument instead of a caddr_t.
Alfred Perlstein [Sat, 29 Jun 2002 01:49:22 +0000 (01:49 +0000)]
catch up with mextadd callback taking a void argument instead of a caddr_t.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r99005,
David E. O'Brien [Sat, 29 Jun 2002 01:43:09 +0000 (01:43 +0000)]
This commit was generated by cvs2svn to compensate for changes in r99005,
which included commits to RCS files with non-trunk default branches.

22 years agoVendor import of GDB 5.2.
David E. O'Brien [Sat, 29 Jun 2002 01:43:09 +0000 (01:43 +0000)]
Vendor import of GDB 5.2.
These bits are taken from the FSF gdb_5_2-branch anoncvs repo
on 27-June-2002 12:01:00 EDT.

22 years agocatch up with ext_free prototype change.
Alfred Perlstein [Sat, 29 Jun 2002 01:36:59 +0000 (01:36 +0000)]
catch up with ext_free prototype change.

22 years agoBmake bits for GDB 5.2.
David E. O'Brien [Sat, 29 Jun 2002 01:16:01 +0000 (01:16 +0000)]
Bmake bits for GDB 5.2.

22 years ago- kernel core debugging for i386 (Mark Peek)
David E. O'Brien [Sat, 29 Jun 2002 00:42:52 +0000 (00:42 +0000)]
- kernel core debugging for i386 (Mark Peek)
- thread debugging for i386 (Mark Peek) and alpha (Doug Rabson)

Submitted by: mp,dfr

22 years agoNote that this is a modified version of GDB.
David E. O'Brien [Sat, 29 Jun 2002 00:41:02 +0000 (00:41 +0000)]
Note that this is a modified version of GDB.

22 years agoUse the stock source.
David E. O'Brien [Sat, 29 Jun 2002 00:38:44 +0000 (00:38 +0000)]
Use the stock source.

22 years agoBest that I can tell, we've never used these files.
David E. O'Brien [Sat, 29 Jun 2002 00:36:19 +0000 (00:36 +0000)]
Best that I can tell, we've never used these files.

22 years agoMore caddr_t removal.
Alfred Perlstein [Sat, 29 Jun 2002 00:29:12 +0000 (00:29 +0000)]
More caddr_t removal.
Change struct knote's kn_hook from caddr_t to void *.

22 years agonuke more instances of caddr_t
Alfred Perlstein [Sat, 29 Jun 2002 00:02:01 +0000 (00:02 +0000)]
nuke more instances of caddr_t

22 years agom_extadd takes a void (*freef)(void *, void *) now, not a
Alfred Perlstein [Sat, 29 Jun 2002 00:01:46 +0000 (00:01 +0000)]
m_extadd takes a void (*freef)(void *, void *) now, not a
void (*freef)(caddr_t, void *).

22 years agoremove or replace caddr_t with void.
Alfred Perlstein [Fri, 28 Jun 2002 23:48:23 +0000 (23:48 +0000)]
remove or replace caddr_t with void.
make the mbuf external free function take a void * rather than caddr_t.

22 years agonuke caddr_t.
Alfred Perlstein [Fri, 28 Jun 2002 23:17:36 +0000 (23:17 +0000)]
nuke caddr_t.

22 years agochange struct socket -> so_pcb from caddr_t to void *.
Alfred Perlstein [Fri, 28 Jun 2002 23:17:08 +0000 (23:17 +0000)]
change struct socket -> so_pcb from caddr_t to void *.

22 years agoRemove unneeded casts to caddr_t.
Alfred Perlstein [Fri, 28 Jun 2002 23:02:38 +0000 (23:02 +0000)]
Remove unneeded casts to caddr_t.

22 years agochange f_data field in struct file from caddr_t to void *.
Alfred Perlstein [Fri, 28 Jun 2002 23:00:32 +0000 (23:00 +0000)]
change f_data field in struct file from caddr_t to void *.

22 years agoSimplify TERM handling since now libutil not overwrites existen TERM for "term"
Andrey A. Chernov [Fri, 28 Jun 2002 22:56:31 +0000 (22:56 +0000)]
Simplify TERM handling since now libutil not overwrites existen TERM for "term"

22 years agodocument that the pipe fo_stat routine doesn't need locks because it's
Alfred Perlstein [Fri, 28 Jun 2002 22:35:12 +0000 (22:35 +0000)]
document that the pipe fo_stat routine doesn't need locks because it's
a read operation.

Requested by: rwatson

22 years agoIn namei(), we use a NULL thread for uio_td when doing a VOP_READLINK().
John Baldwin [Fri, 28 Jun 2002 21:53:08 +0000 (21:53 +0000)]
In namei(), we use a NULL thread for uio_td when doing a VOP_READLINK().
nfs_readlink() calls nfs_bioread() which passes in uio_td as the thread
argument to nfs_getcacheblk().  In nfs_getcacheblk() we dereference the
thread pointer to get a process pointer to pass to nfs_sigintr().  This
obviously results in a panic. :)

Rather than change nfs_getcacheblk() to check if the thread pointer is
NULL when calling nfs_sigintr() like other callers do, change
nfs_sigintr() to take a thread as the last argument instead of a
process so none of the callers have to care if the thread is NULL or not.

22 years agoAdd two new submodes to the AES encryption method.
Poul-Henning Kamp [Fri, 28 Jun 2002 21:25:15 +0000 (21:25 +0000)]
Add two new submodes to the AES encryption method.

This method is now suitable for encrypting swap spaces.

Sponsored by: DARPA & NAI Labs.

22 years agoAdd a module for src/tools/regression (`regression').
Juli Mallett [Fri, 28 Jun 2002 21:13:06 +0000 (21:13 +0000)]
Add a module for src/tools/regression (`regression').

Add a MAINTAINERS line for the regression module, specifically referring to
src/tools/regression/usr.bin, right now, but applicable to other things, to
make clear that I am willing to help write new tests.  The framework is all
modularised now, so it is easy to write new tests, etc., and since I'd like
to see tests for more and more things as bugs get fixed, it seems to be the
right thing to do to stand up and offer to help people write tests.

22 years agoImprove the VOP locking asserts
Jeff Roberson [Fri, 28 Jun 2002 20:58:14 +0000 (20:58 +0000)]
Improve the VOP locking asserts

 - Add vfs_badlock_print to control whether or not we print lock violations
 - Add vfs_badlock_panic to control whether we panic on lock violations

Both default to on to mimic the original behavior if DEBUG_VFS_LOCKS is on.

22 years agoIn vn_mkdir(), use vrele() instead of vput() on the parent directory
Ian Dowse [Fri, 28 Jun 2002 20:06:47 +0000 (20:06 +0000)]
In vn_mkdir(), use vrele() instead of vput() on the parent directory
vnode in the case that the target exists and is the same vnode as
the parent (i.e. "mkdir ."). The namei() call does not leave the
vnode locked in this case even though you might expect it to.

This bug was mostly harmless in practice because unlocking an already
unlocked vnode currently does not trigger any panics or warnings.

Reviewed by: jeff

22 years agoOne possible code path for syncache_respond() is:
Jonathan Lemon [Fri, 28 Jun 2002 19:12:38 +0000 (19:12 +0000)]
One possible code path for syncache_respond() is:

 syncache_respond(A), ip_output(), ip_input(), tcp_input(), syncache_badack(B)

Which winds up deleting a different entry from the syncache.  Handle
this by not utilizing the next entry in the timer chain until after
syncache_respond() completes.  The case of A == B should not be possible.

Problem found by: Don Bowman <don@sandvine.com>

22 years agoClean up vn_rdwr locking.
Jeff Roberson [Fri, 28 Jun 2002 17:51:11 +0000 (17:51 +0000)]
Clean up vn_rdwr locking.

 - Do shared locks on read.
 - Only do vn_{start,finished}_write when writing.

22 years agoFix a case where a vnode got explicitly unlocked after the pointer to it
Brian Feldman [Fri, 28 Jun 2002 16:17:47 +0000 (16:17 +0000)]
Fix a case where a vnode got explicitly unlocked after the pointer to it
got set to NULL.

Revision 1.355: in the box

22 years agoInclude 'sshd' to the lists of forbidden users.
Maxim Konovalov [Fri, 28 Jun 2002 15:46:29 +0000 (15:46 +0000)]
Include 'sshd' to the lists of forbidden users.

Reviewed by: cvs-committers

22 years agoAdd additional field 'overwrite' to login_vars. It mainly needed to handle
Andrey A. Chernov [Fri, 28 Jun 2002 14:45:30 +0000 (14:45 +0000)]
Add additional field 'overwrite' to login_vars. It mainly needed to handle
"term" according to manpage, i.e. not overwrite it, if already present in
environment.

22 years agoMake sigpending and sigsuspend account for signals that are pending on
Daniel Eischen [Fri, 28 Jun 2002 13:28:41 +0000 (13:28 +0000)]
Make sigpending and sigsuspend account for signals that are pending on
the process as well as pending on the current thread.

Reported by: Andrew MacIntyre <andymac@bullseye.apana.org.au>

22 years agoAdd a wrapper for pselect() in order to make it a cancellation point.
Daniel Eischen [Fri, 28 Jun 2002 13:26:02 +0000 (13:26 +0000)]
Add a wrapper for pselect() in order to make it a cancellation point.

Prompted by: wollman

22 years agoRemove a GCC-specific command-line option. We should be using WARNS=n
Mark Murray [Fri, 28 Jun 2002 10:36:14 +0000 (10:36 +0000)]
Remove a GCC-specific command-line option. We should be using WARNS=n
for this stuff.

22 years agoMention that we're checking kernel log messages, even if there's
Brian Somers [Fri, 28 Jun 2002 10:32:18 +0000 (10:32 +0000)]
Mention that we're checking kernel log messages, even if there's
no output.

PR: 39618
MFC after: 1 week

22 years agoRefer to utilities, not commands, for consistency with env(1), nice(1), etc.
Tim J. Robbins [Fri, 28 Jun 2002 09:34:46 +0000 (09:34 +0000)]
Refer to utilities, not commands, for consistency with env(1), nice(1), etc.

22 years agoDon't use SignalBundle if it's not set
Brian Somers [Fri, 28 Jun 2002 09:33:25 +0000 (09:33 +0000)]
Don't use SignalBundle if it's not set

Submitted by: Federico G. Schwindt <fgsch@olimpo.com.br>

22 years agoDocument the fairly obvious effects of the PATH environment variable.
Tim J. Robbins [Fri, 28 Jun 2002 09:31:03 +0000 (09:31 +0000)]
Document the fairly obvious effects of the PATH environment variable.

22 years agoDiscourage use of env(1)'s "-" flag by moving its description to the
Tim J. Robbins [Fri, 28 Jun 2002 09:23:39 +0000 (09:23 +0000)]
Discourage use of env(1)'s "-" flag by moving its description to the
Compatibility section of the manual page.

22 years agoComplain about (and fix) misformatted RADIUS attributes rather than silently
Brian Somers [Fri, 28 Jun 2002 09:18:15 +0000 (09:18 +0000)]
Complain about (and fix) misformatted RADIUS attributes rather than silently
fixing them.

22 years agoWhen a RADIUS server is being used, don't use MPPE unless the RADIUS
Brian Somers [Fri, 28 Jun 2002 08:46:21 +0000 (08:46 +0000)]
When a RADIUS server is being used, don't use MPPE unless the RADIUS
server says it's ok.

22 years agoFix warning.
Doug Rabson [Fri, 28 Jun 2002 08:36:26 +0000 (08:36 +0000)]
Fix warning.

Reviewed by: luigi

22 years agobring Makefile up to date with new ipfw
Julian Elischer [Fri, 28 Jun 2002 08:10:07 +0000 (08:10 +0000)]
bring Makefile up to date with new ipfw

Submitted by: luigi

22 years agoFix a botched flag clear operation. Rumor has it that this also fixes
Scott Long [Fri, 28 Jun 2002 06:11:26 +0000 (06:11 +0000)]
Fix a botched flag clear operation.  Rumor has it that this also fixes
the funky-volume-settings-on-startup problem.

Reviewed by: the channel that shall not be named
MFC after: 7 days

22 years agoOverwrite "term" from login.conf(5) for any known TERM
Andrey A. Chernov [Fri, 28 Jun 2002 04:59:39 +0000 (04:59 +0000)]
Overwrite "term" from login.conf(5) for any known TERM

22 years agoUse full URL path in references to the Handbook.
Bruce A. Mah [Fri, 28 Jun 2002 04:53:44 +0000 (04:53 +0000)]
Use full URL path in references to the Handbook.

22 years agoAdd my entry to the mojo file.
Matthew Dillon [Fri, 28 Jun 2002 04:26:07 +0000 (04:26 +0000)]
Add my entry to the mojo file.

22 years agoThere will be no GDB related .info files unless someone that cares about them
David E. O'Brien [Fri, 28 Jun 2002 03:41:56 +0000 (03:41 +0000)]
There will be no GDB related .info files unless someone that cares about them
sends a patch.

22 years agoVendor import of GDB 5.2.
David E. O'Brien [Fri, 28 Jun 2002 03:29:27 +0000 (03:29 +0000)]
Vendor import of GDB 5.2.
These bits are taken from the FSF gdb_5_2-branch anoncvs repo
on 27-June-2002 12:01:00 EDT.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r98954,
David E. O'Brien [Fri, 28 Jun 2002 03:29:27 +0000 (03:29 +0000)]
This commit was generated by cvs2svn to compensate for changes in r98954,
which included commits to RCS files with non-trunk default branches.

22 years agoadd my entry.
CHOI Junho [Fri, 28 Jun 2002 01:42:45 +0000 (01:42 +0000)]
add my entry.

22 years agoNO! We DON'T wany any libintl action here.
David E. O'Brien [Fri, 28 Jun 2002 01:33:53 +0000 (01:33 +0000)]
NO! We DON'T wany any libintl action here.

22 years agoActually rev 1.3 (don't declare tilde_expand()) is needed with GDB 5.2.
David E. O'Brien [Fri, 28 Jun 2002 01:13:52 +0000 (01:13 +0000)]
Actually rev 1.3 (don't declare tilde_expand()) is needed with GDB 5.2.

22 years agoThings Gdb 5.2 wants to know about us.
David E. O'Brien [Fri, 28 Jun 2002 00:34:05 +0000 (00:34 +0000)]
Things Gdb 5.2 wants to know about us.

22 years agoOur FreeBSD custom changes are OBE. Return to using the stock vendor sources.
David E. O'Brien [Fri, 28 Jun 2002 00:14:03 +0000 (00:14 +0000)]
Our FreeBSD custom changes are OBE.  Return to using the stock vendor sources.

22 years agoRemove a printf and add a comment on an assumption that could be
Luigi Rizzo [Thu, 27 Jun 2002 23:23:04 +0000 (23:23 +0000)]
Remove a printf and add a comment on an assumption that could be
occasionally violated by device drivers.

22 years agoVendor import of GDB 5.2.
David E. O'Brien [Thu, 27 Jun 2002 23:04:23 +0000 (23:04 +0000)]
Vendor import of GDB 5.2.
These bits are taken from the FSF gdb_5_2-branch anoncvs repo
on 27-June-2002 12:01:00 EDT.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r98944,
David E. O'Brien [Thu, 27 Jun 2002 23:04:23 +0000 (23:04 +0000)]
This commit was generated by cvs2svn to compensate for changes in r98944,
which included commits to RCS files with non-trunk default branches.

22 years agoThe new ipfw code.
Luigi Rizzo [Thu, 27 Jun 2002 23:02:18 +0000 (23:02 +0000)]
The new ipfw code.

This code makes use of variable-size kernel representation of rules
(exactly the same concept of BPF instructions, as used in the BSDI's
firewall), which makes firewall operation a lot faster, and the
code more readable and easier to extend and debug.

The interface with the rest of the system is unchanged, as witnessed
by this commit. The only extra kernel files that I am touching
are if_fw.h and ip_dummynet.c, which is quite tied to ipfw. In
userland I only had to touch those programs which manipulate the
internal representation of firewall rules).

The code is almost entirely new (and I believe I have written the
vast majority of those sections which were taken from the former
ip_fw.c), so rather than modifying the old ip_fw.c I decided to
create a new file, sys/netinet/ip_fw2.c .  Same for the user
interface, which is in sbin/ipfw/ipfw2.c (it still compiles to
/sbin/ipfw).  The old files are still there, and will be removed
in due time.

I have not renamed the header file because it would have required
touching a one-line change to a number of kernel files.

In terms of user interface, the new "ipfw" is supposed to accepts
the old syntax for ipfw rules (and produce the same output with
"ipfw show". Only a couple of the old options (out of some 30 of
them) has not been implemented, but they will be soon.

On the other hand, the new code has some very powerful extensions.
First, you can put "or" connectives between match fields (and soon
also between options), and write things like

ipfw add allow ip from { 1.2.3.4/27 or 5.6.7.8/30 } 10-23,25,1024-3000 to any

This should make rulesets slightly more compact (and lines longer!),
by condensing 2 or more of the old rules into single ones.

Also, as an example of how easy the rules can be extended, I have
implemented an 'address set' match pattern, where you can specify
an IP address in a format like this:

        10.20.30.0/26{18,44,33,22,9}

which will match the set of hosts listed in braces belonging to the
subnet 10.20.30.0/26 . The match is done using a bitmap, so it is
essentially a constant time operation requiring a handful of CPU
instructions (and a very small amount of memmory -- for a full /24
subnet, the instruction only consumes 40 bytes).

Again, in this commit I have focused on functionality and tried
to minimize changes to the other parts of the system. Some performance
improvement can be achieved with minor changes to the interface of
ip_fw_chk_t. This will be done later when this code is settled.

The code is meant to compile unmodified on RELENG_4 (once the
PACKET_TAG_* changes have been merged), for this reason
you will see #ifdef __FreeBSD_version in a couple of places.
This should minimize errors when (hopefully soon) it will be time
to do the MFC.

22 years agoNO_GDB while it is being upgraded.
David E. O'Brien [Thu, 27 Jun 2002 22:59:11 +0000 (22:59 +0000)]
NO_GDB while it is being upgraded.

22 years agoForcibly revert to mainline.
Dag-Erling Smørgrav [Thu, 27 Jun 2002 22:42:11 +0000 (22:42 +0000)]
Forcibly revert to mainline.

22 years agoDelay the AC97 calibration until after the system clock has been
Scott Long [Thu, 27 Jun 2002 22:36:01 +0000 (22:36 +0000)]
Delay the AC97 calibration until after the system clock has been
calibrated.  This fixes the problem where playback and recording do
not run at the correct speed.  It probably also eliminates the
need for the hacks/workarounds/sysctl's that were previously
devised to deal with this, but I will leave that for a different
time.

Reviewed by: orion

22 years agoThis commit was generated by cvs2svn to compensate for changes in r98937,
Dag-Erling Smørgrav [Thu, 27 Jun 2002 22:31:32 +0000 (22:31 +0000)]
This commit was generated by cvs2svn to compensate for changes in r98937,
which included commits to RCS files with non-trunk default branches.

22 years agoVendor import of OpenSSH 3.3p1.
Dag-Erling Smørgrav [Thu, 27 Jun 2002 22:31:32 +0000 (22:31 +0000)]
Vendor import of OpenSSH 3.3p1.

22 years agoIn the SUPPORT_DOT case, warn that seperation with a period is deprecated.
Juli Mallett [Thu, 27 Jun 2002 21:23:16 +0000 (21:23 +0000)]
In the SUPPORT_DOT case, warn that seperation with a period is deprecated.
In -STABLE, this is default, in -CURRENT it is not, which leads to many a
headache for a user coming to -CURRENT without remembering this fact.  It
is one of the POLA violations we have not avoided by preparing the users
for it appopriately.  Therefore, a warnx(3) is added here, explicitly to
be MFC'd shortly to start the re-education process rolling.

Reviewed by: General murmurs of approval in that IRC channel.
MFC after: 3 days

22 years agoIncrement morefiles, balance braces. This should really be using getopt(3).
Juli Mallett [Thu, 27 Jun 2002 21:11:19 +0000 (21:11 +0000)]
Increment morefiles, balance braces.  This should really be using getopt(3).

22 years agoInstead of not using argc and doing other great evil, check for no arguments
Juli Mallett [Thu, 27 Jun 2002 21:01:32 +0000 (21:01 +0000)]
Instead of not using argc and doing other great evil, check for no arguments
in main() and print usage, or if there are too many arguments, handle that
there, too.

22 years agoThe thread-safe time functions appear to have been introduced as of
Garrett Wollman [Thu, 27 Jun 2002 20:18:45 +0000 (20:18 +0000)]
The thread-safe time functions appear to have been introduced as of
ISO 9945-1: 1996 (according to the change bars therein), which corresponds
to 1003.1c-1995.  Give them appropriate visibility protection.

22 years agoLots of people have had to hack around the fixed address for cardbus
Warner Losh [Thu, 27 Jun 2002 19:56:22 +0000 (19:56 +0000)]
Lots of people have had to hack around the fixed address for cardbus
bridges in modern hardware (that hardware w/ lots of RAM).  Raise the
address from 0x44000000 to 0x88000000 to match what we do with
NEWCARD.  However, this really should be done in the pci layer.

22 years agoFix a bug that prevented the deletion of non-default ACLs from being
Robert Watson [Thu, 27 Jun 2002 19:31:15 +0000 (19:31 +0000)]
Fix a bug that prevented the deletion of non-default ACLs from being
passed down the VFS stack.  While I'm here, replace a '0' with a 'NULL'
to make the code more readable.

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

22 years agoA bit of whitespace magic.
Robert Watson [Thu, 27 Jun 2002 19:30:11 +0000 (19:30 +0000)]
A bit of whitespace magic.

22 years agoUpdate my name here, pointed out by grep(1).
Juli Mallett [Thu, 27 Jun 2002 19:05:47 +0000 (19:05 +0000)]
Update my name here, pointed out by grep(1).

22 years agoAdd these libs from the 4.6-RELEASE.
David E. O'Brien [Thu, 27 Jun 2002 18:53:50 +0000 (18:53 +0000)]
Add these libs from the 4.6-RELEASE.
libstdc++ was bumped with the switch to Gcc 3.1, and libpam was bumped with
the switch to OpenPAM.

22 years agoAdd these libs from the 4.6-RELEASE.
David E. O'Brien [Thu, 27 Jun 2002 18:44:05 +0000 (18:44 +0000)]
Add these libs from the 4.6-RELEASE.
libstdc++ was bumped with the switch to Gcc 3.1, and libpam was bumped with
the switch to OpenPAM.

22 years agoResort namespace blocks into a more sensible order. Delete a redundant
Garrett Wollman [Thu, 27 Jun 2002 18:40:51 +0000 (18:40 +0000)]
Resort namespace blocks into a more sensible order.  Delete a redundant
comment.

22 years agoLeave it to a non-native speaker of English to catch another typo: "do do" ->
Warner Losh [Thu, 27 Jun 2002 18:16:16 +0000 (18:16 +0000)]
Leave it to a non-native speaker of English to catch another typo: "do do" ->
"to do"

submitted by: marius@alchemy.franken.de

22 years agoSpell less like a 'merkin and more like a speaker of English
Warner Losh [Thu, 27 Jun 2002 17:59:24 +0000 (17:59 +0000)]
Spell less like a 'merkin and more like a speaker of English

22 years agoDocument addition of RLIMIT_VMEM support, added in rev 1.26 of miscbltin.c.
Sheldon Hearn [Thu, 27 Jun 2002 16:56:45 +0000 (16:56 +0000)]
Document addition of RLIMIT_VMEM support, added in rev 1.26 of miscbltin.c.

22 years agoArrgh. Forgot to note that fixes for SA-02:28 have been MFC-ed.
Bruce A. Mah [Thu, 27 Jun 2002 16:47:31 +0000 (16:47 +0000)]
Arrgh.  Forgot to note that fixes for SA-02:28 have been MFC-ed.

22 years agoNew release notes: RLIMIT_VMEM, zero-copy support, SA-02:28,
Bruce A. Mah [Thu, 27 Jun 2002 16:45:42 +0000 (16:45 +0000)]
New release notes:  RLIMIT_VMEM, zero-copy support, SA-02:28,
OpenSSH 3.3p1, pkg_version(1) rewrite.

MFC noted:  sed(1) -i.

22 years agoPoint -CURRENT seekers to a snapshot site that's actually up.
Bruce A. Mah [Thu, 27 Jun 2002 16:36:17 +0000 (16:36 +0000)]
Point -CURRENT seekers to a snapshot site that's actually up.

22 years agoThe wrong y/// output got spammed into this file; from green@ indirectly.
Juli Mallett [Thu, 27 Jun 2002 16:07:51 +0000 (16:07 +0000)]
The wrong y/// output got spammed into this file; from green@ indirectly.

22 years agoCorrect the psl regression test for sed(1)'s now-fixed newline
Brian Feldman [Thu, 27 Jun 2002 15:58:59 +0000 (15:58 +0000)]
Correct the psl regression test for sed(1)'s now-fixed newline
behavior.  Add the bcb regression test which checks for failures due
to a backslash ('\') coinciding with the very last character of the
command buffer.  The regression test is cf. this PR (which I did not
know about) and has a different fix for the bug.

PR: bin/22351
Submitted by: Stefan Duerholt <stefan.duerholt@t-online.de>

22 years agoGENERIC now builds with -Werror, so remove NO_WERROR.
Maxime Henrion [Thu, 27 Jun 2002 14:43:27 +0000 (14:43 +0000)]
GENERIC now builds with -Werror, so remove NO_WERROR.

Approved by: jake

22 years agoFix style bugs I added in last commit.
Mike Silbersack [Thu, 27 Jun 2002 14:16:21 +0000 (14:16 +0000)]
Fix style bugs I added in last commit.

Spotted by: bde

22 years agoRemove pselect from application namespace and instead use a weak reference
Daniel Eischen [Thu, 27 Jun 2002 13:23:46 +0000 (13:23 +0000)]
Remove pselect from application namespace and instead use a weak reference
to the actual implementation.  This is to allow libc_r to override
pselect() making it a cancellation point.

Prompted by: wollman

22 years agoRemove improper use of <namespace.h>.
Daniel Eischen [Thu, 27 Jun 2002 13:20:54 +0000 (13:20 +0000)]
Remove improper use of <namespace.h>.
Remove fmtcheck from application name space (fix the weak reference).

22 years agoRemove improper use of <namespace.h>
Daniel Eischen [Thu, 27 Jun 2002 13:18:27 +0000 (13:18 +0000)]
Remove improper use of <namespace.h>

22 years agoCross-reference with ffs(7).
Chris Costello [Thu, 27 Jun 2002 12:15:11 +0000 (12:15 +0000)]
Cross-reference with ffs(7).

Sponsored by: DARPA, NAI Labs

22 years agoWarning fixes for 64 bits platforms. With this last fix,
Maxime Henrion [Thu, 27 Jun 2002 11:02:06 +0000 (11:02 +0000)]
Warning fixes for 64 bits platforms.  With this last fix,
I can build a GENERIC sparc64 kernel with -Werror.

Reviewed by: luigi

22 years agoFix for the problem stated below by Tor Egge:
Andrew R. Reiter [Thu, 27 Jun 2002 06:34:03 +0000 (06:34 +0000)]
Fix for the problem stated below by Tor Egge:
(from: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=832566+0+ \
       current/freebsd-current)

  "Too many pages were prefaulted in pmap_object_init_pt, thus
   the wrong physical page was entered in the pmap for the virtual
   address where the .dynamic section was supposed to be."

Submitted by: tegge
Approved by: tegge's patches never fail

22 years agoSet the UMA_ZONE_VM flag on the pvzone to avoid kmem_map recursion.
Jeff Roberson [Thu, 27 Jun 2002 04:08:45 +0000 (04:08 +0000)]
Set the UMA_ZONE_VM flag on the pvzone to avoid kmem_map recursion.

22 years agoModify bcopy (and memcpy/memmove) so that the length value is not
Mike Silbersack [Thu, 27 Jun 2002 03:55:36 +0000 (03:55 +0000)]
Modify bcopy (and memcpy/memmove) so that the length value is not
re-read from the stack mid copy.  This may help mitigate the recent
Apache buffer overrun and future overruns of the sort.

Reviewed by: jdp
MFC after: 2 days

22 years agoWhen the -p flag is specified, set an environment variable to the name
Garrett Wollman [Wed, 26 Jun 2002 21:46:56 +0000 (21:46 +0000)]
When the -p flag is specified, set an environment variable to the name
of the remote host (or rather, the name as mangled by realhostname_sa())
so that the process can use it to behave differently depending on the
origin on the request.  We use this to implement rudimentary visibility
control on our user information.

Make sure that the child process's standard error goes through the same
NVT-ASCII filter as is applied to the standard output.

Don't attempt to call logerr() from the child since stdio is not safe in
a vforked process.  Just write a message to fd 2 instead.  (Ideally, the
parent would open two pipes, and siphon off our stderr to some place less
public, but I have not attempted to do so in this implementation.)