]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoThis commit was generated by cvs2svn to compensate for changes in r78844,
David E. O'Brien [Tue, 26 Jun 2001 18:26:26 +0000 (18:26 +0000)]
This commit was generated by cvs2svn to compensate for changes in r78844,
which included commits to RCS files with non-trunk default branches.

23 years agoImport of GNU Binutils version 2.11.2.
David E. O'Brien [Tue, 26 Jun 2001 18:26:26 +0000 (18:26 +0000)]
Import of GNU Binutils version 2.11.2.

23 years agoAdd support for linksys instant wireless.
Dan Moschuk [Tue, 26 Jun 2001 18:22:12 +0000 (18:22 +0000)]
Add support for linksys instant wireless.

Approved by: imp

23 years agoUpgrade to Binutils 2.11.2.
David E. O'Brien [Tue, 26 Jun 2001 18:20:46 +0000 (18:20 +0000)]
Upgrade to Binutils 2.11.2.

23 years agoMerge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
David E. O'Brien [Tue, 26 Jun 2001 17:57:37 +0000 (17:57 +0000)]
Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
into Binutils 2.11.2.

23 years agoWe use the stock (2.11.2) version of this now.
David E. O'Brien [Tue, 26 Jun 2001 17:56:02 +0000 (17:56 +0000)]
We use the stock (2.11.2) version of this now.

23 years agoMerge rev 1.2 (FreeBSD configuration support) into Binutils 2.11.2.
David E. O'Brien [Tue, 26 Jun 2001 17:54:12 +0000 (17:54 +0000)]
Merge rev 1.2 (FreeBSD configuration support) into Binutils 2.11.2.

23 years agoWe use the stock (2.11.2) version of this file now.
David E. O'Brien [Tue, 26 Jun 2001 17:53:08 +0000 (17:53 +0000)]
We use the stock (2.11.2) version of this file now.

23 years agoUse the stock (2.11.2) version of this now.
David E. O'Brien [Tue, 26 Jun 2001 17:51:35 +0000 (17:51 +0000)]
Use the stock (2.11.2) version of this now.

23 years agoUse the vendor's 2.11.2 version of this file as in rev 1.4.
David E. O'Brien [Tue, 26 Jun 2001 17:45:23 +0000 (17:45 +0000)]
Use the vendor's 2.11.2 version of this file as in rev 1.4.

23 years agoMerge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.11.2.
David E. O'Brien [Tue, 26 Jun 2001 17:44:22 +0000 (17:44 +0000)]
Merge rev 1.2 (configuration changes to support FreeBSD) into Binutils 2.11.2.

23 years agoReally wish this could back on the vendor branch...
David E. O'Brien [Tue, 26 Jun 2001 17:43:37 +0000 (17:43 +0000)]
Really wish this could back on the vendor branch...
Commit the stock 2.11.2 version.

23 years agoMerge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
David E. O'Brien [Tue, 26 Jun 2001 17:17:04 +0000 (17:17 +0000)]
Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere) into Binutils 2.11.2.

23 years agoMerge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
David E. O'Brien [Tue, 26 Jun 2001 17:15:34 +0000 (17:15 +0000)]
Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
elsewhere.) into Binutils 2.11.2.

23 years agoMerge our ELF branding into Binutils 2.11.2.
David E. O'Brien [Tue, 26 Jun 2001 17:14:56 +0000 (17:14 +0000)]
Merge our ELF branding into Binutils 2.11.2.

23 years agoUpgrade to 2.11.2.
David E. O'Brien [Tue, 26 Jun 2001 17:13:11 +0000 (17:13 +0000)]
Upgrade to 2.11.2.

23 years agoImport of GNU Binutils version 2.11.2.
David E. O'Brien [Tue, 26 Jun 2001 16:57:43 +0000 (16:57 +0000)]
Import of GNU Binutils version 2.11.2.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r78828,
David E. O'Brien [Tue, 26 Jun 2001 16:57:43 +0000 (16:57 +0000)]
This commit was generated by cvs2svn to compensate for changes in r78828,
which included commits to RCS files with non-trunk default branches.

