]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoRemove obsolescent -tabstop option from Synopsis (it was already removed
Tim J. Robbins [Sat, 15 Jun 2002 10:52:20 +0000 (10:52 +0000)]
Remove obsolescent -tabstop option from Synopsis (it was already removed
from the usage() message). Document what the -t option does in a more
standard place. Add a standard Diagnostics section.

22 years agoAllow <blank>s to be used to separate tab stop positions with the -t
Tim J. Robbins [Sat, 15 Jun 2002 10:16:39 +0000 (10:16 +0000)]
Allow <blank>s to be used to separate tab stop positions with the -t
argument, not just ASCII space characters and commas. Don't count
non-printing characters when determining column position.

22 years agoUpdate for lukemftp-1.6-beta2.
Mike Heffner [Sat, 15 Jun 2002 09:42:17 +0000 (09:42 +0000)]
Update for lukemftp-1.6-beta2.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r98247,
Mike Heffner [Sat, 15 Jun 2002 09:40:37 +0000 (09:40 +0000)]
This commit was generated by cvs2svn to compensate for changes in r98247,
which included commits to RCS files with non-trunk default branches.

22 years agoImport lukemftp-1.6-beta2.
Mike Heffner [Sat, 15 Jun 2002 09:40:37 +0000 (09:40 +0000)]
Import lukemftp-1.6-beta2.

22 years agoSort sections.
Tim J. Robbins [Sat, 15 Jun 2002 08:41:12 +0000 (08:41 +0000)]
Sort sections.

22 years agofstat() returns information about the target of any symbolic link that
Tim J. Robbins [Sat, 15 Jun 2002 08:31:19 +0000 (08:31 +0000)]
fstat() returns information about the target of any symbolic link that
was opened, not the link itself. Remove dead code.

22 years agoA better prinflike fix...
Brian Somers [Sat, 15 Jun 2002 08:03:59 +0000 (08:03 +0000)]
A better prinflike fix...

22 years agoRemove whitespace at the end of lines.
Brian Somers [Sat, 15 Jun 2002 08:03:30 +0000 (08:03 +0000)]
Remove whitespace at the end of lines.

22 years agoImprove parsing of character and equivalence classes:
Tim J. Robbins [Sat, 15 Jun 2002 07:38:27 +0000 (07:38 +0000)]
Improve parsing of character and equivalence classes:
[:*] and [=*] are parsed as `infinitely many repetitions of :' (or *)
instead of literal characters (SUSv3)

22 years agoo Move more information from BUGS into SECURITY CONSIDERATIONS and
Chris Costello [Sat, 15 Jun 2002 06:00:56 +0000 (06:00 +0000)]
o Move more information from BUGS into SECURITY CONSIDERATIONS and
  condense the redundant bits.
o Provide an example for using snprintf over sprintf.  This may be
  supplemented with an asprintf() example soon.

Sponsored by: DARPA, NAI Labs

22 years ago o Remove the acquisition and release of Giant from munlock().
Alan Cox [Sat, 15 Jun 2002 05:05:04 +0000 (05:05 +0000)]
 o Remove the acquisition and release of Giant from munlock().

Reviewed by: tegge

22 years agoFix a printflike format error
Brian Somers [Sat, 15 Jun 2002 01:36:36 +0000 (01:36 +0000)]
Fix a printflike format error

22 years agoRemove a forgotten diagnostic
Brian Somers [Sat, 15 Jun 2002 01:35:03 +0000 (01:35 +0000)]
Remove a forgotten diagnostic

22 years agoAdd missing verb.
Giorgos Keramidas [Fri, 14 Jun 2002 22:15:22 +0000 (22:15 +0000)]
Add missing verb.

22 years agoNote that sio is required.
Matt Jacob [Fri, 14 Jun 2002 20:20:13 +0000 (20:20 +0000)]
Note that sio is required.

PR: 39305
Submitted by: Michael Hogsett <hogsett@csl.sri.com>
MFC after: 1 week

22 years agoChange vfs_copyopt() so that the length argument passed to it
Maxime Henrion [Fri, 14 Jun 2002 20:04:21 +0000 (20:04 +0000)]
Change vfs_copyopt() so that the length argument passed to it
must be the exact same size as the mount option.  This makes
vfs_copyopt() much more useful.

22 years agoImplement the <sys/statvfs.h> header. Related changes to <sys/types.h>
Garrett Wollman [Fri, 14 Jun 2002 19:37:06 +0000 (19:37 +0000)]
Implement the <sys/statvfs.h> header.  Related changes to <sys/types.h>
are still awaiting a worldstone.  Functions and their declarations to
come later.

22 years ago- Chainsaw the storage pool code. This was being used by a bunch of code
Andrew R. Reiter [Fri, 14 Jun 2002 19:31:07 +0000 (19:31 +0000)]
- Chainsaw the storage pool code.  This was being used by a bunch of code
  within the HARP atm stack and the hea and hfa device drivers, but since
  all of these systems were changed to use UMA zones, there is no use for
  the api any longer.

22 years ago o Use vm_map_wire() and vm_map_unwire() in place of vm_map_pageable() and
Alan Cox [Fri, 14 Jun 2002 18:21:01 +0000 (18:21 +0000)]
 o Use vm_map_wire() and vm_map_unwire() in place of vm_map_pageable() and
   vm_map_user_pageable().
 o Remove vm_map_pageable() and vm_map_user_pageable().
 o Remove vm_map_clear_recursive() and vm_map_set_recursive().  (They were
   only used by vm_map_pageable() and vm_map_user_pageable().)

Reviewed by: tegge

22 years ago- Turn the hea and hfa HARP storage pools into UMA zones and insert
Andrew R. Reiter [Fri, 14 Jun 2002 16:59:38 +0000 (16:59 +0000)]
- Turn the hea and hfa HARP storage pools into UMA zones and insert
  the necesary uma_zcreate() and uma_zdestroy calls into module loading
  handler and the device attach handling.
- Change the related HARP netatm code to use UMA zone functions when
  dealing with the zones that were formerly the ATM interface (hea, hfa)
  storage pools.
- Have atm_physif_freenifs() now get passed an uma_zone_t so that we can
  properly free the allocated NIF's back to their zone.

This should be the last commit to remove any code that makes use of the
netatm storage pool api.  I will be removing the api code within the near
future.

Reviewed by: mdodd

22 years agoMove the #include and #define's to the top of the file.
Tim J. Robbins [Fri, 14 Jun 2002 15:56:52 +0000 (15:56 +0000)]
Move the #include and #define's to the top of the file.

22 years agoBump the size of the equivalence set to NCHARS; this file was left out
Tim J. Robbins [Fri, 14 Jun 2002 15:53:38 +0000 (15:53 +0000)]
Bump the size of the equivalence set to NCHARS; this file was left out
of a previous commit implementing equivalence classes.

22 years agoAdd an entry for the US Robotics 2415.
Nick Sayer [Fri, 14 Jun 2002 15:32:01 +0000 (15:32 +0000)]
Add an entry for the US Robotics 2415.

PR: i386/38879
Submitted by: jordi_yc@lycos.es
MFC after: 1 week

22 years agoUse the Cm macro for the clear, init, reset and longname operands.
Tim J. Robbins [Fri, 14 Jun 2002 15:16:03 +0000 (15:16 +0000)]
Use the Cm macro for the clear, init, reset and longname operands.

22 years agoAdjust the exit status to conform to SUSv3 and document the fact it takes
Tim J. Robbins [Fri, 14 Jun 2002 15:08:05 +0000 (15:08 +0000)]
Adjust the exit status to conform to SUSv3 and document the fact it takes
multiple `argument' operands.

22 years agoSort sections. Avoid using "The -? option" at the start of option descriptions.
Tim J. Robbins [Fri, 14 Jun 2002 10:11:41 +0000 (10:11 +0000)]
Sort sections. Avoid using "The -? option" at the start of option descriptions.

22 years agoUse an usage() rather than doing the fprintf inside option parsing.
Juli Mallett [Fri, 14 Jun 2002 09:54:48 +0000 (09:54 +0000)]
Use an usage() rather than doing the fprintf inside option parsing.

22 years agoDon't treat the trailing ']' of an equivalence class expression as a
Tim J. Robbins [Fri, 14 Jun 2002 09:53:11 +0000 (09:53 +0000)]
Don't treat the trailing ']' of an equivalence class expression as a
character in the set. tr -d '[=a=]' was deleting ]'s as well as a's.
Noticed by the textutils test suite.

