]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoDon't build suidperl by default. Make users specifically enable its
imp [Thu, 10 Aug 2000 22:59:53 +0000 (22:59 +0000)]
Don't build suidperl by default.  Make users specifically enable its
building.

24 years agoChange NOSUIDPERL to BUILD_SUIDPERL. One must now explicitly enable
imp [Thu, 10 Aug 2000 22:55:58 +0000 (22:55 +0000)]
Change NOSUIDPERL to BUILD_SUIDPERL.  One must now explicitly enable
building suidperl.

24 years agoEliminate the only setuid perl script in the tree.
imp [Thu, 10 Aug 2000 22:53:49 +0000 (22:53 +0000)]
Eliminate the only setuid perl script in the tree.

Original 'C' progam submitted by Juriy Goloveshkin.
A different 'C' program also submitted by dima.

I merged and rewrote them to include error handling, use getlogin for
user name and only the BSD boilerplate license remained from the
original code.  We also only allow root to get other user's keys.

Review, bikeshed and bdelint(1): myself, kris, dima, markm

24 years agoAdd new control message to atomically get and clear statistics.
archie [Thu, 10 Aug 2000 22:52:40 +0000 (22:52 +0000)]
Add new control message to atomically get and clear statistics.

24 years agoIncrease the maximum allowable datagram length.
archie [Thu, 10 Aug 2000 22:51:57 +0000 (22:51 +0000)]
Increase the maximum allowable datagram length.

24 years ago"u_int32_t" should have been "int32_t".
archie [Thu, 10 Aug 2000 22:51:26 +0000 (22:51 +0000)]
"u_int32_t" should have been "int32_t".

24 years agoUse a bigger buffer for NGM_BINARY2ASCII conversion, to handle really
archie [Thu, 10 Aug 2000 22:50:38 +0000 (22:50 +0000)]
Use a bigger buffer for NGM_BINARY2ASCII conversion, to handle really
long ASCII control messages.

24 years ago- Add new control message NGM_VJC_GET_CONFIG
archie [Thu, 10 Aug 2000 22:48:03 +0000 (22:48 +0000)]
- Add new control message NGM_VJC_GET_CONFIG
- Implement control message ASCII'fication for all control messages

24 years agoTake advantage of the new unsigned and hex integer types.
archie [Thu, 10 Aug 2000 22:45:54 +0000 (22:45 +0000)]
Take advantage of the new unsigned and hex integer types.

24 years ago- Make statistics unsigned.
archie [Thu, 10 Aug 2000 22:44:41 +0000 (22:44 +0000)]
- Make statistics unsigned.
- Add new control message to atomically get and clear statistics.

24 years ago- Add new unsigned and hex integer parse types
archie [Thu, 10 Aug 2000 22:43:38 +0000 (22:43 +0000)]
- Add new unsigned and hex integer parse types
- Fix bug in commented example code

24 years ago- Add new unsigned and hex integer parse types; this allows simplifying
archie [Thu, 10 Aug 2000 22:42:25 +0000 (22:42 +0000)]
- Add new unsigned and hex integer parse types; this allows simplifying
  the bytearray parse type.
- Allocate (larger) temporary work buffer dynamically instead of on the
  stack when comparing to the default value.

24 years agoMake ip6fw zero work.
ume [Thu, 10 Aug 2000 20:41:33 +0000 (20:41 +0000)]
Make ip6fw zero work.

PR: bin/20522

24 years agoRFC 1661 requires that all LCP packets are sent with no address and
archie [Thu, 10 Aug 2000 20:05:12 +0000 (20:05 +0000)]
RFC 1661 requires that all LCP packets are sent with no address and
control field compression. The ng_ppp(4) node correctly follows this
rule. However, PPPoE is an exception: when doing PPPoE *all* frames
are sent with address and control field compression.

Alter this node's behavior so that when an outgoing frame is received,
any leading address and control field bytes are removed. This makes
this node compatible with ng_ppp(4).