23 years agoBack out the last change which is probably actually a red herring. Argh!
Brian Feldman [Tue, 26 Jun 2001 15:15:22 +0000 (15:15 +0000)]
Back out the last change which is probably actually a red herring.  Argh!

23 years agoDon't pointlessly kill a channel because the first (forced)
Brian Feldman [Tue, 26 Jun 2001 14:17:35 +0000 (14:17 +0000)]
Don't pointlessly kill a channel because the first (forced)
non-blocking read returns 0.

Now I can finally tunnel CVSUP again...

23 years ago"host name and user" -> "host and user name"
Nik Clayton [Tue, 26 Jun 2001 14:04:28 +0000 (14:04 +0000)]
"host name and user" -> "host and user name"

Submitted by: Rich Morin <rdm@cfcl.com>

23 years agoDocument dist/, cdrom/, compat/, and /usr/compat/, fix a couple of
Nik Clayton [Tue, 26 Jun 2001 14:03:11 +0000 (14:03 +0000)]
Document dist/, cdrom/, compat/, and /usr/compat/, fix a couple of
{typ,think}os.

Submitted by: Rich Morin <rdm@cfcl.com>

23 years agoDon't initialise ret in atomic_cmpset_32.
Benno Rice [Tue, 26 Jun 2001 13:54:17 +0000 (13:54 +0000)]
Don't initialise ret in atomic_cmpset_32.
Add more synchronisation.

23 years agoMention the path to the README file in the header comment.
Nik Clayton [Tue, 26 Jun 2001 13:50:33 +0000 (13:50 +0000)]
Mention the path to the README file in the header comment.

Submitted by: Rich Morin <rdm@cfcl.com>

23 years agoAdd awi.4
Atsushi Onoe [Tue, 26 Jun 2001 13:27:47 +0000 (13:27 +0000)]
Add awi.4

23 years agoDelete the note from BUGS: "Doesn't support WEP".
Atsushi Onoe [Tue, 26 Jun 2001 13:26:16 +0000 (13:26 +0000)]
Delete the note from BUGS: "Doesn't support WEP".
minor updates from NetBSD.

23 years agoThe information about how to integrate this driver into BSDs is obsoleted,
Atsushi Onoe [Tue, 26 Jun 2001 13:15:14 +0000 (13:15 +0000)]
The information about how to integrate this driver into BSDs is obsoleted,
and no longer needed.

23 years agoFix capability information in association request to reflect ESS/IBSS mode.
Atsushi Onoe [Tue, 26 Jun 2001 13:10:30 +0000 (13:10 +0000)]
Fix capability information in association request to reflect ESS/IBSS mode.
This fix is required to interoperate with Cisco's access point.
Obtained from: NetBSD current

23 years agoFix keyid bit position of encrypted packet to make non-first key usable.
Atsushi Onoe [Tue, 26 Jun 2001 13:08:44 +0000 (13:08 +0000)]
Fix keyid bit position of encrypted packet to make non-first key usable.
Obtained from: NetBSD current

23 years agoFix previous enhancement to add support for new ifconfig interface.
Atsushi Onoe [Tue, 26 Jun 2001 13:06:12 +0000 (13:06 +0000)]
Fix previous enhancement to add support for new ifconfig interface.

23 years agoMerged from the following changes.
Yoshihiro Takahashi [Tue, 26 Jun 2001 11:53:12 +0000 (11:53 +0000)]
Merged from the following changes.

  sys/isa/ppc.c      revisions from 1.27 to 1.34
  sys/isa/ppcreg.h   revisions from 1.10 to 1.15
  sys/isa/isareg.h   revision 1.6

23 years agoMerged from sys/isa/sio.c revision 1.335.
Yoshihiro Takahashi [Tue, 26 Jun 2001 11:48:17 +0000 (11:48 +0000)]
Merged from sys/isa/sio.c revision 1.335.

23 years agoMerged from sys/i386/isa/isa_dma.c revision 1.7.
Yoshihiro Takahashi [Tue, 26 Jun 2001 11:47:24 +0000 (11:47 +0000)]
Merged from sys/i386/isa/isa_dma.c revision 1.7.