22 years agoAdd the P1003.1-2001 -C option which complements the set of characters
Tim J. Robbins [Fri, 14 Jun 2002 08:58:30 +0000 (08:58 +0000)]
Add the P1003.1-2001 -C option which complements the set of characters
(not byte values) specified by the first string argument.

22 years agoReserve two constants for managing socket MAC labels via socket options.
Robert Watson [Fri, 14 Jun 2002 08:49:04 +0000 (08:49 +0000)]
Reserve two constants for managing socket MAC labels via socket options.

22 years agoWhitespaec consistency.
Robert Watson [Fri, 14 Jun 2002 08:46:07 +0000 (08:46 +0000)]
Whitespaec consistency.

22 years agoNotify functions can destroy the pcb, so they have to return an
Jeffrey Hsu [Fri, 14 Jun 2002 08:35:21 +0000 (08:35 +0000)]
Notify functions can destroy the pcb, so they have to return an
indication of whether this happenned so the calling function
knows whether or not to unlock the pcb.

Submitted by: Jennifer Yang (yangjihui@yahoo.com)
Bug reported by:  Sid Carter (sidcarter@symonds.net)

22 years agoImplement support for equivalence classes ([=e=]) when the mapping is
Tim J. Robbins [Fri, 14 Jun 2002 07:37:08 +0000 (07:37 +0000)]
Implement support for equivalence classes ([=e=]) when the mapping is
one-to-one (SUSv3)

