]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoUse the new #! directive for vop_rename. Leave the old lock specification
Jeff Roberson [Sat, 6 Jul 2002 04:41:27 +0000 (04:41 +0000)]
Use the new #! directive for vop_rename.  Leave the old lock specification
intact but disabled.

22 years agoAdd "vop_rename_pre" to do pre rename lock verification. This is enabled only
Jeff Roberson [Sat, 6 Jul 2002 04:39:48 +0000 (04:39 +0000)]
Add "vop_rename_pre" to do pre rename lock verification.  This is enabled only
with DEBUG_VFS_LOCKS.

22 years agoAdd a new configuration directive that inserts calls to debugging functions
Jeff Roberson [Sat, 6 Jul 2002 03:46:36 +0000 (03:46 +0000)]
Add a new configuration directive that inserts calls to debugging functions
in the VOP inlines.  This is intended to replace the simple locking
specifications for calls that have more complicated behavior such as rename and
lookup.

The syntax of the new entries is:
#! name pre/post function

If the function is marked 'pre' it is executed prior to calling the VOP and
takes a pointer to a struct vop_{name}_args as it's only parameter.

If the function is marked 'post' it is executed after the VOP call and takes
a pointer to a struct vop_{name}_args as it's first parameter and the integer
return value from the vop as the second paramter.

22 years agoMake space for compilations.
David E. O'Brien [Sat, 6 Jul 2002 02:49:07 +0000 (02:49 +0000)]
Make space for compilations.

22 years ago Fix at least one of the things wrong with signals
Julian Elischer [Sat, 6 Jul 2002 02:45:11 +0000 (02:45 +0000)]
 Fix at least one of the things wrong with signals
 ^Z should work a lot better now.

Submitted by: peter@freebsd.org

22 years agoRemove the advertising clause from the Duke BSD copyright on the
Andrew Gallatin [Sat, 6 Jul 2002 02:44:15 +0000 (02:44 +0000)]
Remove the advertising clause from the Duke BSD copyright on the
zero-copy files

Requested by: rwatson
Approved by: Jeff Chase (my old boss at Duke)

22 years agoWe don't need to hit the user over the head so strong now that we've
David E. O'Brien [Sat, 6 Jul 2002 01:07:48 +0000 (01:07 +0000)]
We don't need to hit the user over the head so strong now that we've
fixed all the known warnings suffiently to not require NO_WERROR.

Ok'ed by: peter

22 years agoRemove bogus vm_page_wakeup() in vm_page_cowfault() that will cause panics
Andrew Gallatin [Fri, 5 Jul 2002 23:33:27 +0000 (23:33 +0000)]
Remove bogus vm_page_wakeup() in vm_page_cowfault() that will cause panics
in the zero-copy send path if a process attempts to write to a page
which is still in flight.

reviewed by: ken

22 years agoImplement the last 2-3 missing instructions for ipfw,
Luigi Rizzo [Fri, 5 Jul 2002 22:43:06 +0000 (22:43 +0000)]
Implement the last 2-3 missing instructions for ipfw,
now it should support all the instructions of the old ipfw.

Fix some bugs in the user interface, /sbin/ipfw.

Please check this code against your rulesets, so i can fix the
remaining bugs (if any, i think they will be mostly in /sbin/ipfw).

Once we have done a bit of testing, this code is ready to be MFC'ed,
together with a bunch of other changes (glue to ipfw, and also the
removal of some global variables) which have been in -current for
a couple of weeks now.

MFC after: 7 days

22 years agoFix a lock order reversal in uma_zdestroy. The uma_mtx needs to be held across
Jeff Roberson [Fri, 5 Jul 2002 21:39:52 +0000 (21:39 +0000)]
Fix a lock order reversal in uma_zdestroy.  The uma_mtx needs to be held across
calls to zone_drain().

Noticed by: scottl

22 years agoMerge rev 1.2 (FreeBSD a.out configuration support) into the
David E. O'Brien [Fri, 5 Jul 2002 20:44:29 +0000 (20:44 +0000)]
Merge rev 1.2 (FreeBSD a.out configuration support) into the
Binutils 2.12_20020622 snap.