23 years agoMerged from sys/isa/syscons_isa.c revision 1.16.
Yoshihiro Takahashi [Tue, 26 Jun 2001 11:46:42 +0000 (11:46 +0000)]
Merged from sys/isa/syscons_isa.c revision 1.16.

23 years agoMerged from sys/dev/syscons/scterm-sc.c revison 1.15.
Yoshihiro Takahashi [Tue, 26 Jun 2001 11:45:54 +0000 (11:45 +0000)]
Merged from sys/dev/syscons/scterm-sc.c revison 1.15.

23 years agoMerged from sys/dev/syscons/syscons.c revisons 1.358 and 1.360.
Yoshihiro Takahashi [Tue, 26 Jun 2001 11:45:01 +0000 (11:45 +0000)]
Merged from sys/dev/syscons/syscons.c revisons 1.358 and 1.360.

23 years agoMerged from sys/isa/fd.c revisions 1.198, 1.199, 1.200, 1.202 and 1.204.
Yoshihiro Takahashi [Tue, 26 Jun 2001 11:44:21 +0000 (11:44 +0000)]
Merged from sys/isa/fd.c revisions 1.198, 1.199, 1.200, 1.202 and 1.204.

23 years agoMerged from sys/i386/include/bus_at386.h revision 1.14.
Yoshihiro Takahashi [Tue, 26 Jun 2001 11:36:45 +0000 (11:36 +0000)]
Merged from sys/i386/include/bus_at386.h revision 1.14.

23 years agoMerged from sys/dev/aic/aic_isa.c revision 1.8.
Yoshihiro Takahashi [Tue, 26 Jun 2001 11:35:46 +0000 (11:35 +0000)]
Merged from sys/dev/aic/aic_isa.c revision 1.8.

23 years agoUse the correct printf format to print a long.
David Malone [Tue, 26 Jun 2001 11:11:30 +0000 (11:11 +0000)]
Use the correct printf format to print a long.

Approved by: cracauer

23 years agoBring in fix from NetBSD's revision 1.16:
Ruslan Ermilov [Tue, 26 Jun 2001 09:00:50 +0000 (09:00 +0000)]
Bring in fix from NetBSD's revision 1.16:

Pass the correct destination address for the route-to-gateway case.

PR: kern/10607
MFC after: 2 weeks

23 years agoCommented out pcm hints.
KATO Takenori [Tue, 26 Jun 2001 08:27:00 +0000 (08:27 +0000)]
Commented out pcm hints.

Pointed out by: nyan

23 years agoSubmitted by: hm
Ruslan Ermilov [Tue, 26 Jun 2001 08:00:43 +0000 (08:00 +0000)]
Submitted by: hm

23 years agoBack out previous commit; this can't compile with WARNS=2 because
Dima Dorfman [Tue, 26 Jun 2001 07:31:00 +0000 (07:31 +0000)]
Back out previous commit; this can't compile with WARNS=2 because
xdr.h isn't warning-free.

Submitted by: ru

23 years agoShare my DOB with the world!
Dan Moschuk [Tue, 26 Jun 2001 05:04:03 +0000 (05:04 +0000)]
Share my DOB with the world!

23 years agoOriginally stated wrong birthplace, thought it was current location.
David W. Chapman Jr. [Tue, 26 Jun 2001 04:11:19 +0000 (04:11 +0000)]
Originally stated wrong birthplace, thought it was current location.

23 years agoRecognize FC-PGA2 Pentium III (Tualatin).
KATO Takenori [Tue, 26 Jun 2001 03:02:30 +0000 (03:02 +0000)]
Recognize FC-PGA2 Pentium III (Tualatin).

23 years agoRemove two duplicate tips and correct formatting of an attribution.
Dima Dorfman [Tue, 26 Jun 2001 02:36:26 +0000 (02:36 +0000)]
Remove two duplicate tips and correct formatting of an attribution.

23 years agoThe `file' argument is optional.
Dima Dorfman [Tue, 26 Jun 2001 02:14:13 +0000 (02:14 +0000)]
The `file' argument is optional.

Obtained from: OpenBSD