22 years agoAdd a comment about how we should use vn_open() here instead of directly
Robert Watson [Fri, 14 Jun 2002 07:24:01 +0000 (07:24 +0000)]
Add a comment about how we should use vn_open() here instead of directly
invoking VOP_OPEN().  This would reduce code redundancy with the rest
of the kernel, and also is required for MAC to work properly.

22 years agoI'm keeping an eye on xten
Warner Losh [Fri, 14 Jun 2002 06:59:49 +0000 (06:59 +0000)]
I'm keeping an eye on xten

22 years agodocument hw.pcic.ignore_pci
Warner Losh [Fri, 14 Jun 2002 06:56:35 +0000 (06:56 +0000)]
document hw.pcic.ignore_pci

22 years agoAdd US Robotics Wireless Card 2410
Warner Losh [Fri, 14 Jun 2002 06:56:03 +0000 (06:56 +0000)]
Add US Robotics Wireless Card 2410

Also add a snarky note about telling me about changes to this file so I can
keep OpenBSD and FreeBSD's copy of this man page more or less in sync.

22 years agoMissed in earlier commit -- I did cvs commit src/lib/libc. Oops.
Robert Watson [Fri, 14 Jun 2002 04:02:25 +0000 (04:02 +0000)]
Missed in earlier commit -- I did cvs commit src/lib/libc.  Oops.

22 years agoRe-commit w/fix:
Mike Silbersack [Fri, 14 Jun 2002 03:08:05 +0000 (03:08 +0000)]
Re-commit w/fix:

  Ensure that the syn cache's syn-ack packets contain the same
  ip_tos, ip_ttl, and DF bits as all other tcp packets.

  PR:             39141
  MFC after:      2 weeks

This time, make sure that ipv4 specific code (aka all of the above)
is only run in the ipv4 case.

22 years agoBack out ip_tos/ip_ttl/DF "fix", it just panic'd my box. :)
Mike Silbersack [Fri, 14 Jun 2002 02:43:20 +0000 (02:43 +0000)]
Back out ip_tos/ip_ttl/DF "fix", it just panic'd my box. :)