22 years agoUse the stock 2.12.1 snapshot version of this.
David E. O'Brien [Fri, 5 Jul 2002 20:42:13 +0000 (20:42 +0000)]
Use the stock 2.12.1 snapshot version of this.

22 years agoUse the stock version of this.
David E. O'Brien [Fri, 5 Jul 2002 20:37:36 +0000 (20:37 +0000)]
Use the stock version of this.

22 years agoBring the binutils_2_12_20020622 snap version of this to the HEAD branch.
David E. O'Brien [Fri, 5 Jul 2002 20:36:17 +0000 (20:36 +0000)]
Bring the binutils_2_12_20020622 snap version of this to the HEAD branch.

22 years agoWe use the stock version of this file as in rev 1.4.
David E. O'Brien [Fri, 5 Jul 2002 20:35:38 +0000 (20:35 +0000)]
We use the stock version of this file as in rev 1.4.

22 years agoWe use the stock version of this file.
David E. O'Brien [Fri, 5 Jul 2002 20:34:21 +0000 (20:34 +0000)]
We use the stock version of this file.

22 years agoMerge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020622 snap.
David E. O'Brien [Fri, 5 Jul 2002 20:32:42 +0000 (20:32 +0000)]
Merge rev 1.6 (ELF_DYNAMIC_INTERPRETER) into Binutils 2.12_20020622 snap.

22 years agoMerge our ELF branding into Binutils 2.12_20020622 snapshot.
David E. O'Brien [Fri, 5 Jul 2002 20:30:48 +0000 (20:30 +0000)]
Merge our ELF branding into Binutils 2.12_20020622 snapshot.
(note that this will be the last Binutils update to offer our original
method of ELF branding (WANT_OLD_BRANDELF_METHOD))

22 years agoThis commit was generated by cvs2svn to compensate for changes in r99461,
David E. O'Brien [Fri, 5 Jul 2002 20:16:34 +0000 (20:16 +0000)]
This commit was generated by cvs2svn to compensate for changes in r99461,
which included commits to RCS files with non-trunk default branches.

22 years agoImport of Binutils from the FSF 2.12 branch (just post-.1 release).
David E. O'Brien [Fri, 5 Jul 2002 20:16:34 +0000 (20:16 +0000)]
Import of Binutils from the FSF 2.12 branch (just post-.1 release).
These bits are taken from the FSF anoncvs repo on 22-June-2002 23:28:00 EDT.

22 years agodd %i as an alias for %d for greater compatibility with our *BSD bretheren
Warner Losh [Fri, 5 Jul 2002 18:36:49 +0000 (18:36 +0000)]
dd %i as an alias for %d for greater compatibility with our *BSD bretheren

Obtained from: NetBSD
Reviewed by: jake, rwatson, bosko

22 years agoDon't depend on pollution in <limits.h> for the definition of
Mike Barcroft [Fri, 5 Jul 2002 15:58:27 +0000 (15:58 +0000)]
Don't depend on pollution in <limits.h> for the definition of
<stdint.h> macros.

22 years agoDocument BIOS bytecode overriding.
Takanori Watanabe [Fri, 5 Jul 2002 15:36:03 +0000 (15:36 +0000)]
Document BIOS bytecode overriding.

Pointed out by: Alex Zepeda <zipzippy@sonic.net>
Reviewed by: David Wolfskill <david@catwhisker.org>

22 years agoRewrite to use the buffer API instead of roll-your-own messaging.
Dag-Erling Smørgrav [Fri, 5 Jul 2002 15:27:26 +0000 (15:27 +0000)]
Rewrite to use the buffer API instead of roll-your-own messaging.

Suggested by: Markus Friedl <markus@openbsd.org>
Sponsored by: DARPA, NAI Labs

22 years ago(forgot to commit) We don't need --with-opie since PAM takes care of it.
Dag-Erling Smørgrav [Fri, 5 Jul 2002 15:25:55 +0000 (15:25 +0000)]
(forgot to commit) We don't need --with-opie since PAM takes care of it.

22 years agoThere is apparently no reason for the existence of the `etc' target.
Ruslan Ermilov [Fri, 5 Jul 2002 13:47:29 +0000 (13:47 +0000)]
There is apparently no reason for the existence of the `etc' target.