24 years agomake sshd follow the pattern of enable, program, flags like every
billf [Thu, 10 Aug 2000 19:52:06 +0000 (19:52 +0000)]
make sshd follow the pattern of enable, program, flags like every
other entry does.

24 years ago1000bassT -> 1000baseT
billf [Thu, 10 Aug 2000 19:47:32 +0000 (19:47 +0000)]
1000bassT -> 1000baseT

24 years agoMerge from vendor branch. Also move FreeBSD Ids away from vendor Id
wollman [Thu, 10 Aug 2000 19:36:46 +0000 (19:36 +0000)]
Merge from vendor branch.  Also move FreeBSD Ids away from vendor Id
to make future merges easier.

24 years agoThis commit was generated by cvs2svn to compensate for changes in r64496,
wollman [Thu, 10 Aug 2000 19:20:14 +0000 (19:20 +0000)]
This commit was generated by cvs2svn to compensate for changes in r64496,
which included commits to RCS files with non-trunk default branches.

24 years agoLatest timezone updates from Arthur Olson. This update reflects changes
wollman [Thu, 10 Aug 2000 19:20:14 +0000 (19:20 +0000)]
Latest timezone updates from Arthur Olson.  This update reflects changes
in Israel, Lithuania, Mexico, and Argentina.

Obtained from: ftp://elsie.nci.nih.gov/pub/tzdata2000f.tar.gz

24 years agoAdd some infrastructure support for dealing with large attribute
imp [Thu, 10 Aug 2000 17:35:11 +0000 (17:35 +0000)]
Add some infrastructure support for dealing with large attribute
memory space needed by the raylink driver (in progress, nearing
completion).

This is a minorly cleaned up diff from Duncan to help him reduce the
diffs from stock FreeBSD.

Submitted by: Duncan Barclay <dmlb@ragnet.demon.co.uk>

24 years agoDon't skip IOAPIC id conflict detection when only one pci bus is present.
tegge [Thu, 10 Aug 2000 17:33:24 +0000 (17:33 +0000)]
Don't skip IOAPIC id conflict detection when only one pci bus is present.
PR: 20312
Reviewed by: Steve Roome <steve@sse0691.bri.hp.com>

24 years agoDon't retry connecting via the same medium.
ume [Thu, 10 Aug 2000 17:10:57 +0000 (17:10 +0000)]
Don't retry connecting via the same medium.
I changed to close to original code before merging IPv6 support.
It seems having delay before another try is useless.  However, I'm
not sure that delay means.  So, I leave it as-is.

PR: bin/20515

24 years agoDocument support for the Solo 1.
nsayer [Thu, 10 Aug 2000 15:01:01 +0000 (15:01 +0000)]
Document support for the Solo 1.

Requested by: sheldonh

24 years agoadd Nokia Card Phone 2.0 (gsm900/dcs1800 HSCSD terminal)
sanpei [Thu, 10 Aug 2000 13:43:17 +0000 (13:43 +0000)]
add Nokia Card Phone 2.0 (gsm900/dcs1800 HSCSD terminal)

PR: conf/20037

24 years agoMention that pppoe requires netgraph(4) and without it, an external
brian [Thu, 10 Aug 2000 13:26:01 +0000 (13:26 +0000)]
Mention that pppoe requires netgraph(4) and without it, an external
pppoe program must be used (such as pppoe(8) on OpenBSD).