23 years agoCorrect usage.
Dima Dorfman [Tue, 26 Jun 2001 02:11:48 +0000 (02:11 +0000)]
Correct usage.

23 years agoConvert to nl_langinfo(CODESET)
Andrey A. Chernov [Tue, 26 Jun 2001 01:43:52 +0000 (01:43 +0000)]
Convert to nl_langinfo(CODESET)

23 years agoFixed miss merging from revision 1.102.
Yoshihiro Takahashi [Tue, 26 Jun 2001 00:47:54 +0000 (00:47 +0000)]
Fixed miss merging from revision 1.102.

23 years agoFix name for de manpages dir
Andrey A. Chernov [Tue, 26 Jun 2001 00:43:28 +0000 (00:43 +0000)]
Fix name for de manpages dir

23 years agoRemove aliases not needed for new man version
Andrey A. Chernov [Tue, 26 Jun 2001 00:41:07 +0000 (00:41 +0000)]
Remove aliases not needed for new man version

23 years agoActually implement -a as documented since import (set access point density).
Brooks Davis [Tue, 26 Jun 2001 00:12:58 +0000 (00:12 +0000)]
Actually implement -a as documented since import (set access point density).
Remove documentation for short-lived usage as "print keys in ASCII."

PR: bin/21803
MFC after: 1 week

23 years agoOutput the current TX rate when showing status.
Brooks Davis [Tue, 26 Jun 2001 00:00:58 +0000 (00:00 +0000)]
Output the current TX rate when showing status.

PR: bin/25470

23 years agoAllow the clock lock to recurse.
John Baldwin [Mon, 25 Jun 2001 23:56:56 +0000 (23:56 +0000)]
Allow the clock lock to recurse.

23 years ago- Grab the vm lock around all of pmap_emulate_reference() as it manipulates
John Baldwin [Mon, 25 Jun 2001 23:52:25 +0000 (23:52 +0000)]
- Grab the vm lock around all of pmap_emulate_reference() as it manipulates
  vm_page_t's.
- Add a KTR_TRAP tracepoint to trap() on the alpha that displays the
  contents of a0, a1, and a2 to make debugging of nested traps that
  panic before displaying any useful output easier.

23 years ago- Move the 'clk' spinlock below other spin locks since KTR trace events
John Baldwin [Mon, 25 Jun 2001 23:17:52 +0000 (23:17 +0000)]
- Move the 'clk' spinlock below other spin locks since KTR trace events
  may need the clock lock for nanotime().
- Add KTR trace events for lock list manipulations and other witness
  operations.
- Use a temporary variable instead of setting the lock list head directly
  and then setting up the links to add a new lock list entry to the lock
  list.  This small race could result in witness "forgetting" about all
  the locks held by this process temporarily during an interrupt.
- Close a more fatal race condition when removing a lock from a list.
  Removing a lock from the list entails both decrementing the count of
  items in this bucket as well as shuffling items in the current bucket up
  a notch to replace the gap left by the removed item.  Wrap these
  operations in a critical section.

23 years ago- Replace the unused KTR_IDLELOOP trace class with a new KTR_WITNESS trace
John Baldwin [Mon, 25 Jun 2001 23:09:31 +0000 (23:09 +0000)]
- Replace the unused KTR_IDLELOOP trace class with a new KTR_WITNESS trace
  class to trace witness events.
- Make the ktr_cpu field of ktr_entry be a standard field rather than one
  present only in the KTR_EXTEND case.
- Move the default definition of KTR_ENTRIES from sys/ktr.h to
  kern/kern_ktr.c.  It has not been needed in the header file since KTR
  was un-inlined.
- Minor include cleanup in kern/kern_ktr.c.
- Fiddle with the ktr_cpumask in ktr_tracepoint() to disable KTR events
  on the current CPU while we are processing an event.
- Set the current CPU inside of the critical section to ensure we don't
  migrate CPU's after the critical section but before we set the CPU.

23 years agoAdd support for the Cisco Aironet 350 Series of adaptors. Also, make
Brooks Davis [Mon, 25 Jun 2001 22:07:19 +0000 (22:07 +0000)]
Add support for the Cisco Aironet 350 Series of adaptors.  Also, make
a minor ocrrection to the Aironet 340 Series comment.