22 years agoWhitespace and indentation (style) fixes.
Ruslan Ermilov [Fri, 5 Jul 2002 13:39:38 +0000 (13:39 +0000)]
Whitespace and indentation (style) fixes.

22 years agoAdded DEFAULTS, to denote the contents of etc/defaults/.
Ruslan Ermilov [Fri, 5 Jul 2002 13:17:24 +0000 (13:17 +0000)]
Added DEFAULTS, to denote the contents of etc/defaults/.

Once upon a time (in rev. 1.81), COPYRIGHT and FREEBSD
were multi-value.

Moved installation of /var/log/cron to where it belongs
(this finishes the change in rev. 1.205).

Removed (with extreme prejudice) a bunch of parentheses
that unnecessarily obfuscated this makefile.

Run pwd_mkdb(8) right after master.passwd is installed.

Install nsmb.conf to /usr/share/examples/etc/.

22 years agoo Change almost all magic numbers to the appropriate constants.
Maxim Konovalov [Fri, 5 Jul 2002 11:52:54 +0000 (11:52 +0000)]
o Change almost all magic numbers to the appropriate constants.
o Fix zero payloading, unbreak ping -s 0.
o Increase socket recieve buffer, ping -s 65467 is working now.

Submitted by: anti-magic sweep based on kris's patch
Reviewed by: bde, silence on -audit
MFC after: 2 months

22 years agoMore strict ip options parsing.
Maxim Konovalov [Fri, 5 Jul 2002 11:47:33 +0000 (11:47 +0000)]
More strict ip options parsing.

Reviewed by: bde (style), silence on -audit
MFC after: 2 months

22 years agoAdd bmtphy.c
Benno Rice [Fri, 5 Jul 2002 11:08:55 +0000 (11:08 +0000)]
Add bmtphy.c

22 years agoregenerate
Benno Rice [Fri, 5 Jul 2002 11:07:42 +0000 (11:07 +0000)]
regenerate

22 years agoAdd a driver for the Broadcom BCM52xx "mini-theta" PHY. This includes the
Benno Rice [Fri, 5 Jul 2002 11:07:24 +0000 (11:07 +0000)]
Add a driver for the Broadcom BCM52xx "mini-theta" PHY.  This includes the
internal PHY on the 3COM 3C905B and 3C905C parts, however I've rigged it so
that xlphy (aka exphy) takes precedence for the time being.

If people try this with their xl cards and decide that it's a better choice,
we can switch this later.

This is the PHY used in various iMacs and possibly other GMAC-equipped
Macintoshes with 10/100 PHYs (the ones with 10/100/1000 appear to use brgphy).

Obtained from: NetBSD

22 years agoUse 3C905C instead of 3c905Cphy as the identifier for the Broadcom PHY used
Benno Rice [Fri, 5 Jul 2002 11:02:17 +0000 (11:02 +0000)]
Use 3C905C instead of 3c905Cphy as the identifier for the Broadcom PHY used
in the 3C905C.  This is mainly cosmetic.

I'm doing this mainly so we share the same identifier as NetBSD.

22 years agoFix a memory leak.
Maxim Konovalov [Fri, 5 Jul 2002 10:27:34 +0000 (10:27 +0000)]
Fix a memory leak.

PR: bin/40177
MFC after: 1 week

22 years agoCorrect the History section; uniq(1) appeared at least as early as V3.
Tim J. Robbins [Fri, 5 Jul 2002 09:44:47 +0000 (09:44 +0000)]
Correct the History section; uniq(1) appeared at least as early as V3.
Move the section to after Standards.

22 years agoRemove redundant description of input_file and output_file arguments.
Tim J. Robbins [Fri, 5 Jul 2002 09:37:34 +0000 (09:37 +0000)]
Remove redundant description of input_file and output_file arguments.

22 years agoUse err instead of errx when malloc fails. "malloc" is not a helpful
Tim J. Robbins [Fri, 5 Jul 2002 09:28:13 +0000 (09:28 +0000)]
Use err instead of errx when malloc fails. "malloc" is not a helpful
error message.