Pointy-hat to: silby

22 years agoEnsure that the syn cache's syn-ack packets contain the same
Mike Silbersack [Fri, 14 Jun 2002 02:36:34 +0000 (02:36 +0000)]
Ensure that the syn cache's syn-ack packets contain the same
ip_tos, ip_ttl, and DF bits as all other tcp packets.

PR: 39141
MFC after: 2 weeks

22 years agoExit with non-zero status if an input file can not be opened. This was
Tim J. Robbins [Fri, 14 Jun 2002 02:20:05 +0000 (02:20 +0000)]
Exit with non-zero status if an input file can not be opened. This was
broken by rev. 1.22.

22 years agoFix one serious bug and one potential problem with in-place editing code:
Maxim Sobolev [Fri, 14 Jun 2002 01:28:52 +0000 (01:28 +0000)]
Fix one serious bug and one potential problem with in-place editing code:

- original version of code worked incorrectly when more than one
  input files were specified - it was moving the last line from the 1st file
  to be the first line of the 2nd, last line of the 2nd to be the first
  line of the 3rd and so on;

- use mmap()->write() to create temporary file instead of
  malloc()->read()->write(), which was not only slower, but also did not
  bother to free allocated memory once backup file was created, potentially
  leading to memory exhausting when regex is applied to a big file or a large
  number of small ones.

22 years agoSet system_map for both mbuf_map and clust_map to 1, in mbuf_init().
Bosko Milekic [Thu, 13 Jun 2002 23:53:42 +0000 (23:53 +0000)]
Set system_map for both mbuf_map and clust_map to 1, in mbuf_init().

Submitted by: Tor Egge (tegge)
Pointed out to me by: hsu

22 years agoRegen.
Robert Watson [Thu, 13 Jun 2002 23:44:50 +0000 (23:44 +0000)]
Regen.

22 years agoKeep POSIX.1e capabilities system call placeholders, but remove definitions.
Robert Watson [Thu, 13 Jun 2002 23:43:53 +0000 (23:43 +0000)]
Keep POSIX.1e capabilities system call placeholders, but remove definitions.

22 years agoNo POSIX.1e capabilities in the main tree yet.
Robert Watson [Thu, 13 Jun 2002 23:40:13 +0000 (23:40 +0000)]
No POSIX.1e capabilities in the main tree yet.

22 years agoIn addition to exiting the dialog via ESC, the user could also have
Doug Barton [Thu, 13 Jun 2002 23:39:35 +0000 (23:39 +0000)]
In addition to exiting the dialog via ESC, the user could also have
exited via \r, \n, or ' ' (space); all of which are valid,
non-error responses.

22 years agoInclude information on the dangers of passing a user-supplied string as
Chris Costello [Thu, 13 Jun 2002 23:35:22 +0000 (23:35 +0000)]
Include information on the dangers of passing a user-supplied string as
a format string.  This will later on be changed to a reference to the
FreeBSD Security Architecture after it has been committed.

PR: docs/39320
Sposnored by: DARPA, NAI Labs

22 years agokern_cap.c no longer needed.
Robert Watson [Thu, 13 Jun 2002 23:19:34 +0000 (23:19 +0000)]
kern_cap.c no longer needed.

22 years agoopt_cap.c no longer needed
Robert Watson [Thu, 13 Jun 2002 23:17:39 +0000 (23:17 +0000)]
opt_cap.c no longer needed

22 years agoBecause we're holding an exclusive write lock on the head, references to
Jeffrey Hsu [Thu, 13 Jun 2002 23:14:58 +0000 (23:14 +0000)]
Because we're holding an exclusive write lock on the head, references to
the new inp cannot leak out even though it has been placed on the head list.

22 years agoPOSIX.1e capabilities aren't here yet, don't put an option for it
Robert Watson [Thu, 13 Jun 2002 22:41:23 +0000 (22:41 +0000)]
POSIX.1e capabilities aren't here yet, don't put an option for it
in the options file.

