]>
CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
Dag-Erling Smørgrav [Sat, 29 Jun 2002 11:34:13 +0000 (11:34 +0000)]
This commit was generated by cvs2svn to compensate for changes in r99060,
which included commits to RCS files with non-trunk default branches.
Dag-Erling Smørgrav [Sat, 29 Jun 2002 11:34:13 +0000 (11:34 +0000)]
Vendor import of OpenSSH 3.4p1.
Dag-Erling Smørgrav [Sat, 29 Jun 2002 11:31:02 +0000 (11:31 +0000)]
Commit config.h so we don't need autoconf to build world.
Alfred Perlstein [Sat, 29 Jun 2002 11:26:05 +0000 (11:26 +0000)]
catch up with mextfree callback change when TI_PRIVATE_JUMBOS is defined.
Pointed out by: kdm
Dag-Erling Smørgrav [Sat, 29 Jun 2002 11:25:20 +0000 (11:25 +0000)]
OpenBSD lifted this code our tree. Preserve the original CVS id.
Dag-Erling Smørgrav [Sat, 29 Jun 2002 11:22:20 +0000 (11:22 +0000)]
Use our __RCSID().
Dag-Erling Smørgrav [Sat, 29 Jun 2002 11:21:58 +0000 (11:21 +0000)]
Make sure the environment variables set by setusercontext() are passed on
to the child process.
Reviewed by: ache
Sponsored by: DARPA, NAI Labs
Dag-Erling Smørgrav [Sat, 29 Jun 2002 10:57:53 +0000 (10:57 +0000)]
Canonicize the host name before looking it up in the host file.
Sponsored by: DARPA, NAI Labs
Dag-Erling Smørgrav [Sat, 29 Jun 2002 10:57:13 +0000 (10:57 +0000)]
Apply class-imposed login restrictions.
Sponsored by: DARPA, NAI Labs
Dag-Erling Smørgrav [Sat, 29 Jun 2002 10:56:23 +0000 (10:56 +0000)]
PAM support, the FreeBSD way.
Sponsored by: DARPA, NAI Labs
Dag-Erling Smørgrav [Sat, 29 Jun 2002 10:55:18 +0000 (10:55 +0000)]
Document FreeBSD defaults.
Sponsored by: DARPA, NAI Labs
Dag-Erling Smørgrav [Sat, 29 Jun 2002 10:53:57 +0000 (10:53 +0000)]
Document FreeBSD defaults and paths.
Sponsored by: DARPA, NAI Labs
Dag-Erling Smørgrav [Sat, 29 Jun 2002 10:52:42 +0000 (10:52 +0000)]
Remove duplicate.
Dag-Erling Smørgrav [Sat, 29 Jun 2002 10:51:56 +0000 (10:51 +0000)]
Apply FreeBSD's configuration defaults.
Sponsored by: DARPA, NAI Labs
Dag-Erling Smørgrav [Sat, 29 Jun 2002 10:49:57 +0000 (10:49 +0000)]
Add the VersionAddendum configuration variable.
Sponsored by: DARPA, NAI Labs
Dag-Erling Smørgrav [Sat, 29 Jun 2002 10:44:37 +0000 (10:44 +0000)]
Support OPIE as an alternative to S/Key.
Sponsored by: DARPA, NAI Labs
Dag-Erling Smørgrav [Sat, 29 Jun 2002 10:39:14 +0000 (10:39 +0000)]
Document the upgrade process.
Dag-Erling Smørgrav [Sat, 29 Jun 2002 10:39:02 +0000 (10:39 +0000)]
Files we don't want to import.
Benno Rice [Sat, 29 Jun 2002 10:00:07 +0000 (10:00 +0000)]
Add an inline to call eieio.
("Enforce In-order Execution of I/O". I am not making this up.)
Benno Rice [Sat, 29 Jun 2002 09:55:57 +0000 (09:55 +0000)]
We don't need to clear RI in the MSR when entering a critical section.
Benno Rice [Sat, 29 Jun 2002 09:50:20 +0000 (09:50 +0000)]
Add in_cksum.c
Benno Rice [Sat, 29 Jun 2002 09:49:26 +0000 (09:49 +0000)]
in_cksum et al.
Submitted by: Peter Grehan <peterg@ptree32.com.au>
Benno Rice [Sat, 29 Jun 2002 09:47:06 +0000 (09:47 +0000)]
Implement vtophys()
Benno Rice [Sat, 29 Jun 2002 09:45:59 +0000 (09:45 +0000)]
Add pmap_mapdev and pmap_unmapdev.
Benno Rice [Sat, 29 Jun 2002 09:43:59 +0000 (09:43 +0000)]
- Initialise battable to cover I/O spaces.
- Statically size the bpvo entries to avoid conflicts between bpvo allocation
and the vm allocator.
- Shift pmap_init2 code into pmap_init.
- Add UMA_ZONE_VM flag to uma_zcreate.
Submitted by: Peter Grehan <peterg@ptree32.com.au>
Benno Rice [Sat, 29 Jun 2002 09:39:44 +0000 (09:39 +0000)]
To quote Peter:
The case in cpu_switch() where there isn't a higher priority thread
(choosethread() == curthread) uses r4 as the PCB context pointer. However, the
use of r4 after the label L2 is incorrect, since it was probably trashed by
the call to choosethread, and in any case was set up to curthread at the start
of the routine.
This condition will occur when an interrupt thread schedules a netisr, which
is a lower priority thread.
Another (probably unnecessary) difference is that I was paranoid about
register trashing, so I decided to save r2 and r13 as well.
Submitted by: Peter Grehan <peterg@ptree32.com.au>
Benno Rice [Sat, 29 Jun 2002 09:34:54 +0000 (09:34 +0000)]
mempcy/bcopy handles overlapping copies so make ovbcopy call it.
Benno Rice [Sat, 29 Jun 2002 09:33:18 +0000 (09:33 +0000)]
Add BOOTP_NFSROOT support code.
Benno Rice [Sat, 29 Jun 2002 09:31:27 +0000 (09:31 +0000)]
- Use tmpstk exclusively in the init path.
- Remove redundant code.
Submitted by: Peter Grehan <peterg@ptree32.com.au>
Benno Rice [Sat, 29 Jun 2002 09:28:21 +0000 (09:28 +0000)]
Many fixes to low-level trap and interrupt handling:
- Tidy up clock code. Don't repeatedly call hardclock().
- Remove intrnames, decrnest and intrcnt from locore.s
- Coalesce all trap handling into a single stub that then calls a dispatch
function.
Submitted by: Peter Grehan <peterg@ptree32.com.au>
Peter Wemm [Sat, 29 Jun 2002 09:21:14 +0000 (09:21 +0000)]
To avoid anybody else getting caught out, these two files are really
in /sys/boot/common and are actually used there.
Benno Rice [Sat, 29 Jun 2002 09:16:30 +0000 (09:16 +0000)]
Convert this from mostly inline assembler to mostly C.
Submitted by: Peter Grehan <peterg@ptree32.com.au>
Peter Wemm [Sat, 29 Jun 2002 09:00:47 +0000 (09:00 +0000)]
Update from NetBSD 1.3 -> 1.6. Most notable, rev 1.6:
"Make in_cksum work on little endian machines"
This would explain a few things. :-)
Julian Elischer [Sat, 29 Jun 2002 07:47:20 +0000 (07:47 +0000)]
Don't use the static thread.. it is going away.
Julian Elischer [Sat, 29 Jun 2002 07:16:24 +0000 (07:16 +0000)]
remove cruft
Julian Elischer [Sat, 29 Jun 2002 07:04:59 +0000 (07:04 +0000)]
Add files that are new for KSE.
Jake Burkholder [Sat, 29 Jun 2002 06:37:24 +0000 (06:37 +0000)]
Fix a deletion during traversal tailq bug.
Tim J. Robbins [Sat, 29 Jun 2002 05:31:26 +0000 (05:31 +0000)]
Avoid truncating filenames with snprintf().
Tim J. Robbins [Sat, 29 Jun 2002 04:52:33 +0000 (04:52 +0000)]
Avoid truncating the pathname to UNIX Domain Sockets with snprintf(),
giving a more sensible warning when the (relatively meagre) sun_path
limit is exceeded.
David E. O'Brien [Sat, 29 Jun 2002 04:45:09 +0000 (04:45 +0000)]
Rename the db command lockedvnodes to lockedvnods so that it fits on the
help screen and one doens't think we have a lockedvnodesmap command.
David E. O'Brien [Sat, 29 Jun 2002 04:42:03 +0000 (04:42 +0000)]
Do NOT enable ATA_STATIC_ID -- cmd646 controller will be !ata2!,
and you will not mount an ATA /:
mountroot> ufs:/ad0a
Mounting root from ufs:/ad0a
setrootbyname failed
ffs_mountroot: can't find rootvp
Tim J. Robbins [Sat, 29 Jun 2002 04:10:40 +0000 (04:10 +0000)]
Check that snprintf() does not truncate the destination pathname when
linking into a directory.
David E. O'Brien [Sat, 29 Jun 2002 03:23:51 +0000 (03:23 +0000)]
Use __FBSDID.
David E. O'Brien [Sat, 29 Jun 2002 03:23:18 +0000 (03:23 +0000)]
Add frexp(3).
Obtained from: OpenBSD
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.
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)
David E. O'Brien [Sat, 29 Jun 2002 03:16:40 +0000 (03:16 +0000)]
Allow to compile and at least startup on sparc64.
Peter Wemm [Sat, 29 Jun 2002 02:32:34 +0000 (02:32 +0000)]
Remove a couple of __P() stragglers.
Alfred Perlstein [Sat, 29 Jun 2002 02:00:02 +0000 (02:00 +0000)]
more caddr_t removal.
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
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.
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.
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.
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.
Alfred Perlstein [Sat, 29 Jun 2002 01:36:59 +0000 (01:36 +0000)]
catch up with ext_free prototype change.
David E. O'Brien [Sat, 29 Jun 2002 01:16:01 +0000 (01:16 +0000)]
Bmake bits for GDB 5.2.
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
David E. O'Brien [Sat, 29 Jun 2002 00:41:02 +0000 (00:41 +0000)]
Note that this is a modified version of GDB.
David E. O'Brien [Sat, 29 Jun 2002 00:38:44 +0000 (00:38 +0000)]
Use the stock source.
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.
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 *.
Alfred Perlstein [Sat, 29 Jun 2002 00:02:01 +0000 (00:02 +0000)]
nuke more instances of caddr_t
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 *).
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.
Alfred Perlstein [Fri, 28 Jun 2002 23:17:36 +0000 (23:17 +0000)]
nuke caddr_t.
Alfred Perlstein [Fri, 28 Jun 2002 23:17:08 +0000 (23:17 +0000)]
change struct socket -> so_pcb from caddr_t to void *.
Alfred Perlstein [Fri, 28 Jun 2002 23:02:38 +0000 (23:02 +0000)]
Remove unneeded casts to caddr_t.
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 *.
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"
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
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.
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.
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.
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.
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
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>
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.
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
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
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.
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>
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
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.
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
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.
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>
Tim J. Robbins [Fri, 28 Jun 2002 09:31:03 +0000 (09:31 +0000)]
Document the fairly obvious effects of the PATH environment variable.
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.
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.
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.
Doug Rabson [Fri, 28 Jun 2002 08:36:26 +0000 (08:36 +0000)]
Fix warning.
Reviewed by: luigi
Julian Elischer [Fri, 28 Jun 2002 08:10:07 +0000 (08:10 +0000)]
bring Makefile up to date with new ipfw
Submitted by: luigi
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
Andrey A. Chernov [Fri, 28 Jun 2002 04:59:39 +0000 (04:59 +0000)]
Overwrite "term" from login.conf(5) for any known TERM
Bruce A. Mah [Fri, 28 Jun 2002 04:53:44 +0000 (04:53 +0000)]
Use full URL path in references to the Handbook.
Matthew Dillon [Fri, 28 Jun 2002 04:26:07 +0000 (04:26 +0000)]
Add my entry to the mojo file.
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.
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.
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.
CHOI Junho [Fri, 28 Jun 2002 01:42:45 +0000 (01:42 +0000)]
add my entry.