22 years agossh-keysign(8) belongs in /usr/libexec, not in /usr/bin, and needs to be
Dag-Erling Smørgrav [Fri, 5 Jul 2002 08:39:09 +0000 (08:39 +0000)]
ssh-keysign(8) belongs in /usr/libexec, not in /usr/bin, and needs to be
setuid so ssh(1) doesn't have to be.

Pointy hat to: des
Submitted by: Katsuyuki TATEISHI <katsu@iec.hiroshima-u.ac.jp>

22 years ago o Lock accesses to the free page queues in contigmalloc1().
Alan Cox [Fri, 5 Jul 2002 06:43:32 +0000 (06:43 +0000)]
 o Lock accesses to the free page queues in contigmalloc1().

22 years agoCleanups for vnode lock debugging.
Jeff Roberson [Fri, 5 Jul 2002 05:51:25 +0000 (05:51 +0000)]
Cleanups for vnode lock debugging.
 - Tell IS_LOCKING_VFS to ignore block and character devices.  specfs vnodes
aren't locked for io and they just generate lots of false positives.
 - Add newlines to the badlock prints.

22 years agoHeimdal Texinfo manual.
Ruslan Ermilov [Fri, 5 Jul 2002 05:47:13 +0000 (05:47 +0000)]
Heimdal Texinfo manual.

22 years agoRemove unnecessary includes.
Jeff Roberson [Fri, 5 Jul 2002 05:16:19 +0000 (05:16 +0000)]
Remove unnecessary includes.

22 years agoInclude systm.h before vnode.h so Debugger() and printf() are available when
Jeff Roberson [Fri, 5 Jul 2002 05:15:30 +0000 (05:15 +0000)]
Include systm.h before vnode.h so Debugger() and printf() are available when
full vnode lock debugging is enabled.

22 years agoBack out proc part of last commit. UMA manages the thread cache only, and
Peter Wemm [Fri, 5 Jul 2002 01:27:35 +0000 (01:27 +0000)]
Back out proc part of last commit.  UMA manages the thread cache only, and
we just have to deal with the kstack when told to.  We do not have a
UMA-managed cache for the proc struct and its associated upage yet.  So,
go back to the old lazy mechanism.  Note that if UMA destroys pages that
used to contain proc structures, we'll lose the corresponding upage
forever.  (zones never did this - once a page was allocated, it stayed
attached to the proc zone forever)