22 years agoAdd the final bits that allow the use of rc.d. Note that you can toggle
Gordon Tetlow [Thu, 13 Jun 2002 22:30:02 +0000 (22:30 +0000)]
Add the final bits that allow the use of rc.d. Note that you can toggle
between rc.d and the classic boot scripts based on the rcng variable in
your rc.conf. Defaults to classic boot scripts.

Submitted by: Mike Makonnen

22 years agoAdd a couple of variables for rc.d
Gordon Tetlow [Thu, 13 Jun 2002 22:27:31 +0000 (22:27 +0000)]
Add a couple of variables for rc.d

Submitted by: Mike Makonnen

22 years agoHook rcorder and rc.d into the build.
Gordon Tetlow [Thu, 13 Jun 2002 22:26:15 +0000 (22:26 +0000)]
Hook rcorder and rc.d into the build.

Submitted by: Mike Makonnen

22 years agoBring this up to date with the latest NetBSD bits. Also add some bits of
Gordon Tetlow [Thu, 13 Jun 2002 22:19:42 +0000 (22:19 +0000)]
Bring this up to date with the latest NetBSD bits. Also add some bits of
our own.

Submitted by: Mike Makonnen
Reviewed by: silence on -current and -hackers

22 years agoMerge in all the changes that Mike Makonnen has been maintaining for a
Gordon Tetlow [Thu, 13 Jun 2002 22:14:37 +0000 (22:14 +0000)]
Merge in all the changes that Mike Makonnen has been maintaining for a
while. This is only the script pieces, the glue for the build comes next.

Submitted by: Mike Makonnen <makonnen@pacbell.net>
Reviewed by: silence on -current and -hackers
Prodded by: rwatson

22 years agoFix a race during null node creation between relookuping the hash and
Semen Ustimenko [Thu, 13 Jun 2002 21:49:09 +0000 (21:49 +0000)]
Fix a race during null node creation between relookuping the hash and
adding vnode to hash. The fix is to use atomic hash-lookup-and-add-if-
not-found operation. The odd thing is that this race can't happen
actually because the lowervp vnode is locked exclusively now during the
whole process of null node creation. This must be thought as a step
toward shared lookups.

Also remove vp->v_mount checks when looking for a match in the hash,
as this is the vestige.

Also add comments and cosmetic changes.

22 years agobeforeinstall target:
Greg Lehey [Thu, 13 Jun 2002 21:21:59 +0000 (21:21 +0000)]
beforeinstall target:

- Remove superfluous ;
- create destination directories if they don't exist.

22 years agoAdd two new options:
Greg Lehey [Thu, 13 Jun 2002 21:20:56 +0000 (21:20 +0000)]
Add two new options:

