]>
CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
tjr [Wed, 3 Jul 2002 14:42:53 +0000 (14:42 +0000)]
Note that two carriage returns aren't required after entering the
initial setup anymore (since process.c rev. 1.25). Add $FreeBSD$.
MFC after: 2 weeks
markm [Wed, 3 Jul 2002 14:42:39 +0000 (14:42 +0000)]
Whitespace diffs only; this brings this file into the same whitespace
convention as src/lib/csu/*/crt1.c.
This will make the follow up diffs easier to see and extract.
tjr [Wed, 3 Jul 2002 14:38:27 +0000 (14:38 +0000)]
Avoid checking whether each line is the last line of the file when we don't
need to know. Instead, check when we are trying to match a "$" address.
This does not change the way sed processes regular files, but makes it behave
more sensibly when used interactively.
PR: 40101
MFC after: 2 weeks
tjr [Wed, 3 Jul 2002 14:32:43 +0000 (14:32 +0000)]
Don't let the pattern space become null if the `x' command is used when the
hold space is null; some functions assume it's never null.
MFC after: 3 days
markm [Wed, 3 Jul 2002 14:31:52 +0000 (14:31 +0000)]
Give k5admin a manpage.
sobomax [Wed, 3 Jul 2002 13:01:40 +0000 (13:01 +0000)]
Fix another POLA breakage in a new tar: in diff mode presence of file
in the archive, but its absence in the file system should be reported
as difference, not as error.
Reported by: bde
sobomax [Wed, 3 Jul 2002 12:44:31 +0000 (12:44 +0000)]
When we are extracting directory with --unlink option and the directory
already exists don't spew bogus "Cannot unlink" error and exit with
non-zero code.
Reported by: bde
ru [Wed, 3 Jul 2002 12:44:06 +0000 (12:44 +0000)]
Moved checkdpadd target to where it logically belongs.
ru [Wed, 3 Jul 2002 12:28:03 +0000 (12:28 +0000)]
Try really hard to fix parallel installs. Add a bunch of .ORDER
directives to ensure that all realinstall sub-tasks are executed
after beforeinstall, similarly ensure that all afterinstall sub-
tasks are executed after realinstall. Demonstration:
all: task1 task2
.ORDER: task1 task2
task2: task2_subtask
.ORDER: task1 task2_subtask
task1 task2 task2_subtask:
@sleep `jot -r 1 0 1.0`
@echo ${.TARGET}
Without the second .ORDER directive, task2_subtask can be run in
parallel with task1.
Spotted by: Andrea Campi <andrea@webcom.it>
ru [Wed, 3 Jul 2002 12:24:11 +0000 (12:24 +0000)]
mdoc(7) police: added missing markup bits, lowercased argument names.
maxim [Wed, 3 Jul 2002 11:04:17 +0000 (11:04 +0000)]
Remove trailing whitespaces.
Approved by: luigi
maxim [Wed, 3 Jul 2002 11:00:55 +0000 (11:00 +0000)]
o Strict interface names comparison. The old code assumed "fxp1" == "fxp11".
o Use an appropriate constant for interface name buffer.
Reviewed by: luigi
Approved by: luigi
MFC after: 1 month
mux [Wed, 3 Jul 2002 09:27:24 +0000 (09:27 +0000)]
Move vfs_rootmountalloc() in vfs_mount.c and remove lite2_vfs_mountroot()
which was #if 0'd and is not likely to be used now.
julian [Wed, 3 Jul 2002 09:15:20 +0000 (09:15 +0000)]
Try clean up some of the mess that resulted from layers and layers
of p4 merges from -current as things started getting different.
Corroborated by: Similar patches just mailed by BDE.
mux [Wed, 3 Jul 2002 08:52:37 +0000 (08:52 +0000)]
Remove an unused argument in vfs_mountroot().
chris [Wed, 3 Jul 2002 08:15:55 +0000 (08:15 +0000)]
Correct a call to fcntl(F_SETFD) to use `FD_CLOEXEC' instead of `1'.
chris [Wed, 3 Jul 2002 08:13:25 +0000 (08:13 +0000)]
Add a SECURITY CONSIDERATIONS example: make note that access to open
file descriptors does not change upon dropping privilege, and include
a likely case of `setuid(non_superuser); exec(...);'.
Sponsored by: DARPA, NAI Labs
Obtained from: TrustedBSD Project
suz [Wed, 3 Jul 2002 06:48:12 +0000 (06:48 +0000)]
fixed typo.
obtained from: KAME
MFC after: 3 days
mini [Wed, 3 Jul 2002 06:42:43 +0000 (06:42 +0000)]
Add missing kernal tunables to loader.conf.
PR: i386/39085
Submitted by: David Yeske <dyeske@yahoo.com>
mini [Wed, 3 Jul 2002 06:28:04 +0000 (06:28 +0000)]
Fix off-by-one error.
PR: misc/40104
Submitted by: Neal Fachan <neal@isilon.com>
MFC after: 3 days
ru [Wed, 3 Jul 2002 06:25:28 +0000 (06:25 +0000)]
No need to explicitly set NOMAN here.
Reviewed by: jmallett
julian [Wed, 3 Jul 2002 06:15:26 +0000 (06:15 +0000)]
White space commit.
I'm working on this file but I wanted to make the whitespece commit
separatly.
julian [Wed, 3 Jul 2002 04:23:38 +0000 (04:23 +0000)]
Approved by: imp@freebsd.org
gallatin [Wed, 3 Jul 2002 02:55:48 +0000 (02:55 +0000)]
Hold the sched lock across call to forward_signal() in tdsignal() to
keep SMP systems from panic'ing when ^C'ing an app
suggested by julian
des [Wed, 3 Jul 2002 01:50:27 +0000 (01:50 +0000)]
Add mtx_ prefixes to the fields used for mutex profiling, and fix a bug
where the profiling code would report the release point instead of the
acquisition point.
Requested by: bde
des [Wed, 3 Jul 2002 00:35:09 +0000 (00:35 +0000)]
Add the "java" category.
jeff [Wed, 3 Jul 2002 00:30:51 +0000 (00:30 +0000)]
Actually use the fini callback.
Pointy hat to: me :-(
Noticed By: Julian
des [Wed, 3 Jul 2002 00:12:09 +0000 (00:12 +0000)]
- Don't enable OpenSSH's OPIE support, since we let PAM handle OPIE.
- We don't have setutent(3) etc., and I have no idea why configure ever
thought we did.
dan [Wed, 3 Jul 2002 00:12:00 +0000 (00:12 +0000)]
Make sure to reset transflag back to zero upon succesfully using sendfile()
to transfer a file.
PR: 39362
Submitted by: TANAKA Hiroyuki <kattyo@abk.nu>
MFC after: 1 week
des [Wed, 3 Jul 2002 00:08:19 +0000 (00:08 +0000)]
Two FreeBSD-specific nits in comments:
- ChallengeResponseAuthentication controls PAM, not S/Key
- We don't honor PAMAuthenticationViaKbdInt, because the code path it
controls doesn't make sense for us, so don't mention it.
Sponsored by: DARPA, NAI Labs
trhodes [Tue, 2 Jul 2002 21:13:15 +0000 (21:13 +0000)]
Fix grammar in 1 sentence
Reword 'Usually faster in most cases' to 'and is faster in most cases'
PR: 40024 (partly)
jhb [Tue, 2 Jul 2002 21:07:25 +0000 (21:07 +0000)]
Diff-reduce with 4-stable: 4.x has a compat4x package.
mp [Tue, 2 Jul 2002 21:05:08 +0000 (21:05 +0000)]
Fix typo (SIGEV_EVENT -> SIGEV_KEVENT).
trhodes [Tue, 2 Jul 2002 20:23:43 +0000 (20:23 +0000)]
GXP ATA drives also supports TQ
jhb [Tue, 2 Jul 2002 20:19:59 +0000 (20:19 +0000)]
Call the 4.x snap server "releng4.freebsd.org" instead of
"stable.freebsd.org" to be the same as 4-stable.
jhb [Tue, 2 Jul 2002 20:03:55 +0000 (20:03 +0000)]
Alpha does indeed have a COMPAT4X distribution on current. 4-stable
already has this correct.
jhb [Tue, 2 Jul 2002 19:56:26 +0000 (19:56 +0000)]
Add lge(4) to the list of drivers. It was present in 4-stable but not in
-current.
dillon [Tue, 2 Jul 2002 19:06:33 +0000 (19:06 +0000)]
Fix type-o in last commit in preparation for MFC.
mux [Tue, 2 Jul 2002 18:33:32 +0000 (18:33 +0000)]
I didn't pay enough attention when copy/pasting disclaimers.
The disclaimer in vfs_conf.c was slightly different. Fix this.
trhodes [Tue, 2 Jul 2002 18:00:20 +0000 (18:00 +0000)]
Minor spelling and grammar fixes in the atacontrol(8) manual page.
PR: 39393
mux [Tue, 2 Jul 2002 17:09:22 +0000 (17:09 +0000)]
Move every code related to mount(2) in a new file, vfs_mount.c.
The file vfs_conf.c which was dealing with root mounting has
been repo-copied into vfs_mount.c to preserve history.
This makes nmount related development easier, and help reducing
the size of vfs_syscalls.c, which is still an enormous file.
Reviewed by: rwatson
Repo-copy by: peter
julian [Tue, 2 Jul 2002 16:57:53 +0000 (16:57 +0000)]
check in the version if this that compiles, not the one that doesn't
julian [Tue, 2 Jul 2002 16:37:56 +0000 (16:37 +0000)]
Make some more debugging code go away when debugging is not turned on.
johan [Tue, 2 Jul 2002 14:33:52 +0000 (14:33 +0000)]
's/rather then/rather than/'
PR: 38096
Submitted by: Chris Pepper <pepper@rockefeller.edu>
While I'm here correct some typos pointed out by ispell.
Approved by: sheldonh (mentor)
MFC after: 1 week
des [Tue, 2 Jul 2002 13:07:37 +0000 (13:07 +0000)]
Version bump for mm_answer_pam_respond() fix.
des [Tue, 2 Jul 2002 13:07:17 +0000 (13:07 +0000)]
Fix a braino in mm_answer_pam_respond() which would cause sshd to abort if
PAM authentication failed due to an incorrect response.
ru [Tue, 2 Jul 2002 12:37:09 +0000 (12:37 +0000)]
Reimplemented bsd.nls.mk using bsd.files.mk and bsd.links.mk.
Provided the (previously missing) dependency on source files
for intermediate .msg files.
Provided the default for NLSSRCDIR (defaults to .CURDIR).
Slightly changed the API: NLS should now list plain locale
names, without the .msg suffix.
When included from bsd.prog.mk, NLSNAME defaults to PROG.
ru [Tue, 2 Jul 2002 12:16:54 +0000 (12:16 +0000)]
Handle installation of hard and symbolic links via a seperate .mk file.
ume [Tue, 2 Jul 2002 11:11:17 +0000 (11:11 +0000)]
Cope with 2292bis-01 getaddrinfo (no NI_WITHSCOPEID, always attach
scope identifier).
MFC after: 3 weeks
ume [Tue, 2 Jul 2002 11:09:02 +0000 (11:09 +0000)]
Cope with 2292bis-01 getaddrinfo (no NI_WITHSCOPEID, always attach
scope identifier).
Approved by: des
MFC after: 3 weeks
ume [Tue, 2 Jul 2002 11:05:31 +0000 (11:05 +0000)]
Make NI_WITHSCOPEID a default (always on), to synchronize
with recent 2553bis.
Obtained from: KAME
MFC after: 3 weeks
naddy [Tue, 2 Jul 2002 10:51:09 +0000 (10:51 +0000)]
LP64 cleanup: don't cast pointer to int.
mini [Tue, 2 Jul 2002 08:23:00 +0000 (08:23 +0000)]
Check retifma for NULL before using it.
PR: kern/9391
Submitted by: Assar Westerlund <assar@sics.se>
MFC after: 3 days
mini [Tue, 2 Jul 2002 08:00:20 +0000 (08:00 +0000)]
Add -g option, which restricts printing of the gecos fields to just the user's
real name.
PR: bin/39462
Submitted by: Mike Makonnen <makonnen@pacbell.net>
Obtained from: NetBSD
MFC after: 1 week
julian [Tue, 2 Jul 2002 05:40:51 +0000 (05:40 +0000)]
When going back to SLEEP state, make sure our
State is correctly marked so.
julian [Tue, 2 Jul 2002 05:33:46 +0000 (05:33 +0000)]
Fix failure to correctly transition back to sleep mode.
takawata [Tue, 2 Jul 2002 03:38:07 +0000 (03:38 +0000)]
Make interrupt driven EC transaction optional.
gad [Tue, 2 Jul 2002 02:48:21 +0000 (02:48 +0000)]
Remove the backup-versions ("x*") of various lpc commands that were
recently rewritten. No one in -current has reported any problems with
the newer versions.
MFC after: 3 weeks
imp [Tue, 2 Jul 2002 01:39:35 +0000 (01:39 +0000)]
Clarify version 1.68 to more accurately describe the intent of the change to
try to avoid ambiguous cases in the future.
Wording approved by: julian (early draft), grog, rwatson, wes and maybe other
members of core I'm forgetting.
deischen [Tue, 2 Jul 2002 01:26:16 +0000 (01:26 +0000)]
Fix a couple of minor nits that prevented this from compiling.
Pointed out by: julian
brian [Tue, 2 Jul 2002 01:03:10 +0000 (01:03 +0000)]
Fix a tyop
brian [Tue, 2 Jul 2002 00:47:24 +0000 (00:47 +0000)]
Don't trust the MPPE key lengths passed back from the RADIUS server.
Instead, use the correct values based on the number of bits actually
negotiated.
Spotted by: Sergey Korolew <ds@rt.balakovo.ru>
brian [Tue, 2 Jul 2002 00:12:24 +0000 (00:12 +0000)]
Remove some misleading/wrong diagnostics
peter [Mon, 1 Jul 2002 23:18:08 +0000 (23:18 +0000)]
#include <sys/ktrace.h> would be useful too. (for ktrace_mtx)
imp [Mon, 1 Jul 2002 22:08:43 +0000 (22:08 +0000)]
Document what splnet and splimp are in FreeBSD
luigi [Mon, 1 Jul 2002 21:30:39 +0000 (21:30 +0000)]
Move creation of password databases before starting daemons,
otherwise the latter might fail because userids are not found.
iedowse [Mon, 1 Jul 2002 20:46:01 +0000 (20:46 +0000)]
The jail syscall calls chroot, which is not mpsafe, so put back a
mtx_lock(&Giant) around that call.
Reviewed by: arr
peter [Mon, 1 Jul 2002 19:49:04 +0000 (19:49 +0000)]
Add #include "opt_ktrace.h"
jmallett [Mon, 1 Jul 2002 18:20:48 +0000 (18:20 +0000)]
DEBUG is a knob that means something else in FreeBSD, use LIBUFS_DEBUG to
turn on tracing.
jmallett [Mon, 1 Jul 2002 18:19:20 +0000 (18:19 +0000)]
In getino, have our DEBUG message in the unhandled case mention that it
does not know what sort of UFS filesystem this is.
Add some DEBUG(NULL)'s to function entry points.
jmallett [Mon, 1 Jul 2002 18:03:30 +0000 (18:03 +0000)]
Back out my minorly disputed and possibly not well thought out changes to how
arguments are processed, at least temporarily.
iedowse [Mon, 1 Jul 2002 17:59:40 +0000 (17:59 +0000)]
Use indirect function pointer hooks instead of #ifdef SOFTUPDATES
direct calls for the two places where the kernel calls into soft
updates code. Set up the hooks in softdep_initialize() and NULL
them out in softdep_uninitialize(). This change allows soft updates
to function correctly when ufs is loaded as a module.
Reviewed by: mckusick
jmallett [Mon, 1 Jul 2002 17:51:43 +0000 (17:51 +0000)]
libufs does not need built before most things, after all.
Submitted by: bde, ru
markm [Mon, 1 Jul 2002 16:40:33 +0000 (16:40 +0000)]
Modernise; ISOify, use __FBSDID(), use headers instead of hand-declaring.
Fix easy warnings.
johan [Mon, 1 Jul 2002 16:02:05 +0000 (16:02 +0000)]
Add my DoB
Approved by: sheldonh (mentor)
ru [Mon, 1 Jul 2002 14:51:42 +0000 (14:51 +0000)]
bsd.subdir.mk already has these dependencies coded.
ru [Mon, 1 Jul 2002 14:49:16 +0000 (14:49 +0000)]
Get rid of the bogus dependencies between beforeinstall, realinstall,
and afterinstall targets. Make sure they are run in sequence in the
-j case.
This fixes the recent breakage with beforeinstall being run _after_
realinstall.
Reported by: knu
chris [Mon, 1 Jul 2002 14:41:05 +0000 (14:41 +0000)]
Rename `CAVEAT' to `SECURITY CONSIDERATIONS' and move it up to
the correct location--this section consists solely of security
considerations information.
Sponsored by: DARPA, NAI Labs
Obtained from: TrustedBSD Project
maxim [Mon, 1 Jul 2002 14:30:38 +0000 (14:30 +0000)]
Remove trailing whitespaces.
maxim [Mon, 1 Jul 2002 14:29:44 +0000 (14:29 +0000)]
Move 'byte_count' calculation just before 'recvurg' check. It is a global
variable and used in myoob().
PR: bin/38928
Submitted by: Oliver Fromme <olli@secnetix.de>
MFC after: 1 month
robert [Mon, 1 Jul 2002 14:14:07 +0000 (14:14 +0000)]
- Use (OFF_TO_IDX(off) - pi) instead of (OFF_TO_IDX(off - IDX_TO_OFF(pi))).
- Reformat a comment.
maxim [Mon, 1 Jul 2002 13:18:52 +0000 (13:18 +0000)]
Remove the last EOF spaces I missed in rev. 1.43.
MFC after: 1 week
brian [Mon, 1 Jul 2002 11:19:40 +0000 (11:19 +0000)]
Remove trailing whitespace
iedowse [Mon, 1 Jul 2002 11:00:47 +0000 (11:00 +0000)]
Add the ffs bits necessary to support unloading of the ufs kernel
module. This adds an ffs_uninit() function that calls ufs_uninit()
and also calls a new softdep_uninitialize() function. Add a stub
for softdep_uninitialize() to cover the non-SOFTUPDATES case.
Reviewed by: mckusick
dwmalone [Mon, 1 Jul 2002 10:46:39 +0000 (10:46 +0000)]
Remove double #include <sys/cdef.h> and __FBSDID.
PR: 40053
Submitted by: Dan Lukes <dan@obluda.cz>
sheldonh [Mon, 1 Jul 2002 07:58:18 +0000 (07:58 +0000)]
Reconnect gdb info file to the build.
Submitted by: Szilveszter Adam <sziszi@bsd.hu>
imp [Mon, 1 Jul 2002 07:25:05 +0000 (07:25 +0000)]
Add a note to UPDATING saying that now is a bad time to update due
to some KSE/libc_r interaction.
Submitted by: julian
ru [Mon, 1 Jul 2002 07:25:02 +0000 (07:25 +0000)]
Fixed typos.
dougb [Mon, 1 Jul 2002 05:44:51 +0000 (05:44 +0000)]
Unbreak build by removing 10.named for now
jmallett [Mon, 1 Jul 2002 05:43:11 +0000 (05:43 +0000)]
Add libufs to prebuild_libs, since lots of things will want it, in time.
tjr [Mon, 1 Jul 2002 03:21:05 +0000 (03:21 +0000)]
Declare environ as char **environ like in environ(7), not char *environ[].
This corrects a problem whereby xargs could not walk the environment table
to count the amount of space it used, and treated it as if it were empty.
This problem was introduced in rev 1.15.
MFC after: 2 days
arr [Mon, 1 Jul 2002 03:15:16 +0000 (03:15 +0000)]
- In thread_userret(), remove the Giant locking and unlocking around the
call to thread_alloc().
Approved by: julian
Reviewed by: jake, jeff
alc [Mon, 1 Jul 2002 02:38:05 +0000 (02:38 +0000)]
o Remove some long dead code: from revision 1.41 of vm/vm_pager.c
3+ years ago.
o Remove some unused prototypes.
mdodd [Mon, 1 Jul 2002 02:30:11 +0000 (02:30 +0000)]
Implement a flag to disable directory creation for anonymous users.
PR: misc/38987
Submitted by: Peter da Silva <peter@abbnm.com>
MFC after: 1 week
jmallett [Mon, 1 Jul 2002 01:45:03 +0000 (01:45 +0000)]
Add libufs, a library for dealing with UFS filesystems from userland to
the build. It is here to compartmentalise functionality currently duplicated
in many notable programs in the base system. It currently handles block
reads and writes, as well as reading and writing of the filesystem superblock,
and the reading/lookup of inode data. It supports both UFS and UFS2. I
will be maintaining it, and porting programs to use it, however for now, it
is simply being built as part of world.
dougb [Mon, 1 Jul 2002 01:28:00 +0000 (01:28 +0000)]
This commit was generated by cvs2svn to compensate for changes in r99191,
which included commits to RCS files with non-trunk default branches.
dougb [Mon, 1 Jul 2002 01:23:59 +0000 (01:23 +0000)]
Install the rfc 2317 notes
dougb [Mon, 1 Jul 2002 01:23:01 +0000 (01:23 +0000)]
* Make Xlist more complete, and more concise in some case.
* Reflect additional docs we're not using anymore.
* Add some notes for next time.
dougb [Mon, 1 Jul 2002 01:20:28 +0000 (01:20 +0000)]
Resolve conflicts, generally in favor of the vendor version.
dougb [Mon, 1 Jul 2002 01:07:56 +0000 (01:07 +0000)]
This commit was generated by cvs2svn to compensate for changes in r99179,
which included commits to RCS files with non-trunk default branches.