]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoUse libutil instead of pw_{copy,util}.c. Clean up a little. Warnsify.
des [Wed, 8 May 2002 15:42:37 +0000 (15:42 +0000)]
Use libutil instead of pw_{copy,util}.c.  Clean up a little.  Warnsify.

Sponsored by: DARPA, NAI Labs

22 years agoFix a boatload of format errors and constness violations.
des [Wed, 8 May 2002 15:41:15 +0000 (15:41 +0000)]
Fix a boatload of format errors and constness violations.

Sponsored by: DARPA, NAI Labs

22 years agoIf no old_pw was passed to pw_copy, compare just the name.
des [Wed, 8 May 2002 14:52:32 +0000 (14:52 +0000)]
If no old_pw was passed to pw_copy, compare just the name.

Sponsored by: DARPA, NAI Labs

22 years agoMake _msgout take a const char * rather than a char *.
des [Wed, 8 May 2002 14:50:28 +0000 (14:50 +0000)]
Make _msgout take a const char * rather than a char *.

Sponsored by: DARPA, NAI Labs

22 years agoIt is dangerous to use globbing like so in startup scripts:
nectar [Wed, 8 May 2002 14:47:44 +0000 (14:47 +0000)]
It is dangerous to use globbing like so in startup scripts:

  rm -f /tmp/.X11-unix/*

If /tmp/.X11-unix didn't already exist, a user could symlink it to a directory
with files that he wants to wipe out, and wait for next reboot.

Reported by: lumpy <lumpy@the.whole.net>

22 years agoDon't emulate INTERNALLIB.
ru [Wed, 8 May 2002 13:56:08 +0000 (13:56 +0000)]
Don't emulate INTERNALLIB.

22 years agoChange whtespace indent in format string to fit new output form of
kuriyama [Wed, 8 May 2002 11:23:45 +0000 (11:23 +0000)]
Change whtespace indent in format string to fit new output form of
timestamp.

Reviewed by: markm

22 years agoexpand_name fixes:
alfred [Wed, 8 May 2002 09:06:47 +0000 (09:06 +0000)]
expand_name fixes:

.) don't use MAXPATHLEN + 1, fix logic to compensate.
.) style(9) function parameters.
.) fix line wrapping.
.) remove duplicated error and string handling code.
.) don't NUL terminate already NUL terminated string.
.) all string length variables changed from int to size_t.
.) constify variables.
.) catch when corename would be truncated.
.) cast pid_t and uid_t args for format string.
.) add parens around return arguments.

Help and suggestions from: bde

22 years agostyle(9): remove an EOF space.
maxim [Wed, 8 May 2002 07:40:22 +0000 (07:40 +0000)]
style(9): remove an EOF space.

22 years agoImplement 'speed' command: set a maximum read speed. At the moment it
maxim [Wed, 8 May 2002 07:32:40 +0000 (07:32 +0000)]
Implement 'speed' command: set a maximum read speed. At the moment it
works on ATAPI drives only.

PR: kern/35512 (a part of)
Submitted by: Philipp Mergenthaler <philipp.mergenthaler@stud.uni-karlsruhe.de>
Reviewed by: -hackers
MFC after: 1 month

22 years agozapnot the signed bits in atomic_cmpset_32. Previously this did not work with
jeff [Wed, 8 May 2002 05:19:56 +0000 (05:19 +0000)]
zapnot the signed bits in atomic_cmpset_32.  Previously this did not work with
negative values because the original value was sign extended but the compared
value was not.

22 years agoFix typo.
gshapiro [Wed, 8 May 2002 05:17:46 +0000 (05:17 +0000)]
Fix typo.

Submitted by: Marius Strom <marius@marius.org>
MFC after: 1 day
and RE approval

22 years agoRemove runq_findproc. This never worked right in the first place and can
jake [Wed, 8 May 2002 04:39:49 +0000 (04:39 +0000)]
Remove runq_findproc.  This never worked right in the first place and can
be prohibitively expensive.

22 years agoRemove unneeded include.
jake [Wed, 8 May 2002 04:21:58 +0000 (04:21 +0000)]
Remove unneeded include.

22 years agoMake a macro for the guts of tl0_immu_miss, like dmmu_miss and prot.
jake [Wed, 8 May 2002 04:14:16 +0000 (04:14 +0000)]
Make a macro for the guts of tl0_immu_miss, like dmmu_miss and prot.
Rearrange things slightly so that the contents of the tag access
register are read and restored outside of the macros.  The intention
is to pass the page size to look up as an argument to the macros.

22 years agoBring doc up-to-date with current buildworld/buildkernel practices.
jwd [Wed, 8 May 2002 01:55:08 +0000 (01:55 +0000)]
Bring doc up-to-date with current buildworld/buildkernel practices.

Reviewed by: jhb

22 years agoThese files haven't been used in a while.
des [Wed, 8 May 2002 01:35:22 +0000 (01:35 +0000)]
These files haven't been used in a while.

22 years agoRoll my own min() (named ISO88025_MIN() so as to not cause conflicts) so
kbyanc [Wed, 8 May 2002 01:08:26 +0000 (01:08 +0000)]
Roll my own min() (named ISO88025_MIN() so as to not cause conflicts) so
that this header may be included from userland where min() may not be
declared (or worse, declared differently).  I open to alternative
solutions.

22 years agoUpdate ARP to access token-ring source routing information at it's new
kbyanc [Wed, 8 May 2002 00:55:29 +0000 (00:55 +0000)]
Update ARP to access token-ring source routing information at it's new
location.

Not tested by: me (sorry!)
Sponsored by: NTT Multimedia Communications Labs

22 years agoUse libutil and libypclnt for all passwd manipulation and NIS needs.
des [Wed, 8 May 2002 00:54:29 +0000 (00:54 +0000)]
Use libutil and libypclnt for all passwd manipulation and NIS needs.

Sponsored by: DARPA, NAI Labs

22 years agoDetect and attach to the ICH3 SMBus controller.
jhb [Wed, 8 May 2002 00:51:54 +0000 (00:51 +0000)]
Detect and attach to the ICH3 SMBus controller.

PR: i386/36972
Submitted by: Colin Perkins <csp@isi.edu>
Requested by: Larry Rosenman <ler@lerctr.org>
MFC After: 7 days

22 years agoAdd passwd manipulation code based on parts of vipw and chpass.
des [Wed, 8 May 2002 00:50:07 +0000 (00:50 +0000)]
Add passwd manipulation code based on parts of vipw and chpass.

Sponsored by: DARPA, NAI Labs

22 years agoAdd ypclnt_havepasswd(), and guard against a possible segfault.
des [Wed, 8 May 2002 00:48:39 +0000 (00:48 +0000)]
Add ypclnt_havepasswd(), and guard against a possible segfault.

Sponsored by: DARPA, NAI Labs

22 years agoReally include <paths.h> (it seems it was brought in indirectly)
des [Wed, 8 May 2002 00:47:02 +0000 (00:47 +0000)]
Really include <paths.h> (it seems it was brought in indirectly)

22 years agoUse <paths.h> rather than "pathnames.h", and fix a couple of whitespace nits.
des [Wed, 8 May 2002 00:47:01 +0000 (00:47 +0000)]
Use <paths.h> rather than "pathnames.h", and fix a couple of whitespace nits.

Sponsored by: DARPA, NAI Labs

22 years agoPAMify.
des [Wed, 8 May 2002 00:43:46 +0000 (00:43 +0000)]
PAMify.

Sponsored by: DARPA, NAI Labs

22 years agoAdd some more commonly-used directories and files.
des [Wed, 8 May 2002 00:37:50 +0000 (00:37 +0000)]
Add some more commonly-used directories and files.

Sponsored by: DARPA, NAI Labs

22 years agoUse pam_lastlog(8)'s new no_fail option.
des [Wed, 8 May 2002 00:33:02 +0000 (00:33 +0000)]
Use pam_lastlog(8)'s new no_fail option.

Sponsored by: DARPA, NAI Labs

22 years agoAdd a no_fail option.
des [Wed, 8 May 2002 00:31:45 +0000 (00:31 +0000)]
Add a no_fail option.

Sponsored by: DARPA, NAI Labs

22 years agoAdd pam_ftpusers(8), which enforces /etc/ftpusers.
des [Wed, 8 May 2002 00:30:10 +0000 (00:30 +0000)]
Add pam_ftpusers(8), which enforces /etc/ftpusers.

Sponsored by: DARPA, NAI Labs

22 years agoM_ZERO the temp buffer in expand_name() otherwise if an error occurs
alfred [Tue, 7 May 2002 23:37:07 +0000 (23:37 +0000)]
M_ZERO the temp buffer in expand_name() otherwise if an error occurs
while logging we may pass a non NUL terminated string to log(9) for a
%s format arg.

22 years agoOops, update usage() to have -i.
jmallett [Tue, 7 May 2002 23:33:44 +0000 (23:33 +0000)]
Oops, update usage() to have -i.

22 years agoAdd handling for any nil-length string passed to -i for the backup extension.
jmallett [Tue, 7 May 2002 23:32:26 +0000 (23:32 +0000)]
Add handling for any nil-length string passed to -i for the backup extension.

Add a note that this is kinda-sorta dangerous to the manual page.

22 years agoAlpha MD bits for Gcc 3.1.
obrien [Tue, 7 May 2002 23:28:45 +0000 (23:28 +0000)]
Alpha MD bits for Gcc 3.1.

22 years agoFix bug that causes passwd and friends to fail when the user has a '+' in
des [Tue, 7 May 2002 23:26:00 +0000 (23:26 +0000)]
Fix bug that causes passwd and friends to fail when the user has a '+' in
their passwd file for NIS because _PWF_SOURCE is not set.

Submitted by: amigus (perforce change 10969)

22 years agoUn-shadow the `fname' variable.
jmallett [Tue, 7 May 2002 23:06:47 +0000 (23:06 +0000)]
Un-shadow the `fname' variable.

22 years agoMove ISO88025 source routing information into sockaddr_dl's sdl_data
kbyanc [Tue, 7 May 2002 22:14:06 +0000 (22:14 +0000)]
Move ISO88025 source routing information into sockaddr_dl's sdl_data
field.  This returns the sdl_data field to a variable-length field.  More
importantly, this prevents a easily-reproduceable data-corruption bug when
the interface name plus the hardware address exceed the sdl_data field's
original 12 byte limit.  However, token-ring interfaces may still overflow
the new sdl_data field's 46 byte limit if the interface name exceeds 6
characters (since 6 characters for interface name plus 6 for hardware
address plus 34 for source routing = the size of sdl_data).  Further
refinements could overcome this limitation but would break binary
compatibility; this commit only addresses fixing the bug for
commonly-occuring cases without breaking binary compatibility with the
intention that the functionality can be MFC'ed to -stable.

  See message ID's (both send to -arch):
20020421013332.F87395-100000@gateway.posi.net
20020430181359.G11009-300000@gateway.posi.net
  for a more thorough description of the bug addressed and how to
reproduce it.

Approved by: silence on -arch and -net
Sponsored by: NTT Multimedia Communications Labs
MFC after: 1 week

22 years agoRe-remove kern_random.c and svr4_signal.c. Somehow dillon managed to keep
peter [Tue, 7 May 2002 21:54:47 +0000 (21:54 +0000)]
Re-remove kern_random.c and svr4_signal.c.  Somehow dillon managed to keep
on committing to these while they were in the Attic after they had been
removed.  I think this was because he had the file checked out and already
'modified' while markm cvs rm'ed them, and cvs screws up when trying to
"merge" the modifications with the "rm".  And after that the client
state was sufficiently hosed to keep it messed up.  Yay CVS!  (CVS is
very fragile for adding and removing files remotely)

The existence of these files was pointed out by: ru

22 years agoRe-remove these files. Somehow obrien managed to revive them with a
peter [Tue, 7 May 2002 21:47:57 +0000 (21:47 +0000)]
Re-remove these files.  Somehow obrien managed to revive them with a
Makefile cleanup sweep even after they were removed.  cvs was very
confused because they were in the Attic still.

22 years agoNew release note: syncache/accept_filter bugfix.
bmah [Tue, 7 May 2002 21:01:46 +0000 (21:01 +0000)]
New release note:  syncache/accept_filter bugfix.

22 years ago- Remove the init routine for loop -- it broke something and I don't have
arr [Tue, 7 May 2002 20:50:10 +0000 (20:50 +0000)]
- Remove the init routine for loop -- it broke something and I don't have
  the time to fix it properly at the moment.

22 years ago- Use an array of init functions to be used in a for loop in our
arr [Tue, 7 May 2002 20:37:40 +0000 (20:37 +0000)]
- Use an array of init functions to be used in a for loop in our
  initialization routine.

22 years ago- Add atm_init_fn
arr [Tue, 7 May 2002 20:36:35 +0000 (20:36 +0000)]
- Add atm_init_fn

22 years ago- Add atm_sock_init()
arr [Tue, 7 May 2002 20:13:55 +0000 (20:13 +0000)]
- Add atm_sock_init()
- Move the Atm_pcb storage pool (atm_pcb_pool) to be an UMA zone.

22 years ago- Change the atm_cm_init function to take no argument.
arr [Tue, 7 May 2002 20:12:29 +0000 (20:12 +0000)]
- Change the atm_cm_init function to take no argument.

22 years agoAdd a -i option to sed(1) to do inplace editing, to give us an alternative to
jmallett [Tue, 7 May 2002 18:32:18 +0000 (18:32 +0000)]
Add a -i option to sed(1) to do inplace editing, to give us an alternative to
Perl for such things.  The key difference to Perl is that a backup extension
*MUST* be specified, because on one hand it isn't recommended to have options
which optionally take a parameter, and on the other hand, it'd be slightly
unpleasent to implement proper handling for that.

The difference between this and the version posted to developers@ is that it
does handle multiple files in argv after the getopt(3) handling "correctly",
in that the inplace editing-specific code has been moved out to a function,
and that function is used beyond the first file in our linked list.

This option has been documented as FreeBSD-specific in the manpage.

Reviewed by: developers@ (got feedback from: des, fanf, sobomax, roberto,
obrien)
MFC after: 1 week

22 years agoMFOpenBSD: ibss and ibss-master.
imp [Tue, 7 May 2002 18:16:39 +0000 (18:16 +0000)]
MFOpenBSD: ibss and ibss-master.

ibss is the modern ad-hoc mode.  ibss-master is the same, except that
it creates the ibss network.  This distinction is necessary because
some supported cards (symbol) support the former without supporting
the latter.

A seprate commit will introduce a demo-adhoc mode so that we can
disentwingle the multiple, mutually exclusive meandings of adhoc in
the present state of affairs.

Submitted by: jhay

22 years agoMinor style nit
imp [Tue, 7 May 2002 18:11:55 +0000 (18:11 +0000)]
Minor style nit

22 years agoTry to use spls more correctly
imp [Tue, 7 May 2002 18:09:19 +0000 (18:09 +0000)]
Try to use spls more correctly

22 years agoFix the copyright dates.
obrien [Tue, 7 May 2002 18:07:43 +0000 (18:07 +0000)]
Fix the copyright dates.

22 years agoThis is two new entries for Taiwanese 16bit PCMCIA cards.
keichii [Tue, 7 May 2002 16:50:15 +0000 (16:50 +0000)]
This is two new entries for Taiwanese 16bit PCMCIA cards.
The Blue Concentric CF 802.11b card is a compactflash form-factored card
that does 802.11b, including 128bit encryption.
The Zonet modem pccard is a simple FAX/Modem card.

Both are sold in Guang-Hua Market in Taipei, and functions perfectly
with -current and -stable.

22 years agoDo not forget to increase the number of completely connected sockets in
tanimura [Tue, 7 May 2002 16:17:44 +0000 (16:17 +0000)]
Do not forget to increase the number of completely connected sockets in
soisconnected_locked().

Forgotten by: tanimura

22 years agoAdded internal, non-recursive (SUBDIR) versions of the `all-man'
ru [Tue, 7 May 2002 15:42:56 +0000 (15:42 +0000)]
Added internal, non-recursive (SUBDIR) versions of the `all-man'
and `maninstall' targets.  This fixes the issue where each subdir
was descended into twice during "make all", and also resurrects
the standardization of `maninstall'.

Urged by: bde

22 years agoInstall PROG before SCRIPTS and FILES, but make sure
ru [Tue, 7 May 2002 15:30:49 +0000 (15:30 +0000)]
Install PROG before SCRIPTS and FILES, but make sure
LINKS are still processed last.  This backs out part
of the backout in previous revision.

Install the manpages before descending into SUBDIRs.

22 years agoInstall the manpages before descending into SUBDIRs.
ru [Tue, 7 May 2002 15:27:56 +0000 (15:27 +0000)]
Install the manpages before descending into SUBDIRs.

22 years agoDocument CVSCMDARGS variable.
matusita [Tue, 7 May 2002 14:57:22 +0000 (14:57 +0000)]
Document CVSCMDARGS variable.

Suggested by: murray
Reviewed by: ru
MFC after: 3 days
(if re@ allows)

22 years agoFix the output when daily_status_mailq_shorten is set to YES
brian [Tue, 7 May 2002 13:11:05 +0000 (13:11 +0000)]
Fix the output when daily_status_mailq_shorten is set to YES

PR: 23766
Mostly submitted by: lambert@ssabsd.csw.net
MFC after: 3 days

22 years agoDon't corrupt MP fragments when they're put back on the front of our
brian [Tue, 7 May 2002 12:48:45 +0000 (12:48 +0000)]
Don't corrupt MP fragments when they're put back on the front of our
inbound queue.

Submitted by: "Amit K. Rao" <arao@niksun.com>
PR: 37813
MFC after: 1 week

Also fix a typo while I'm here.

22 years agoSync with master.passwd.
maxim [Tue, 7 May 2002 11:19:22 +0000 (11:19 +0000)]
Sync with master.passwd.

PR: conf/37796
Submitted by: David Siebo"rger <drs@rucus.ru.ac.za>
MFC after: 3 days

22 years agoAdd myself.
fanf [Tue, 7 May 2002 11:09:40 +0000 (11:09 +0000)]
Add myself.

Reviewed by: dwmalone (mentor)

22 years agoInclude 'www' in the list of forbidden ftp users.
maxim [Tue, 7 May 2002 11:07:39 +0000 (11:07 +0000)]
Include 'www' in the list of forbidden ftp users.

Reviewed by: sheldonh
MFC after: 3 days

22 years agoReconnect db_elf.c to the build (now under "options DDB_NOKLDSYM"). It
bde [Tue, 7 May 2002 10:59:52 +0000 (10:59 +0000)]
Reconnect db_elf.c to the build (now under "options DDB_NOKLDSYM").  It
doesn't actually build yet.

22 years agoAdd support for vendor specific RADIUS extensions.
brian [Tue, 7 May 2002 10:47:18 +0000 (10:47 +0000)]
Add support for vendor specific RADIUS extensions.

Only the extensions from rfc2548 are specified for now.

22 years agoUnderstand the Session-Timeout RADIUS attribute
brian [Tue, 7 May 2002 10:06:54 +0000 (10:06 +0000)]
Understand the Session-Timeout RADIUS attribute
Store the Filter-Id attribute (we don't do anything with it yet)

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

22 years agoAdd smmsp, mailnull and www
brian [Tue, 7 May 2002 09:38:02 +0000 (09:38 +0000)]
Add smmsp, mailnull and www

PR: 37796
Submitted by: drs@rucus.ru.ac.za
MFC after: 1 week

Note, I don't usually look after pppd (just ppp), so I haven't
removed the ftp and ingres users as I guess they're there for
a reason....

22 years agoMake NO_CXX, really mean NO_CXX.
obrien [Tue, 7 May 2002 07:49:12 +0000 (07:49 +0000)]
Make NO_CXX, really mean NO_CXX.

22 years agoMake sure the file in Attic is really "dead".
ru [Tue, 7 May 2002 06:57:04 +0000 (06:57 +0000)]
Make sure the file in Attic is really "dead".

Problem found by: ken

22 years agoo Add ar.lc to the pcb.
marcel [Tue, 7 May 2002 05:52:27 +0000 (05:52 +0000)]
o  Add ar.lc to the pcb.
o  Create pcb_save as the backend for savectx and cpu_switch.
o  While here, use explicit bundling for pcb_save and optimize
   for compactness (~87% density).

o  Not part of the commit is a backend pcb_restore. restorectx()
   still jumps halfway into cpu_switch().

22 years agoSwitch from just holding the interlock to holding the standard lock throughout
jeff [Tue, 7 May 2002 02:44:06 +0000 (02:44 +0000)]
Switch from just holding the interlock to holding the standard lock throughout
getnewvnode().  This is safer.  In the future, we should investigate requiring
only the interlock to get the vnode object.

22 years agoComment a knob.
obrien [Tue, 7 May 2002 02:26:40 +0000 (02:26 +0000)]
Comment a knob.

22 years agoThe default ASM_OUTPUT_ADDR_DIFF_ELT will now handle our mixed a.out/ELF.
obrien [Tue, 7 May 2002 02:25:52 +0000 (02:25 +0000)]
The default ASM_OUTPUT_ADDR_DIFF_ELT will now handle our mixed a.out/ELF.

22 years agolibstdc++ version 3 (Gcc 3.1 is a consumer) uses the typical `config.h'.
obrien [Tue, 7 May 2002 01:03:51 +0000 (01:03 +0000)]
libstdc++ version 3 (Gcc 3.1 is a consumer) uses the typical `config.h'.

22 years agoFixed missing quotes in the default for MKDEPCMD in the CC != cc case.
bde [Tue, 7 May 2002 00:15:53 +0000 (00:15 +0000)]
Fixed missing quotes in the default for MKDEPCMD in the CC != cc case.
"CC='cc -Dfoo' make depend" was very broken.

22 years agoInclude <sys/lockmgr.h> for definitions of deprecated locking interfaces --
bde [Mon, 6 May 2002 23:34:13 +0000 (23:34 +0000)]
Include <sys/lockmgr.h> for definitions of deprecated locking interfaces --
don't depend on namespace pollution in other headers.

22 years agoUse __FBSDID
obrien [Mon, 6 May 2002 23:24:39 +0000 (23:24 +0000)]
Use __FBSDID

22 years agoWe typically don't add trailing /'s.
obrien [Mon, 6 May 2002 23:24:16 +0000 (23:24 +0000)]
We typically don't add trailing /'s.

22 years agoGCC's libstdc++ version 3 has the "libgcc" like bits (start up / terminate
obrien [Mon, 6 May 2002 22:07:26 +0000 (22:07 +0000)]
GCC's libstdc++ version 3 has the "libgcc" like bits (start up / terminate
code, `new' handler, exception handling, etc.) split out into libsupc++.

22 years agoMake funsetown() take a 'struct sigio **' so that the locking can
alfred [Mon, 6 May 2002 19:31:28 +0000 (19:31 +0000)]
Make funsetown() take a 'struct sigio **' so that the locking can
be done internally.

Ensure that no one can fsetown() to a dying process/pgrp.  We need
to check the process for P_WEXIT to see if it's exiting.  Process
groups are already safe because there is no such thing as a pgrp
zombie, therefore the proctree lock completely protects the pgrp
from having sigio structures associated with it after it runs
funsetownlst.

Add sigio lock to witness list under proctree and allproc, but over
proc and pgrp.

Seigo Tanimura helped with this.

22 years agoMFNetBSD: ugen.c (1.57), ulpt.c (1.48), usb.c (1.67), usbdi.c (1.96),
joe [Mon, 6 May 2002 18:23:36 +0000 (18:23 +0000)]
MFNetBSD: ugen.c (1.57), ulpt.c (1.48), usb.c (1.67), usbdi.c (1.96),
  usbdi.h (1.60)
  (and local changes compatibility changes to ufm.c and urio.c)

    date: 2002/02/11 15:11:49;  author: augustss;
    Give usbd_do_request_flags() an extra argument for the timeout.

22 years ago'file system' > filesystem
trhodes [Mon, 6 May 2002 17:53:50 +0000 (17:53 +0000)]
'file system' > filesystem
add FILES section.

PR: 34239
Submitted by: Gary W. Swearingen <swear@blarg.net>

22 years agoWhen checking to see if the init process calls exit1(), compare p to the
jhb [Mon, 6 May 2002 17:07:10 +0000 (17:07 +0000)]
When checking to see if the init process calls exit1(), compare p to the
initproc proc pointer instead of checking to see if the pid is 1.

Submitted by: bde

22 years agoStyle fixes in local variable declarations.
jhb [Mon, 6 May 2002 17:04:29 +0000 (17:04 +0000)]
Style fixes in local variable declarations.

Submitted by: bde

22 years agoRevised MLD-related definitions
ume [Mon, 6 May 2002 16:28:25 +0000 (16:28 +0000)]
Revised MLD-related definitions
- Used mld_xxx and MLD_xxx instead of mld6_xxx and MLD6_xxx according
  to the official defintions in rfc2292bis
  (macro definitions for backward compatibility were provided)
- Changed the first member of mld_hdr{} from mld_hdr to mld_icmp6_hdr
  to avoid name space conflict in C++

This change makes ports/net/pchar compilable again under -CURRENT.

Obtained from: KAME

22 years ago- Style fixes in some comments.
jhb [Mon, 6 May 2002 15:46:29 +0000 (15:46 +0000)]
- Style fixes in some comments.
- Whitespace nit.
- Sort some includes.

Submitted by: bde (mostly)

22 years agoAddress a few minor style and consistency issues in revision 1.32.
iedowse [Mon, 6 May 2002 15:15:51 +0000 (15:15 +0000)]
Address a few minor style and consistency issues in revision 1.32.

Submitted by: Joshua Goodall <joshua@roughtrade.net>

22 years agoAdd support for the D-Link DFE-690TXD Cardbus card which has a RealTek 8139
jhb [Mon, 6 May 2002 13:43:00 +0000 (13:43 +0000)]
Add support for the D-Link DFE-690TXD Cardbus card which has a RealTek 8139
with its own PCI ID.

22 years agoAdd suspend/resume code mostly merged from fxp/rl driver.
iwasaki [Mon, 6 May 2002 10:55:42 +0000 (10:55 +0000)]
Add suspend/resume code mostly merged from fxp/rl driver.
This is temporary hack, better and generalized solution probably
should be implemented at lower layer(MII or PCI?).
Tested by: shoko.araki@soliton.co.jp
MFC after: 1 week

22 years agoRegen:
sheldonh [Mon, 6 May 2002 10:13:17 +0000 (10:13 +0000)]
Regen:

* Hart: rev 295 of pcidevs.txt (2002-04-27)
* Boemler: vendors.txt (2002-04-30)

22 years agoPrevious commit was...
markm [Mon, 6 May 2002 09:48:02 +0000 (09:48 +0000)]
Previous commit was...

Submitted by: des

22 years agoFix an external declaration that was causing telnetd to core dump.
markm [Mon, 6 May 2002 09:46:29 +0000 (09:46 +0000)]
Fix an external declaration that was causing telnetd to core dump.

MFC after: 1 week
PR: 37766

22 years agoUse hw.ata.ata_dma instead of hw.atamodes, which doesn't exist in anymore.
dd [Mon, 6 May 2002 09:40:52 +0000 (09:40 +0000)]
Use hw.ata.ata_dma instead of hw.atamodes, which doesn't exist in anymore.

Reviewed by: maxim

22 years agoAdd another Askey ISA modem ID.
dwmalone [Mon, 6 May 2002 09:02:55 +0000 (09:02 +0000)]
Add another Askey ISA modem ID.

PR: 35813
Submitted by: Chris Knight <chris@aims.com.au>

22 years agoinet_aton returns 0 on failure, not -1.
dwmalone [Mon, 6 May 2002 08:39:43 +0000 (08:39 +0000)]
inet_aton returns 0 on failure, not -1.

PR: 37680
Submitted by: Scott Bertilson <scott@nts.umn.edu>
MFC after: 2 weeks

22 years agoMake argument to printf match format.
marcel [Mon, 6 May 2002 08:27:21 +0000 (08:27 +0000)]
Make argument to printf match format.

22 years agoPC98 still uses wd#, so resurrect the wd# entry and mark is "pc98 only".
dd [Mon, 6 May 2002 07:48:36 +0000 (07:48 +0000)]
PC98 still uses wd#, so resurrect the wd# entry and mark is "pc98 only".

Noticed by: bde (four months ago)

22 years ago o Header files shouldn't depend on options: Provide prototypes
alc [Mon, 6 May 2002 06:20:04 +0000 (06:20 +0000)]
 o Header files shouldn't depend on options: Provide prototypes
   for uiomoveco(), uioread(), and vm_uiomove() regardless
   of whether ENABLE_VFS_IOOPT is defined or not.

Submitted by: bde

22 years ago o Condition the compilation and use of vm_freeze_copyopts()
alc [Mon, 6 May 2002 05:45:57 +0000 (05:45 +0000)]
 o Condition the compilation and use of vm_freeze_copyopts()
   on ENABLE_VFS_IOOPT.

22 years agoHold the currently selected vnode's lock across the call to VOP_GETVOBJECT.
jeff [Mon, 6 May 2002 04:47:43 +0000 (04:47 +0000)]
Hold the currently selected vnode's lock across the call to VOP_GETVOBJECT.

Don't try to create a vm object before the file system has a chance to finish
initializing it.  This is incorrect for a number of reasons.  Firstly, that
VOP requires a lock which the file system may not have initialized yet. Also,
open and others will create a vm object if it is necessary later.

22 years agoAffect the first of stdin, stdout and stderr that is attached to a terminal.
tjr [Mon, 6 May 2002 04:33:04 +0000 (04:33 +0000)]
Affect the first of stdin, stdout and stderr that is attached to a terminal.
Write status information to stdout instead of stderr.
Exit status when an error occurs musn't be 1, that is reserved for
indicating that messages are disabled.

These changes bring mesg(1) up to SUSv3 conformance.

Reviewed by: mike

22 years ago-I and -J both set the same variable, replstr, to the string to replace with
jmallett [Mon, 6 May 2002 03:38:28 +0000 (03:38 +0000)]
-I and -J both set the same variable, replstr, to the string to replace with
a line of input, and both work differently, so prevent them from both being
passed to xargs(1).