-W is like -A (number of days in the future to consider, but also
   specifies that we don't want special treatment at weekends.
-F changes our notion of "Friday" (the day before the weekend).

Arguably, calendar(1) is broken to have special treatment of weekends
by default, but this method maintains POLA.

22 years agoFix up merge bogons, hopefully correctly this time.
Bruce A. Mah [Thu, 13 Jun 2002 20:52:02 +0000 (20:52 +0000)]
Fix up merge bogons, hopefully correctly this time.

22 years agoArrgh. Back out rev. 1.366. This did fix problems but picked up
Bruce A. Mah [Thu, 13 Jun 2002 20:48:35 +0000 (20:48 +0000)]
Arrgh.  Back out rev. 1.366.  This did fix problems but picked up
some other local changes I didn't want to commit yet.

22 years agoFix up some SGML bogons caused by merge conflicts that somehow didn't
Bruce A. Mah [Thu, 13 Jun 2002 20:30:50 +0000 (20:30 +0000)]
Fix up some SGML bogons caused by merge conflicts that somehow didn't
get resolved correctly.

22 years agoChange null_hashlock into null_hashmtx, because there is no need for
Semen Ustimenko [Thu, 13 Jun 2002 20:18:50 +0000 (20:18 +0000)]
Change null_hashlock into null_hashmtx, because there is no need for
lockmgr and this helps to vget() vnode from hash without a race.

Reviewed by: bp
MFC after: 2 weeks

22 years agoFix the "error" path (when dropping not fully initialized vnode).
Semen Ustimenko [Thu, 13 Jun 2002 18:25:06 +0000 (18:25 +0000)]
Fix the "error" path (when dropping not fully initialized vnode).
Also move hash operations out of null_vnops.c and explicitly initialize
v_lock in null_node_alloc (to set wmesg).

Reviewed by: bp
MFC after: 2 weeks

22 years agoFix wrong locking in null_inactive and null_reclaim. This makes nullfs
Semen Ustimenko [Thu, 13 Jun 2002 17:30:40 +0000 (17:30 +0000)]
Fix wrong locking in null_inactive and null_reclaim. This makes nullfs
relatively working back.

Reviewed by: mckusick, bp

22 years agohw.pcic.ignore_pci
Warner Losh [Thu, 13 Jun 2002 17:28:55 +0000 (17:28 +0000)]
hw.pcic.ignore_pci

Set this to 1 to ignore cardbus bridges and work entirely in legacy
ISA mode.  This may help some folks.

22 years agoFreeBSDize the NetBSD Makefile so that this compiles.
David E. O'Brien [Thu, 13 Jun 2002 17:09:30 +0000 (17:09 +0000)]
FreeBSDize the NetBSD Makefile so that this compiles.

22 years agoChanged the behavior when an interface-direct prefix being advertised
Hajimu UMEMOTO [Thu, 13 Jun 2002 16:59:31 +0000 (16:59 +0000)]
Changed the behavior when an interface-direct prefix being advertised
was removed from the kernel;
Advertise the prefix with zero lifetimes rather than to remove the prefix
from the prefix list to be advertised.
This will help renumber a receiving host by deprecating the address
derived from the old prefix.

Obtained from: KAME
MFC after: 2 weeks

22 years agoWhen -R is not specified, fail to copy the contents of dangling symlinks
Tim J. Robbins [Thu, 13 Jun 2002 15:48:36 +0000 (15:48 +0000)]
When -R is not specified, fail to copy the contents of dangling symlinks
instead of making a copy of the link itself (SUSv3)

Obtained from: NetBSD

22 years ago- Finish the uni part of the storage pool cleanup. There should now only
Andrew R. Reiter [Thu, 13 Jun 2002 14:32:51 +0000 (14:32 +0000)]
- Finish the uni part of the storage pool cleanup.  There should now only
  be a few bits left to clean from the HARP code in terms of what is using
  the storage pools; once that's done, the memory management code can be
  removed entirely.

  This commit effectively changes the use of dynamic memory routines from
  atm_allocate, atm_free, atm_release_pool to uma_zcreate, uma_zalloc,
  uma_zfree, uma_zdestroy.

22 years agoPrint the "$" symbol on blank lines when the -s and -e options are used
Tim J. Robbins [Thu, 13 Jun 2002 14:05:26 +0000 (14:05 +0000)]
Print the "$" symbol on blank lines when the -s and -e options are used
together.

Obtained from: OpenBSD (millert, Denis Afonin)

22 years agoRemove bogus "-" operand from usage message. There is no restriction on
Tim J. Robbins [Thu, 13 Jun 2002 13:45:14 +0000 (13:45 +0000)]
Remove bogus "-" operand from usage message. There is no restriction on
where it may be placed, it is treated the same as the file arguments.

22 years agoCorrect the Standards section: wc is a utility, not a function.
Tim J. Robbins [Thu, 13 Jun 2002 13:18:57 +0000 (13:18 +0000)]
Correct the Standards section: wc is a utility, not a function.

22 years agoBump document date for previous commit.
Tim J. Robbins [Thu, 13 Jun 2002 13:17:00 +0000 (13:17 +0000)]
Bump document date for previous commit.

22 years agoAdd the -m option, which counts characters (as opposed to -c, which
Tim J. Robbins [Thu, 13 Jun 2002 12:48:50 +0000 (12:48 +0000)]
Add the -m option, which counts characters (as opposed to -c, which
counts bytes). In locales that don't have multibyte characters, -m
is effectively an alias for -c.

This brings wc(1) up to P1003.1-2001 conformance.

22 years agoAvoid classy use of a variable one time with a constant value.
Juli Mallett [Thu, 13 Jun 2002 08:57:53 +0000 (08:57 +0000)]
Avoid classy use of a variable one time with a constant value.

22 years agoUse %p to print a pointer, not %lx and a cast to (unsigned long). Yuck.
Juli Mallett [Thu, 13 Jun 2002 08:55:29 +0000 (08:55 +0000)]
Use %p to print a pointer, not %lx and a cast to (unsigned long).  Yuck.

22 years agoDon't do stupid things to avoid unused parameters, mark them __unused.
Juli Mallett [Thu, 13 Jun 2002 08:54:16 +0000 (08:54 +0000)]
Don't do stupid things to avoid unused parameters, mark them __unused.

22 years agoMarkup nits: use the Ar macro when describing the -signal_name and
Tim J. Robbins [Thu, 13 Jun 2002 08:46:01 +0000 (08:46 +0000)]
Markup nits: use the Ar macro when describing the -signal_name and
-signal_number options, and for referring to the "pid" argument.

22 years agoAdd examples and diagnostics sections
Tim J. Robbins [Thu, 13 Jun 2002 08:40:01 +0000 (08:40 +0000)]
Add examples and diagnostics sections

22 years agoIn gcc 3.1 Pentium/MMX now has its own -march=XXX option.
Maxim Sobolev [Thu, 13 Jun 2002 08:35:36 +0000 (08:35 +0000)]
In gcc 3.1 Pentium/MMX now has its own -march=XXX option.

22 years agoSupport the "--" end of options marker, useful to disambiguate between
Tim J. Robbins [Thu, 13 Jun 2002 08:07:20 +0000 (08:07 +0000)]
Support the "--" end of options marker, useful to disambiguate between
signal numbers and process groups (negative pid arguments), and
required by SUSv3.

22 years agoDon't list shell builtins when the hash command is used (SUSv3)
Tim J. Robbins [Thu, 13 Jun 2002 07:50:50 +0000 (07:50 +0000)]
Don't list shell builtins when the hash command is used (SUSv3)

22 years agoUse a cv rather than tsleep and friends to do the sleep/wakeup
Warner Losh [Thu, 13 Jun 2002 07:19:31 +0000 (07:19 +0000)]
Use a cv rather than tsleep and friends to do the sleep/wakeup
handshake between the ISR and the worker thread.  Move the mutex lock
so that it only protects the cv_wait.  This elimiates the not sleeping
with pccbb1 held messages some people were seeing.

Reviewed by: jhb (at least an early version)

22 years agoRemote pci.h/NPCI usage from i4b code.
Brooks Davis [Thu, 13 Jun 2002 06:04:28 +0000 (06:04 +0000)]
Remote pci.h/NPCI usage from i4b code.

Approved by: hm

22 years agoBah humbug. Fix another typo on the same comment line. It also had
Garance A Drosehn [Thu, 13 Jun 2002 02:37:50 +0000 (02:37 +0000)]
Bah humbug.  Fix another typo on the same comment line.  It also had
an option-space instead of a space...

MFC after: 10 days

22 years agoFix a typo in a comment from the previous commit. I had a bullet-character
Garance A Drosehn [Thu, 13 Jun 2002 02:32:42 +0000 (02:32 +0000)]
Fix a typo in a comment from the previous commit.  I had a bullet-character
instead of an asterisk.

Noticed by: keramida
MFC after: 10 days

22 years agoAlmost complete rewrite of the lpc commands 'abort', 'enable', 'disable',
Garance A Drosehn [Thu, 13 Jun 2002 01:55:48 +0000 (01:55 +0000)]
Almost complete rewrite of the lpc commands 'abort', 'enable', 'disable',
'restart', 'start', 'stop' and 'up'.  These are commands which mainly
just alter the access bits on the lock-file of a queue, and they all
now use a central routine to do that.  This reduces the amount of code
that is run as the priv userid, and eliminates a number of cases where
error messages were written while that priv uid was in effect.

As far as users are concerned, there should be no noticable difference
in the new versions.  In case there *is*, the previous implementations
are still there as 'xabort', 'xenable', etc, so they are available for
instant fallback.  If no one reports a problem after a few weeks, then
a later update will remove those x-commands.

Reviewed by: freebsd-audit and freebsd-print@bostonradio.org
MFC after: 10 days

22 years agoIf a RAD_FILTER_ID is supplied by the RADIUS server, treat it as an
Brian Somers [Wed, 12 Jun 2002 23:45:15 +0000 (23:45 +0000)]
If a RAD_FILTER_ID is supplied by the RADIUS server, treat it as an
additional label from ppp.linkup & ppp.linkdown to load.

Suggested and mostly submitted by: andrew pavlov <and@kremenchug.net>

22 years agoBump the version number to reflect the recent RADIUS commits
Brian Somers [Wed, 12 Jun 2002 23:00:12 +0000 (23:00 +0000)]
Bump the version number to reflect the recent RADIUS commits

22 years agoDon't forget to process the Ident field on the front of
Brian Somers [Wed, 12 Jun 2002 21:36:07 +0000 (21:36 +0000)]
Don't forget to process the Ident field on the front of
RAD_MICROSOFT_MS_CHAP_ERROR and RAD_MICROSOFT_MS_CHAP2_SUCCESS
messages, and remove the hack in chap.c to ignore that ident field
on the client side.

This anomoly was hacked around during development, and I forgot to
go back and fix it properly.

Spotted by: Sergey Korolew <ds@rt.balakovo.ru>

22 years agoAdd PCI bus enumeration and latency timer setup to the sparc64 MD PCI
Thomas Moestl [Wed, 12 Jun 2002 19:20:57 +0000 (19:20 +0000)]
Add PCI bus enumeration and latency timer setup to the sparc64 MD PCI
code. Both tasks are not always performed completely by the firmware.
The former is required to get some e450 models to boot; the latter fixes
the repeated fifo underruns with hme(4)s and gem(4)s observed on some
machines (and probably performance problems with other peripherals as
well).

22 years agoThe UDP head was unlocked too early in one unicast case.
Jeffrey Hsu [Wed, 12 Jun 2002 15:21:41 +0000 (15:21 +0000)]
The UDP head was unlocked too early in one unicast case.

Submitted by: bug reported by arr

22 years ago- Add sanity check for argument.
Mitsuru IWASAKI [Wed, 12 Jun 2002 14:55:19 +0000 (14:55 +0000)]
- Add sanity check for argument.
- Add new entry to stripdirs.  The `generate' directory appeared in
  acpica-unix-20020517.

22 years agoIf trap() is called when ddb is active, then go directly to trap_fatal();
Bruce Evans [Wed, 12 Jun 2002 13:30:52 +0000 (13:30 +0000)]
If trap() is called when ddb is active, then go directly to trap_fatal();
do not blunder around enabling interrupts and running trap handlers.
trap_pfault() will normally pass control to ddb's fault handler which
will normally do the right thing.

This bug is very old. but in old versions of FreeBSD it is probably only
serious for trap handling that involves sleeping.  In -current, attempting
to examine unmapped memory while stopped at a breakpoint at mi_switch()
was always fatal.

22 years agoReorder LDADD to fix static linking.
Dag-Erling Smørgrav [Wed, 12 Jun 2002 12:46:50 +0000 (12:46 +0000)]
Reorder LDADD to fix static linking.

22 years agoReorder libraries to fix static linking (libssl depends on libcrypto, so
Dag-Erling Smørgrav [Wed, 12 Jun 2002 12:45:24 +0000 (12:45 +0000)]
Reorder libraries to fix static linking (libssl depends on libcrypto, so
it must come before libcrypto in LDADD)

Reviewed by: bde