Approved by: imp (in principle)

23 years agoAdmit the shameful truth; I'm really from the east coast. But I left
Mike Smith [Mon, 25 Jun 2001 21:37:43 +0000 (21:37 +0000)]
Admit the shameful truth; I'm really from the east coast.  But I left
shortly after I was born.  Honest!

23 years agoSilence -Wshadow and -Wmissing-prototypes; set WARNS=2.
Dima Dorfman [Mon, 25 Jun 2001 21:25:27 +0000 (21:25 +0000)]
Silence -Wshadow and -Wmissing-prototypes; set WARNS=2.

Submitted by:  Mike Barcroft <mike@q9media.com>

23 years agoANSIize, staticize, and unsignedize; set WARNS=2.
Dima Dorfman [Mon, 25 Jun 2001 21:12:52 +0000 (21:12 +0000)]
ANSIize, staticize, and unsignedize; set WARNS=2.

Submitted by: Mike Barcroft <mike@q9media.com>

23 years agoRewrite locale handling using nl_langinfo(CODESET), so aliases not needed here
Andrey A. Chernov [Mon, 25 Jun 2001 21:11:43 +0000 (21:11 +0000)]
Rewrite locale handling using nl_langinfo(CODESET), so aliases not needed here
now

23 years agoConstify and set WARNS=2.
Dima Dorfman [Mon, 25 Jun 2001 21:06:15 +0000 (21:06 +0000)]
Constify and set WARNS=2.

Submitted by: Mike Barcroft <mike@q9media.com
Reviewed by: md5(1)

23 years agoWhat to do when :w tells you you haven't got permission.
Brian Somers [Mon, 25 Jun 2001 21:05:55 +0000 (21:05 +0000)]
What to do when :w tells you you haven't got permission.

23 years agoReturn "" if reallocf() fails
Andrey A. Chernov [Mon, 25 Jun 2001 20:56:59 +0000 (20:56 +0000)]
Return "" if reallocf() fails

23 years agoDescribe success return value
Andrey A. Chernov [Mon, 25 Jun 2001 20:50:06 +0000 (20:50 +0000)]
Describe success return value

23 years agoMention that sh supports command line editing
Brian Somers [Mon, 25 Jun 2001 20:45:52 +0000 (20:45 +0000)]
Mention that sh supports command line editing

23 years agoMention that vi supports split-screen mode.
Brian Somers [Mon, 25 Jun 2001 20:44:03 +0000 (20:44 +0000)]
Mention that vi supports split-screen mode.

23 years agoSuggest using .login/.profile to set environment variables, not
Brian Somers [Mon, 25 Jun 2001 20:41:42 +0000 (20:41 +0000)]
Suggest using .login/.profile to set environment variables, not
.cshrc/.bashrc/.zshrc/.shrc

23 years agoAutomatically exec bash at startup if it exists^U Turn on the display of
Nik Clayton [Mon, 25 Jun 2001 20:40:02 +0000 (20:40 +0000)]
Automatically exec bash at startup if it exists^U Turn on the display of
tips from the freebsd-tips database at login time.

23 years agoAdd an acceleration option to moused
George C A Reid [Mon, 25 Jun 2001 20:15:34 +0000 (20:15 +0000)]
Add an acceleration option to moused

PR: 28369
Submitted by: Daniel O'Connor <darius@dons.net.au>
manpage reviewed by: ru
MFC after: 10 days

23 years ago- Sort includes.
John Baldwin [Mon, 25 Jun 2001 18:30:42 +0000 (18:30 +0000)]
- Sort includes.
- Count the context switches during shutdown when we give ithreads a chance
  to run as volutary context switches.

Submitted by: bde (2)

23 years agoCount the context switch when blocking on a mutex as a voluntary context
John Baldwin [Mon, 25 Jun 2001 18:29:32 +0000 (18:29 +0000)]
Count the context switch when blocking on a mutex as a voluntary context
switch.  Count the context switch when preempting the current thread to let
a higher priority thread blocked on a mutex we just released run as an
involuntary context switch.