24 years agoI tested Toshiba Modem/LAN card IPC5001B (as Modem) and enable it.
sanpei [Thu, 10 Aug 2000 13:24:12 +0000 (13:24 +0000)]
I tested Toshiba Modem/LAN card IPC5001B (as Modem) and enable it.
This card has `Network/LAN adapter' function ID(06 00),
not Serial port/modem.

24 years agoCorrect dodgy wild card expansion
brian [Thu, 10 Aug 2000 10:58:44 +0000 (10:58 +0000)]
Correct dodgy wild card expansion

PR: 20514

24 years agoRemove hard sentence breaks introduced in the previous commit.
sheldonh [Thu, 10 Aug 2000 09:01:10 +0000 (09:01 +0000)]
Remove hard sentence breaks introduced in the previous commit.

24 years agoResolve conflicts.
sheldonh [Thu, 10 Aug 2000 07:54:33 +0000 (07:54 +0000)]
Resolve conflicts.

24 years agoFix the ICH2 ATA100 support, and proberly downgrade the chip setup when
sos [Thu, 10 Aug 2000 07:34:49 +0000 (07:34 +0000)]
Fix the ICH2 ATA100 support, and proberly downgrade the chip setup when
going to slower DMA modes on all Intel chips.

24 years agoo Move to recommending the {build,install}kernel targets for updating from
imp [Thu, 10 Aug 2000 05:14:31 +0000 (05:14 +0000)]
o Move to recommending the {build,install}kernel targets for updating from
  older versions of FreeBSD.
o Continue to document the old way of doing it with a warning stating if that
  doesn't work, to do the {build,install}kernel thing.
o minor wordsmithing on what a make world really is.

24 years agoAdd a reminder note to people to disable third party modules at the
imp [Thu, 10 Aug 2000 05:03:49 +0000 (05:03 +0000)]
Add a reminder note to people to disable third party modules at the
right place in the upgrade proceedure so that they don't get burned by
a crash on reboot.

24 years agoFix an order-of-operations bug and properly shift page_control values for
kbyanc [Thu, 10 Aug 2000 01:20:43 +0000 (01:20 +0000)]
Fix an order-of-operations bug and properly shift page_control values for
comparison with SMS_PAGE_CTRL_* macros.

24 years agoCorrect a typo
brian [Thu, 10 Aug 2000 00:26:50 +0000 (00:26 +0000)]
Correct a typo

Spotted by: Jimmy Olgeni <olgeni@uli.it>

24 years agoAllow a ppp_user specification to run ppp at startup
brian [Thu, 10 Aug 2000 00:13:02 +0000 (00:13 +0000)]
Allow a ppp_user specification to run ppp at startup

PR: 20258

24 years agoIn a struct sockaddr, sa->sa_len can be zero if uninitialized.
archie [Wed, 9 Aug 2000 23:57:44 +0000 (23:57 +0000)]
In a struct sockaddr, sa->sa_len can be zero if uninitialized.
Make sure that this doesn't cause a problem when parsing.

24 years agomention getipnodeby* and get{addr,name}info are not thread-safe. (sync with kame)
itojun [Wed, 9 Aug 2000 23:16:23 +0000 (23:16 +0000)]
mention getipnodeby* and get{addr,name}info are not thread-safe.  (sync with kame)
s/.Os KAME/.Os/
comment From: Greg Thompson

24 years agoInclude new modepage list (-l) option in the verbose usage.
kbyanc [Wed, 9 Aug 2000 21:29:22 +0000 (21:29 +0000)]
Include new modepage list (-l) option in the verbose usage.

24 years agoBe more careful about selecting a PAGER.
brian [Wed, 9 Aug 2000 20:36:15 +0000 (20:36 +0000)]
Be more careful about selecting a PAGER.
Improve the question asked when the PAGER is invalid.

Submitted by: Doug Barton <DougB@gorean.org>

24 years agoMissed a step when activating the solo driver.
nsayer [Wed, 9 Aug 2000 20:28:19 +0000 (20:28 +0000)]
Missed a step when activating the solo driver.

24 years agoAllow leading ``!'' characters in authkeys and chat scripts to
brian [Wed, 9 Aug 2000 19:29:50 +0000 (19:29 +0000)]
Allow leading ``!'' characters in authkeys and chat scripts to
be doubled up to mean a single literaly ``!''.

24 years agochange irq handling slightly
cg [Wed, 9 Aug 2000 18:51:27 +0000 (18:51 +0000)]
change irq handling slightly

add another non-ac97 256av

24 years agoMFS: module macro changes
cg [Wed, 9 Aug 2000 18:46:48 +0000 (18:46 +0000)]
MFS: module macro changes

24 years agoFix conflicts.
obrien [Wed, 9 Aug 2000 18:38:26 +0000 (18:38 +0000)]
Fix conflicts.

24 years agoFinally got my brain around what a SIM UNIT number is and how it differs
n_hibma [Wed, 9 Aug 2000 17:41:11 +0000 (17:41 +0000)]
Finally got my brain around what a SIM UNIT number is and how it differs
from the SCSI id it has. (this avoids the confusing umass-sim32 device. It
should have been umass-sim0 all along (there is only one), and if it is
spoken to as a SCSI device the sim should be umass32.

Make the rescan actually work. We need to fill in a target and lun wildcard
and not the SCSI id of the SIM.

Add a seatbelt.

24 years agoAvoid a '"fd" is usurping ...' message.
n_hibma [Wed, 9 Aug 2000 12:45:04 +0000 (12:45 +0000)]
Avoid a '"fd" is usurping ...' message.

PR: 20348
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>

24 years ago- Do not modify Peer's Call ID in outgoing Incoming-Call-Connected
ru [Wed, 9 Aug 2000 11:25:44 +0000 (11:25 +0000)]
- Do not modify Peer's Call ID in outgoing Incoming-Call-Connected
  PPTP control messages.

- Cosmetics: replace `GRE link' with `PPTP link'.