22 years agoCopy from sparc64/pmap.c rev 1.64 (Retrofit changes from i386/pmap.c
Peter Wemm [Fri, 5 Jul 2002 00:42:09 +0000 (00:42 +0000)]
Copy from sparc64/pmap.c rev 1.64 (Retrofit changes from i386/pmap.c
rev 1.328-1.331.) but for uarea only.  We still have our own broken
kstack code here.

22 years agoTake a shot at implementing changes from i386/pmap.c rev 1.328-1.331.
Peter Wemm [Fri, 5 Jul 2002 00:38:43 +0000 (00:38 +0000)]
Take a shot at implementing changes from i386/pmap.c rev 1.328-1.331.

22 years agoTurn on BPF_ALIGN for all non-i386 platforms, instead of having an
Peter Wemm [Fri, 5 Jul 2002 00:06:08 +0000 (00:06 +0000)]
Turn on BPF_ALIGN for all non-i386 platforms, instead of having an
ifdef list that currently lists all the non-i386 platforms that bpf
currently works on.

22 years agoBack out the previous revision
Brian Somers [Thu, 4 Jul 2002 23:33:35 +0000 (23:33 +0000)]
Back out the previous revision

Objected to by: Andre Oppermann <oppermann@pipeline.ch>

After Andre's objection, I've re-examined rfc 2759 and noted that it
says that the domain name shouldn't be used when generating the
NT-Response field.  So it looks like the bug is in freeradius rather
than in ppp.

22 years agoDisable hardware checksum offloading of IP fragments in the bge
John Polstra [Thu, 4 Jul 2002 23:19:20 +0000 (23:19 +0000)]
Disable hardware checksum offloading of IP fragments in the bge
driver.  I tried a few obvious experiments, but was unable to make
the 3c996B-T generate correct UDP checksums for transmitted fragmented
packets.  I'm not so sure the device is even capable of it.

This fixes NFS over UDP.

MFC after: 1 day

22 years ago o Resurrect vm_page_lock_queues(), vm_page_unlock_queues(), and the free
Alan Cox [Thu, 4 Jul 2002 22:07:37 +0000 (22:07 +0000)]
 o Resurrect vm_page_lock_queues(), vm_page_unlock_queues(), and the free
   queue lock (revision 1.33 of vm/vm_page.c removed them).
 o Make the free queue lock a spin lock because it's sometimes acquired
   inside of a critical section.

22 years agoDiff reduction (microoptimization) with another WIP. Move the frame
Peter Wemm [Thu, 4 Jul 2002 19:53:24 +0000 (19:53 +0000)]
Diff reduction (microoptimization) with another WIP.  Move the frame
calculation in get_ptbase() to a little later on.

22 years agoI'm not sure if that was ahd(4) who grew BOOTMFS so that it
Ruslan Ermilov [Thu, 4 Jul 2002 15:48:00 +0000 (15:48 +0000)]
I'm not sure if that was ahd(4) who grew BOOTMFS so that it
no longer fits 1.44M but...

Moved vx(4) and all miibus consumers (including miibus) out
from kern.flp to mfsroot.flp.  This leaves 9K of the free
space for kern.flp.

22 years agomdoc(7) police: a bit of tidying.
Ruslan Ermilov [Thu, 4 Jul 2002 13:22:22 +0000 (13:22 +0000)]
mdoc(7) police: a bit of tidying.

22 years agoA small cleanup.
Julian Elischer [Thu, 4 Jul 2002 12:37:13 +0000 (12:37 +0000)]
A small cleanup.

22 years agoDon;t call teh thread setup routines from here..
Julian Elischer [Thu, 4 Jul 2002 12:31:54 +0000 (12:31 +0000)]
Don;t call teh thread setup routines from here..
they are already called when uma calls thread_init()

22 years agoRestore copyright and RCSID.
Johan Karlsson [Thu, 4 Jul 2002 12:29:39 +0000 (12:29 +0000)]
Restore copyright and RCSID.
Remove duplicate $FreeBSD$, $NetBSD$.

Submitted by:   mike
Approved by:    sheldonh (mentor)

22 years agoAdd the missing dependency (gdbint.info: gdb-cfg.texi).
Ruslan Ermilov [Thu, 4 Jul 2002 11:33:59 +0000 (11:33 +0000)]
Add the missing dependency (gdbint.info: gdb-cfg.texi).
This should resume parallel builds, among other things.

22 years agoConvince lint via the standard lint-comment /* LONGLONG */ to not
Mark Murray [Thu, 4 Jul 2002 11:07:48 +0000 (11:07 +0000)]
Convince lint via the standard lint-comment /* LONGLONG */ to not
whine about our (valid) "long long" usage.

22 years agoThis header is for Solaris compatibility only (according to David
Mark Murray [Thu, 4 Jul 2002 11:05:39 +0000 (11:05 +0000)]
This header is for Solaris compatibility only (according to David
O'Brien), so add a comment to that effect to remind folks.

22 years agoFixed CLEANFILES.
Ruslan Ermilov [Thu, 4 Jul 2002 07:15:31 +0000 (07:15 +0000)]
Fixed CLEANFILES.

22 years agoUpdate another mention of <CR><CR> I missed the first time around (rev 1.2)
Tim J. Robbins [Thu, 4 Jul 2002 05:16:19 +0000 (05:16 +0000)]
Update another mention of <CR><CR> I missed the first time around (rev 1.2)

22 years agoRetrofit changes from i386/pmap.c rev 1.328-1.331.
Peter Wemm [Thu, 4 Jul 2002 01:53:09 +0000 (01:53 +0000)]
Retrofit changes from i386/pmap.c rev 1.328-1.331.

XXX should really replace the pmap_{new,swapin,swapout,dispose}_{proc,thread}
functions with the much cleaner sparc64 versions.

22 years agoDon't free pages we never allocated..
Julian Elischer [Thu, 4 Jul 2002 00:35:48 +0000 (00:35 +0000)]
Don't free pages we never allocated..

My eyes openned by: Matt

22 years agoSlight restatement of the code and remove some unused variables.
Julian Elischer [Thu, 4 Jul 2002 00:04:06 +0000 (00:04 +0000)]
Slight restatement of the code and remove some unused variables.

22 years agoAllow XFree86-4 to build
David E. O'Brien [Wed, 3 Jul 2002 23:35:06 +0000 (23:35 +0000)]
Allow XFree86-4 to build
by not creating paradoxical FLOAT_MODE subregs.

Tested by: se
Obtained from: http://gcc.gnu.org/ml/gcc/2002-06/msg01709.html

22 years agoNew release note: NetBSD whereis(1).
Bruce A. Mah [Wed, 3 Jul 2002 21:58:08 +0000 (21:58 +0000)]
New release note:  NetBSD whereis(1).

Updated release notes:  BIND 8.3.3, OpenPAM Citronella.

22 years agoIf we've given a domain name prefix as the authentication name, strip
Brian Somers [Wed, 3 Jul 2002 20:51:13 +0000 (20:51 +0000)]
If we've given a domain name prefix as the authentication name, strip
it off before passing it on to the RADIUS server for authentication.

22 years agoUpdate my email address.
Archie Cobbs [Wed, 3 Jul 2002 20:50:32 +0000 (20:50 +0000)]
Update my email address.

22 years agoAdd comments and slightly rearrange the thread stack assignment code
Julian Elischer [Wed, 3 Jul 2002 20:47:50 +0000 (20:47 +0000)]
Add comments and slightly rearrange the thread stack assignment code
to try make it less obscure.

22 years agoRemove vestiges of old code...
Julian Elischer [Wed, 3 Jul 2002 20:06:38 +0000 (20:06 +0000)]
Remove vestiges of old code...
These functions are always called on new memory so they can
not already be set up, so don't bother testing for that.
(This was left over from before we used UMA (which is cool))

22 years agoReconnect whereis
Johan Karlsson [Wed, 3 Jul 2002 19:23:50 +0000 (19:23 +0000)]
Reconnect whereis

Approved by:    sheldonh (mentor)

22 years agoSwitch to c version
Johan Karlsson [Wed, 3 Jul 2002 19:22:52 +0000 (19:22 +0000)]
Switch to c version

Approved by:    sheldonh (mentor)

22 years agocompact synopsis
Johan Karlsson [Wed, 3 Jul 2002 19:20:59 +0000 (19:20 +0000)]
compact synopsis
        s/program [program ...]/program .../
        s/program [...]/program .../

Approved by:    sheldonh (mentor)

22 years agoRemove -p flag.
Johan Karlsson [Wed, 3 Jul 2002 19:19:54 +0000 (19:19 +0000)]
Remove -p flag.
OpenBSD's implementation lacks -p, and we don't want to
support the option now, only to lose it if/when we later
switch to OpenBSD's implementation.
This functionality is provided by which(1).

Approved by:    sheldonh (mentor)

22 years agoAdd __FBSDID.
Johan Karlsson [Wed, 3 Jul 2002 19:17:59 +0000 (19:17 +0000)]
Add __FBSDID.
Remove __COPYRIGHT, __RCSID which caused an assembler warning.

Approved by:    sheldonh (mentor)

22 years ago o Make the reservation of KVA space for kernel map entries a function
Alan Cox [Wed, 3 Jul 2002 19:16:37 +0000 (19:16 +0000)]
 o Make the reservation of KVA space for kernel map entries a function
   of the KVA space's size in addition to the amount of physical memory
   and reduce it by a factor of two.

Under the old formula, our reservation amounted to one kernel map entry
per virtual page in the KVA space on a 4GB i386.

22 years agoChange to NetBSDs version of whereis.
Johan Karlsson [Wed, 3 Jul 2002 19:16:31 +0000 (19:16 +0000)]
Change to NetBSDs version of whereis.

Approved by:    sheldonh (mentor)
Obtained from:  NetBSD

22 years agoDisconnect whereis while importing version from NetBSD
Johan Karlsson [Wed, 3 Jul 2002 19:05:15 +0000 (19:05 +0000)]
Disconnect whereis while importing version from NetBSD

Approved by:  sheldonh (mentor)

22 years agoFix a typo: s/und/and/
Tom Rhodes [Wed, 3 Jul 2002 18:04:10 +0000 (18:04 +0000)]
Fix a typo: s/und/and/

Not Reviewed by: re@

22 years agoApply __FBSDID(); fix local variable(names) that stomp on global
Mark Murray [Wed, 3 Jul 2002 16:43:11 +0000 (16:43 +0000)]
Apply __FBSDID(); fix local variable(names) that stomp on global
definitions; fix some const strings; fix some signedness issues.

22 years agoApply __FBSDID(), ISOfy, fix easy warning.
Mark Murray [Wed, 3 Jul 2002 16:38:04 +0000 (16:38 +0000)]
Apply __FBSDID(), ISOfy, fix easy warning.

22 years agoFix some low-hanging lint-fruit: endianness and staticness warnings.
Mark Murray [Wed, 3 Jul 2002 16:35:20 +0000 (16:35 +0000)]
Fix some low-hanging lint-fruit: endianness and staticness warnings.

22 years agoMake it possible (again) to build and install shared library only.
Ruslan Ermilov [Wed, 3 Jul 2002 16:22:43 +0000 (16:22 +0000)]
Make it possible (again) to build and install shared library only.
One needs to define SHLIB_NAME for this to work.

Prodded by: mi

22 years agoMove appropriate information out of `DESCRIPTION' and into `SECURITY
Chris Costello [Wed, 3 Jul 2002 15:31:47 +0000 (15:31 +0000)]
Move appropriate information out of `DESCRIPTION' and into `SECURITY
CONSIDERATIONS'.

Sponsored by: DARPA, NAI Labs

22 years agoC rewrite of kbdmap/vidfont.
Mark Murray [Wed, 3 Jul 2002 14:56:08 +0000 (14:56 +0000)]
C rewrite of kbdmap/vidfont.

Submitted by: Jonathan Belson <jon@witchspace.com>
OK'ed by: wosch (Perl code maintainer)

22 years agoNote that two carriage returns aren't required after entering the
Tim J. Robbins [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

22 years agoWhitespace diffs only; this brings this file into the same whitespace
Mark Murray [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.

22 years agoAvoid checking whether each line is the last line of the file when we don't
Tim J. Robbins [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

22 years agoDon't let the pattern space become null if the `x' command is used when the
Tim J. Robbins [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

22 years agoGive k5admin a manpage.
Mark Murray [Wed, 3 Jul 2002 14:31:52 +0000 (14:31 +0000)]
Give k5admin a manpage.

22 years agoFix another POLA breakage in a new tar: in diff mode presence of file
Maxim Sobolev [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

22 years agoWhen we are extracting directory with --unlink option and the directory
Maxim Sobolev [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

22 years agoMoved checkdpadd target to where it logically belongs.
Ruslan Ermilov [Wed, 3 Jul 2002 12:44:06 +0000 (12:44 +0000)]
Moved checkdpadd target to where it logically belongs.

22 years agoTry really hard to fix parallel installs. Add a bunch of .ORDER
Ruslan Ermilov [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>

22 years agomdoc(7) police: added missing markup bits, lowercased argument names.
Ruslan Ermilov [Wed, 3 Jul 2002 12:24:11 +0000 (12:24 +0000)]
mdoc(7) police: added missing markup bits, lowercased argument names.

22 years agoRemove trailing whitespaces.
Maxim Konovalov [Wed, 3 Jul 2002 11:04:17 +0000 (11:04 +0000)]
Remove trailing whitespaces.

Approved by: luigi

22 years agoo Strict interface names comparison. The old code assumed "fxp1" == "fxp11".
Maxim Konovalov [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

22 years agoMove vfs_rootmountalloc() in vfs_mount.c and remove lite2_vfs_mountroot()
Maxime Henrion [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.

22 years agoTry clean up some of the mess that resulted from layers and layers
Julian Elischer [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.