Reported by: bde

23 years agoCount the switch when an ithread goes idle as a voluntary context switch.
John Baldwin [Mon, 25 Jun 2001 18:27:33 +0000 (18:27 +0000)]
Count the switch when an ithread goes idle as a voluntary context switch.

Submitted by: bde

23 years agoWe don't need the vm lock to perform a few simple calculations on the
John Baldwin [Mon, 25 Jun 2001 18:24:52 +0000 (18:24 +0000)]
We don't need the vm lock to perform a few simple calculations on the
md device's softc.

23 years agoFix cut-n-paste brain-o.
John Baldwin [Mon, 25 Jun 2001 16:38:09 +0000 (16:38 +0000)]
Fix cut-n-paste brain-o.

Pointy-hat to: me

23 years agoAdd code to detect Transmeta Crusoe cpus.
Doug Rabson [Mon, 25 Jun 2001 15:11:33 +0000 (15:11 +0000)]
Add code to detect Transmeta Crusoe cpus.

23 years agoSubmitted by: andreas
Ruslan Ermilov [Mon, 25 Jun 2001 09:11:45 +0000 (09:11 +0000)]
Submitted by: andreas

23 years agoAdd transition period hack allowing old locale names return proper codeset too
Andrey A. Chernov [Mon, 25 Jun 2001 09:03:10 +0000 (09:03 +0000)]
Add transition period hack allowing old locale names return proper codeset too

23 years agoOnly checksum stdin if nothing has been checksummed yet.
Ruslan Ermilov [Mon, 25 Jun 2001 08:52:57 +0000 (08:52 +0000)]
Only checksum stdin if nothing has been checksummed yet.

PR: bin/28386

23 years agoPrevious commit broke dd(1)'s I/O summary when it's terminated by a
Dima Dorfman [Mon, 25 Jun 2001 06:17:02 +0000 (06:17 +0000)]
Previous commit broke dd(1)'s I/O summary when it's terminated by a
signal.  Fix it by adding an explicit call to summary() in terminate()
(it was previously called implicitly by exit() because summary() was
registered with atexit()).  summary() is supposed to be signal-safe--
it handles SIGINFO almost exclusively--so this should be safe.

Submitted by: bde

23 years agoDriver modifications consistent with my other drivers to facilitate
Mike Smith [Mon, 25 Jun 2001 04:32:31 +0000 (04:32 +0000)]
Driver modifications consistent with my other drivers to facilitate
the use of a single set of sources across 4.x and 5.x branches.

No significant code changes.

23 years agoWork around a bug in the current interrupt system by explicitly
Warner Losh [Mon, 25 Jun 2001 04:13:54 +0000 (04:13 +0000)]
Work around a bug in the current interrupt system by explicitly
rejecting INTR_FAST interrupts.  Since they can't be shared anyway,
this just short circuits a failure case that should work but is panic
fodder now.

This bug is that if the interrut condiation is active when you activate
the interrupt, then the interrupt routine will be called.  jhb had
a patch that may or may not work to fix it, but I've lost it.

This may be due to the sio probe doing something odd too.

23 years agoMake 'lpc clean' somewhat safer. Add an 'lpc tclean' command, which allows
Garance A Drosehn [Mon, 25 Jun 2001 02:05:03 +0000 (02:05 +0000)]
Make 'lpc clean' somewhat safer.  Add an 'lpc tclean' command, which allows
one to see what files would be removed *if* an 'lpc clean' is done.  'tclean'
will remove no files, and is therefore not a privileged command.  Also, both
'lpc clean' and 'lpc tclean' will now look for 'core' files in spool directories
(but not remove them).  They also print out an extra line of info when a
datafile to be removed is a symlink (from 'lpr -s'), saying what file it is
a symlink to.

The 'lpc clean' commands also now print out a summary line saying how many
queues were checked, how many files were removed (or "would be" removed, for
tclean), and how much disk space is involved.  For the benefit of those who
have many print queues, 'lpc clean all' will only print out the names of print
queues where some "interesting" files were found, instead of printing out a
header-line for every queue in your printcap file.