Reviewed by: Erik Salander <erik@whistle.com>

24 years agoIf the first character of the ``set title'' argument is `-',
brian [Wed, 9 Aug 2000 10:22:48 +0000 (10:22 +0000)]
If the first character of the ``set title'' argument is `-',
put it into the format string, supporting ps's tweak to
setproctitle().

24 years agoTreat all interface aliases as local addresses.
brian [Wed, 9 Aug 2000 09:24:31 +0000 (09:24 +0000)]
Treat all interface aliases as local addresses.

The new rtiparse() function should really be in libc IMHO.... I'm
sick of writing this code :-(

PR: 20381

24 years agoImprove purgedir():
brian [Wed, 9 Aug 2000 09:23:30 +0000 (09:23 +0000)]
Improve purgedir():

  Fix leading & trailing space handling

  Suggested by: ben

  Handle files beginning with - correctly
  Don't follow symlinks (cd /var/spool/lock; ln -s /. horror)

24 years agoA couple of cosmetic fixes, plus a biggie: When checking the DMA
nsayer [Wed, 9 Aug 2000 07:14:56 +0000 (07:14 +0000)]
A couple of cosmetic fixes, plus a biggie: When checking the DMA
position, channel 1's dma position register must be quiescent. So
the driver will spl, pause the DMA, delay a bit and hold as still as
possible while snapping the picture.

I'm sure there HAS to be a better way to do this, but if there is, it's
not documented.

So far as I can tell, this fixes recording, which means the Solo is open
for business.

24 years agoUse shell matching instead of sed(1) to strip comments and blank lines.
chris [Wed, 9 Aug 2000 02:03:30 +0000 (02:03 +0000)]
Use shell matching instead of sed(1) to strip comments and blank lines.
Since it doesn't depend on anything in /usr, it should work with a NFS-mounted
/usr partition.

Thanks to Bruce Evans to bringing this to my attention.

24 years agoDon't set flags on the mount structure before all permission checks have
tegge [Wed, 9 Aug 2000 01:57:11 +0000 (01:57 +0000)]
Don't set flags on the mount structure before all permission checks have
been done.

Don't allow multiple mount operations with MNT_UPDATE at the same
time on the same mount point.  When the first mount operation
completed, MNT_UPDATE was cleared in the mount structure, causing
the second to complete as if it was a no-update mount operation
with the following bad side effects:

        - mount structure inserted multiple times onto the mountlist
        - vp->v_mountedhere incorrectly set, causing next namei
          operation walking into the mountpoint to crash with
          a locking against myself panic.

Plug a vnode leak in case vinvalbuf fails.

24 years agoAdded extra paragraph to document the 'rebuild' feature.
unfurl [Wed, 9 Aug 2000 01:54:30 +0000 (01:54 +0000)]
Added extra paragraph to document the 'rebuild' feature.

Reviewed by: msmith

24 years agoFix bug where bundle-level receive statistics were not getting updated.
archie [Wed, 9 Aug 2000 01:43:21 +0000 (01:43 +0000)]
Fix bug where bundle-level receive statistics were not getting updated.

24 years agoMFS: sync with peter's isadma fixup
cg [Wed, 9 Aug 2000 01:22:09 +0000 (01:22 +0000)]
MFS: sync with peter's isadma fixup

24 years agoactivate via82c686 audio driver
cg [Wed, 9 Aug 2000 01:08:59 +0000 (01:08 +0000)]
activate via82c686 audio driver

24 years agonew driver: via 82c686 chipset audio
cg [Wed, 9 Aug 2000 00:55:55 +0000 (00:55 +0000)]
new driver: via 82c686 chipset audio

not personally tested, but i'm assured it works

Submitted by: David Jones <dej@ox.org>
PR: kern/20161

24 years agowarn if hwptr goes backwards
cg [Wed, 9 Aug 2000 00:42:00 +0000 (00:42 +0000)]
warn if hwptr goes backwards

24 years agoInitialize *countp to 0 in stub for softdep_flushworklist().
tegge [Wed, 9 Aug 2000 00:41:54 +0000 (00:41 +0000)]
Initialize *countp to 0 in stub for softdep_flushworklist().
This allows ffs_fsync() to break out of a loop that might otherwise
be infinite on kernels compiled without the SOFTUPDATES option.
The observed symptom was a system hang at the first unmount attempt.

24 years agoFix a typo in the last commit so that this compiles.
jhb [Wed, 9 Aug 2000 00:28:09 +0000 (00:28 +0000)]
Fix a typo in the last commit so that this compiles.

24 years agoMF4: fix style(9) whitespace breakage.
peter [Tue, 8 Aug 2000 23:53:11 +0000 (23:53 +0000)]
MF4: fix style(9) whitespace breakage.

24 years agoDon't attempt to actually read SAF-TE temperature objects- nobody seems
mjacob [Tue, 8 Aug 2000 23:00:11 +0000 (23:00 +0000)]
Don't attempt to actually read SAF-TE temperature objects- nobody seems
to be obeying the original spec as to what the numeric value means.

Temperature flags are unaffected- these are still the 'pseudo-thermometers'
and overtemp/undertemp warnings will be caught and translated to SES objects
here.

PR: 20475

24 years agoMention the 3ware controllers.
msmith [Tue, 8 Aug 2000 18:54:57 +0000 (18:54 +0000)]
Mention the 3ware controllers.

24 years agoMention the 3ware RAID controllers
msmith [Tue, 8 Aug 2000 18:53:08 +0000 (18:53 +0000)]
Mention the 3ware RAID controllers

24 years agoUpdate to mention support for 6x000 series controllers.
msmith [Tue, 8 Aug 2000 18:50:33 +0000 (18:50 +0000)]
Update to mention support for 6x000 series controllers.

24 years agoo Add POSIX1E_CAPABILITY_EXTATTR_NAME, a string constant for the
rwatson [Tue, 8 Aug 2000 18:47:59 +0000 (18:47 +0000)]
o Add POSIX1E_CAPABILITY_EXTATTR_NAME, a string constant for the
  extended attribute name used to store capabilities for binaries in
  FFS.
o Uncomment CAP_SETPCAP because, unfortunately, it is useful when
  developing and testing, as well as in practice for a system not
  fully capability-enabled.
o Synch up prototypes with the implementation, reducing diffs and
  making the patches for capabilities more accessible and less
  dastardly.

Obtained from: TrustedBSD Project

24 years agoo Introduce vn_extattr_{get,set}, wrapper routines for VOP_GETEXTATTR
rwatson [Tue, 8 Aug 2000 17:15:32 +0000 (17:15 +0000)]
o Introduce vn_extattr_{get,set}, wrapper routines for VOP_GETEXTATTR
  and VOP_SETEXTATTR to simplify calling from in-kernel consumers,
  such as capability code.  Both accept a vnode (optionally locked,
  with ioflg to indicate that), attribute name, and a buffer + buffer
  length in UIO_SYSSPACE.  Both authorize the call as a kernel request,
  with cred set to NULL for the actual VOP_ calls.

Obtained from: TrustedBSD Project

24 years agoInsert missing word 'that'.
archie [Tue, 8 Aug 2000 16:26:03 +0000 (16:26 +0000)]
Insert missing word 'that'.

24 years agoFix braino in the tsleep call, ata_delayed_attach might be a NULL
sos [Tue, 8 Aug 2000 14:57:36 +0000 (14:57 +0000)]
Fix braino in the tsleep call, ata_delayed_attach might be a NULL
pointer..

24 years ago- add ftp6.fr.freebsd.org
roberto [Tue, 8 Aug 2000 14:36:24 +0000 (14:36 +0000)]
- add ftp6.fr.freebsd.org
- correct URL for ftp4 and ftp5.

Submitted by: Benjamin Bayart <bayartb@guinness.domicile.fr> (for ftp6)

24 years agoDon't use find(1) before nfs filesystems have been mounted as
brian [Tue, 8 Aug 2000 13:30:27 +0000 (13:30 +0000)]
Don't use find(1) before nfs filesystems have been mounted as
it lives in /usr/bin.  Instead, locate files manually.

Note, only *files* under /var/spool/lock are now deleted rather
than everything that's not a directory.  I think this is more
correct, but if anyone disagrees please feel free to change it.

Problem pointed out by: bde

24 years agoMerged from sys/i386/conf/GENERIC revisions 1.266 and 1.267.
nyan [Tue, 8 Aug 2000 11:57:09 +0000 (11:57 +0000)]
Merged from sys/i386/conf/GENERIC revisions 1.266 and 1.267.

24 years agoMerged from sys/i386/conf/GENERIC.hints revision 1.3.
nyan [Tue, 8 Aug 2000 11:56:45 +0000 (11:56 +0000)]
Merged from sys/i386/conf/GENERIC.hints revision 1.3.

24 years agoClarify the guidelines surrounding the use of macros. The patch is
sheldonh [Tue, 8 Aug 2000 09:54:57 +0000 (09:54 +0000)]
Clarify the guidelines surrounding the use of macros.  The patch is
mostly unrelated to the attributed PR, and the attributed submitter
wasn't so much suggesting the patch for inclusion as providing it
for clarity.

PR: 9869
Submitted by: bde

24 years agoChanged default cursor shape to non-blink mode.
nyan [Tue, 8 Aug 2000 09:28:32 +0000 (09:28 +0000)]
Changed default cursor shape to non-blink mode.

Submitted by: Tomokazu HARADA <tkhara@osk4.3web.ne.jp>

24 years agoFix some whitespace errors.
kbyanc [Tue, 8 Aug 2000 09:27:55 +0000 (09:27 +0000)]
Fix some whitespace errors.

Pointed out by: ps

24 years agoFixed PC-9821 NOTE supports with LINE30 mode.
nyan [Tue, 8 Aug 2000 09:17:15 +0000 (09:17 +0000)]
Fixed PC-9821 NOTE supports with LINE30 mode.

Submitted by: Tomokazu HARADA <tkhara@osk4.3web.ne.jp>

24 years agoReplace -l with .Fl l
kbyanc [Tue, 8 Aug 2000 09:03:48 +0000 (09:03 +0000)]
Replace -l with .Fl l

Pointed out by: sheldonh

24 years agoFix the comments to properly document the PQ_MEDIUMCACHE and
kbyanc [Tue, 8 Aug 2000 08:13:01 +0000 (08:13 +0000)]
Fix the comments to properly document the PQ_MEDIUMCACHE and
PQ_NORMALCACHE options.

PR: 20409
Submitted by: Tony Finch <dot@dotat.at>

24 years agoTypo/spelling fixes.
rnordier [Tue, 8 Aug 2000 07:20:25 +0000 (07:20 +0000)]
Typo/spelling fixes.

24 years agoThe Yamaha CDR100 doesn't seem to like multi-LUN probing.
ken [Tue, 8 Aug 2000 06:49:33 +0000 (06:49 +0000)]
The Yamaha CDR100 doesn't seem to like multi-LUN probing.

PR: kern/20347
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>

24 years agoThis is an overhaul of the mode page handling in camcontrol as well as
kbyanc [Tue, 8 Aug 2000 06:24:17 +0000 (06:24 +0000)]
This is an overhaul of the mode page handling in camcontrol as well as
related patches. These include:
* Mode page editting can be scripted. This involves two
  things: first, if stdin is not a tty, changes are read from
  stdin rather than invoking $EDITOR. Second, and more
  importantly, not all modepage entries must be included in the
  change set. This means that camcontrol can now gracefully handle
  more intrusive editting from the $EDITOR, including removal or
  rearrangement of lines. It also means that you can do stuff
  like:
# echo "WCE: 1" | camcontrol modepage da3 -m 8 -e
# newfs /dev/da3
# echo "WCE: 0" | camcontrol modepage da3 -m 8 -e
* Range-checking on user-supplied input values. modeedit.c now
  uses the field width specifiers to determine the maximum
  allowable value for a field. If the user enters a value larger
  than the maximum, it clips the value to the max and warns the
  user. This also involved patching cam_cmdparse.c to be more
  consistent with regards to the "count" parameter to arg_put
  (previously is was the length of strings and 1 for all integral
  types). The cam_cdbparse(3) man page was also updated to reflect
  the revised semantics.
* In the process, I removed the 64 entry limit on mode pages (not
  that we were even close to hitting that limit). This was a nice
  side-effect of the other changes.
* Technically, the new mode editting functionality allows editting
  of character array entries in mode pages (type 'c' or 'z'),
  however since buff_encode doesn't grok them it is currently
  useless.
* Camcontrol gained two new options related to mode pages: -l and
  -b. The former lists all available mode pages for a given
  device. The latter forces mode page display in binary format
  (the default when no mode page definition was found in
  scsi_modes).
* Added support for mode page names to scsi_modes. Allows names to
  be displayed alongside mode numbers in the mode page
  listing. Updated scsi_modes to use the new functionality. This
  also adds the semicolon into the scsi_modes syntax as an
  optional mode page definition terminator. This is needed to name
  pages without providing a page format definition.
* Updated scsi_all.h to include a structure describing mode page
  headers.
* Added $FreeBSD$ line to scsi_modes.

Inspired by: dwhite
Reviewed by: ken

24 years agoIf using a DB_RECNO, db::put should return the new key if R_IAFTER is
green [Tue, 8 Aug 2000 05:20:57 +0000 (05:20 +0000)]
If using a DB_RECNO, db::put should return the new key if R_IAFTER is
set, not the previous key.

Add $FreeBSD$, not taking this off the vendor branch because it's not on.

24 years ago- Fixed warnings and typo.
nyan [Tue, 8 Aug 2000 04:01:51 +0000 (04:01 +0000)]
- Fixed warnings and typo.
- Recognize slice type 0x24 as FAT (only PC-98).

Submitted by: Nobuyuki Koganemaru <kogane@koganemaru.co.jp>

24 years agokevent() is not a POSIX cancellation point, so _kevent() need not be
jasone [Tue, 8 Aug 2000 00:12:35 +0000 (00:12 +0000)]
kevent() is not a POSIX cancellation point, so _kevent() need not be
defined.

Remove some unnecessary header file inclusions.

24 years agoUpdate link to Making the World tutorial (now in the handbook)
marko [Mon, 7 Aug 2000 23:25:22 +0000 (23:25 +0000)]
Update link to Making the World tutorial (now in the handbook)

24 years agoFix bug with -c option
marko [Mon, 7 Aug 2000 22:47:46 +0000 (22:47 +0000)]
Fix bug with -c option

PR: 18176
Reviewed by: Bruce A. Mah <bmah@acm.org>

24 years agoFix a bug where we were accessing already free'd memory during node shutdown.
archie [Mon, 7 Aug 2000 22:41:12 +0000 (22:41 +0000)]
Fix a bug where we were accessing already free'd memory during node shutdown.

Detected via: 0xdeadc0de

24 years agoAdd another Bill Paul quote.
jlemon [Mon, 7 Aug 2000 20:49:08 +0000 (20:49 +0000)]
Add another Bill Paul quote.

Approved by: jkh

24 years agoAdd a "-i" option ("insecure") which disables the checks for
jdp [Mon, 7 Aug 2000 19:12:04 +0000 (19:12 +0000)]
Add a "-i" option ("insecure") which disables the checks for
root ownership, etc.  I will soon commit a companion knob for
"/etc/rc.conf".

Submitted by: Maxime Henrion <mhenrion@cybercable.fr>

24 years agoDocument three new control messages.
archie [Mon, 7 Aug 2000 18:53:42 +0000 (18:53 +0000)]
Document three new control messages.

24 years agoAdd three new control messages to the ng_ether(4) netgraph node type:
archie [Mon, 7 Aug 2000 18:52:26 +0000 (18:52 +0000)]
Add three new control messages to the ng_ether(4) netgraph node type:

    NGM_ETHER_GET_ENADDR: Get the device's Ethernet address
    NGM_ETHER_SET_PROMISC: Enable/disable promiscuous mode
    NGM_ETHER_SET_AUTOSRC: Enable/disable packet source address override

24 years agoFix some warnings. Here are more part-time volatiles - ie: data that
peter [Mon, 7 Aug 2000 18:44:05 +0000 (18:44 +0000)]
Fix some warnings.  Here are more part-time volatiles - ie: data that
lives in memory and is sometimes busmastered to/from the controller.
I believe these are all ok.

24 years agoMake the kqueue socket read filter honor the SO_RCVLOWAT value.
jlemon [Mon, 7 Aug 2000 17:52:08 +0000 (17:52 +0000)]
Make the kqueue socket read filter honor the SO_RCVLOWAT value.

Spotted by:  "Steve M." <stevem@redlinenetworks.com>

24 years agoClose PR 20438. Make fix for preserving LED settings conditional on
wpaul [Mon, 7 Aug 2000 17:03:20 +0000 (17:03 +0000)]
Close PR 20438. Make fix for preserving LED settings conditional on
presence Intel 21143 chip.

24 years agoAdd wrapper for kevent() syscall
jlemon [Mon, 7 Aug 2000 16:51:56 +0000 (16:51 +0000)]
Add wrapper for kevent() syscall

Noted as missing by: nicolas.leonard@animaths.com

24 years agoDocument return value of ENOENT for nonexistent/invalid filter entries.
jlemon [Mon, 7 Aug 2000 16:47:35 +0000 (16:47 +0000)]
Document return value of ENOENT for nonexistent/invalid filter entries.

24 years agoFix bug with timeout; previously, when attempting to poll the kqueue by
jlemon [Mon, 7 Aug 2000 16:45:42 +0000 (16:45 +0000)]
Fix bug with timeout; previously, when attempting to poll the kqueue by
passing a zero-valued timeout, the code would always sleep for one tick.
Change code to avoid calling tsleep if we have no intention of sleeping.

Bring in bugfix from sys_select.c, r1.60 which also applies here.

Modify error handling slightly; passing in an invalid fd will now result
in EBADF returned in the eventlist, while an attempt to change a knote
which does not exist will result in ENOENT being returned.  Previously
such attempts would fail silently without notification.

Pointed out by: nicolas.leonard@animaths.com
        Rick Reed (rr@yahoo-inc.com)

24 years agoTo make compilable without -DINET6.
ume [Mon, 7 Aug 2000 16:39:33 +0000 (16:39 +0000)]
To make compilable without -DINET6.

PR: bin/20407
Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>