Reviewed by: freebsd-print@bostonradio.org  freebsd-audit@FreeBSD.org
MFC after: 2 weeks

23 years agoAdd two new options for lpd: -c will log all connection-errors to syslog,
Garance A Drosehn [Mon, 25 Jun 2001 01:45:25 +0000 (01:45 +0000)]
Add two new options for lpd: -c will log all connection-errors to syslog,
while -w allows connection from non-reserved ports.  Also improves the
helpfulness of various connection-error messages.

The changes for IPv6 added back in the reserved-port check which was mistakenly
dropped from lpd in 1997 (copying a change from openbsd).  It is best to have
that check in place, but the check breaks lpr's from some implementations of
lpr/lpd for Windows.  The -w option is for those admins who need to accept
jobs from non-reserved ports, the -c option is for admins who would like a
print-server machine to log all failed connection-attempts to syslog.

Reviewed by: freebsd-audit@FreeBSD.org  freebsd-print@bostonradio.org
MFC after: 2 weeks

23 years agoAdd RETURN VALUES and ERRORS sections.
Dima Dorfman [Mon, 25 Jun 2001 01:25:01 +0000 (01:25 +0000)]
Add RETURN VALUES and ERRORS sections.

23 years agoMinor cleanup: sort includes, fix name.
Dima Dorfman [Mon, 25 Jun 2001 01:21:13 +0000 (01:21 +0000)]
Minor cleanup: sort includes, fix name.

23 years agoFix crypto targets to be user-overridable and also obey the
Jordan K. Hubbard [Mon, 25 Jun 2001 00:43:10 +0000 (00:43 +0000)]
Fix crypto targets to be user-overridable and also obey the
NO_SENDMAIL flag if set.  The whole NO_FOO mechanism in /usr/src
is pretty bogus and needs to be re-examined in the context of a
larger argument about modularity, but that's something for another
time.

Submitted by: Peter Pentchev <roam@orbitel.bg>

23 years agoXref to extattr(2) and extattr(3).
Dima Dorfman [Sun, 24 Jun 2001 23:59:22 +0000 (23:59 +0000)]
Xref to extattr(2) and extattr(3).

23 years agoAdd a link to extattr.2 (from extattr_get_file.2). The other names
Dima Dorfman [Sun, 24 Jun 2001 23:58:27 +0000 (23:58 +0000)]
Add a link to extattr.2 (from extattr_get_file.2).  The other names
are too specific and too long, and extattr.2 makes a nice point of
reference for "extattr-related syscalls".

23 years agoAdd a manual page for extattr_string_to_namespace and
Dima Dorfman [Sun, 24 Jun 2001 23:54:46 +0000 (23:54 +0000)]
Add a manual page for extattr_string_to_namespace and
extattr_namespace_to_string.

Reviewed by: rwatson

23 years agoNuke unused variables.
Dima Dorfman [Sun, 24 Jun 2001 23:41:57 +0000 (23:41 +0000)]
Nuke unused variables.

23 years agoMerge from ipfw.8 (1.57).
Jun Kuriyama [Sun, 24 Jun 2001 23:40:09 +0000 (23:40 +0000)]
Merge from ipfw.8 (1.57).
  o Sync with netinet6/ip6_fw.c (1.12).

MFC after: 10 days

23 years agoNuke unused variables.
Dima Dorfman [Sun, 24 Jun 2001 23:31:07 +0000 (23:31 +0000)]
Nuke unused variables.

23 years agoInclude missing header files whicih define functions for which gcc has
Dima Dorfman [Sun, 24 Jun 2001 23:25:59 +0000 (23:25 +0000)]
Include missing header files whicih define functions for which gcc has
builtints (e.g., exit, strcmp).

23 years agoInclude missing header files which define functions for which gcc has
Dima Dorfman [Sun, 24 Jun 2001 23:22:14 +0000 (23:22 +0000)]
Include missing header files which define functions for which gcc has
builtints (e.g., exit, strcmp).

23 years agoInclude missing header files which define functions for which gcc has
Dima Dorfman [Sun, 24 Jun 2001 23:04:23 +0000 (23:04 +0000)]
Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).