]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoTurn off building the ARC loader. I don't know of anyone currently working
David E. O'Brien [Sun, 25 Mar 2001 23:07:44 +0000 (23:07 +0000)]
Turn off building the ARC loader.  I don't know of anyone currently working
on advancing this WIP.

23 years agofix whitespace bogons
Cameron Grant [Sun, 25 Mar 2001 21:43:24 +0000 (21:43 +0000)]
fix whitespace bogons

23 years agoIssue a ``quit'' after other ppp commands given on the command line and
Brian Somers [Sun, 25 Mar 2001 20:06:08 +0000 (20:06 +0000)]
Issue a ``quit'' after other ppp commands given on the command line and
then wait for the connection to be closed by the peer.

This means that commands such as ``pppctl ... show links'' will
display the correct output again (rather than truncating it depending
on how much data arrived in the last packet).

23 years agoReplace pmap_unset() with rpcb_unset() which fixes the unregistering.
Alfred Perlstein [Sun, 25 Mar 2001 19:59:07 +0000 (19:59 +0000)]
Replace pmap_unset() with rpcb_unset() which fixes the unregistering.

Submitted by: Martin Blapp <mb@imp.ch>

23 years agoDeal with lack of IPv6 support gracefully.
Alfred Perlstein [Sun, 25 Mar 2001 19:57:58 +0000 (19:57 +0000)]
Deal with lack of IPv6 support gracefully.

Submitted by: Martin Blapp <mb@imp.ch>

23 years agofix -o port=xxx
Alfred Perlstein [Sun, 25 Mar 2001 19:18:43 +0000 (19:18 +0000)]
fix -o port=xxx

23 years agorelease resources if one of the speculative probes in opti_detect() fails,
Cameron Grant [Sun, 25 Mar 2001 19:09:06 +0000 (19:09 +0000)]
release resources if one of the speculative probes in opti_detect() fails,
otherwise resource_list_alloc panics when opti_detect tries its next probe.

23 years agothe softc is not a mutex, don't try to lock it.
Cameron Grant [Sun, 25 Mar 2001 18:56:48 +0000 (18:56 +0000)]
the softc is not a mutex, don't try to lock it.

Submitted by: George Reid <greid@ukug.uk.freebsd.org>

23 years agoUpdate for file 3.34.
David E. O'Brien [Sun, 25 Mar 2001 18:38:47 +0000 (18:38 +0000)]
Update for file 3.34.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r74784,
David E. O'Brien [Sun, 25 Mar 2001 18:37:04 +0000 (18:37 +0000)]
This commit was generated by cvs2svn to compensate for changes in r74784,
which included commits to RCS files with non-trunk default branches.

23 years agoVirgin import of Christos Zoulas's FILE 3.34.
David E. O'Brien [Sun, 25 Mar 2001 18:37:04 +0000 (18:37 +0000)]
Virgin import of Christos Zoulas's FILE 3.34.

23 years agoBah. 'ln -sf' -> 'ln -fs'. I need to read my email more closely in the
Scott Long [Sun, 25 Mar 2001 15:51:43 +0000 (15:51 +0000)]
Bah.  'ln -sf' -> 'ln -fs'.  I need to read my email more closely in the
mornings.

Pointy hat again Obtained from: roam@orbitel.org

23 years ago'ln -s' -> 'ln -sf' for the afa link.
Scott Long [Sun, 25 Mar 2001 14:11:55 +0000 (14:11 +0000)]
'ln -s' -> 'ln -sf' for the afa link.

Pointy hat Obtained from: roam@orbitel.bg

23 years agoMake header files conform to style(9).
Brian Somers [Sun, 25 Mar 2001 12:05:10 +0000 (12:05 +0000)]
Make header files conform to style(9).

Reviewed by (*): bde

(*) alias_local.h only got a cursory glance.

23 years agoFix .Xr sd -> da.
Dirk Froemberg [Sun, 25 Mar 2001 11:57:25 +0000 (11:57 +0000)]
Fix .Xr sd -> da.

23 years agoIdentify obsolete ports
Brian Somers [Sun, 25 Mar 2001 11:35:22 +0000 (11:35 +0000)]
Identify obsolete ports

23 years ago(MFC candidate since this is already a merge from /sys/net only.)
Joerg Wunsch [Sun, 25 Mar 2001 09:59:23 +0000 (09:59 +0000)]
(MFC candidate since this is already a merge from /sys/net only.)

Merge rev's 1.65 and 1.66 from sys/net/if_spppsubr.c (implement the
`restart' option, and fix a blatant bug with PAP authentication).

The i4b implementation of this file should be merged back, but for now,
we need this here as well.

Reviewed by: gj

23 years agoThis is another MFC candidate.
Joerg Wunsch [Sun, 25 Mar 2001 09:53:07 +0000 (09:53 +0000)]
This is another MFC candidate.

Fix a serious bug in sppp where anyone could obtain a successful PAP
authentication by supplying a null password.  I've only stumpled across
the PR while browsing for all sppp-related PRs.

Should we also file a security advisory for this?

PR: 21592
Submitted by: <dli@3bc.de> Dirk Liebke

23 years agoRemove some unused stuff
Peter Wemm [Sun, 25 Mar 2001 07:21:04 +0000 (07:21 +0000)]
Remove some unused stuff

23 years agoI need to add to the previous commit:
Mark Murray [Sun, 25 Mar 2001 07:02:11 +0000 (07:02 +0000)]
I need to add to the previous commit:

Tested by: dougb

23 years agoAllow bog-standard ioctls through. There are really handled in
Mark Murray [Sun, 25 Mar 2001 06:55:19 +0000 (06:55 +0000)]
Allow bog-standard ioctls through. There are really handled in
higher layers, but there needs to be a "no-error" return here.

23 years agoMerge various changes from OpenBSD and NetBSD.
Mike Heffner [Sun, 25 Mar 2001 04:57:05 +0000 (04:57 +0000)]
Merge various changes from OpenBSD and NetBSD.

o remove panic() in favor of err(3) and use err(3) functions
  consistently throughout
o use stat(2)'s S_IS* macros rather than S_IF*
o [r]index -> str[r]chr
o convert some static buffers to dynamic ones
o use real tempfiles rather than reopening the same templates
o rename some functions that clash with libc
o convert wait_status from union to int and use wait(2) status macros
o fix multiple potential buffer overflows
o fix a few comments
o add $FreeBSD$

Reviewed by: nra, nectar (earlier version)

23 years agoRemove an extraneous declaration.
Brian Somers [Sun, 25 Mar 2001 03:34:29 +0000 (03:34 +0000)]
Remove an extraneous declaration.

23 years agoTemporary build structure for GDB 5.0 so people can test the new version
David E. O'Brien [Sun, 25 Mar 2001 02:20:37 +0000 (02:20 +0000)]
Temporary build structure for GDB 5.0 so people can test the new version
before pulling the switch to making it the default version.

23 years agoIf we're adding an interface address that is already one of the interface's
Brian Somers [Sun, 25 Mar 2001 01:34:27 +0000 (01:34 +0000)]
If we're adding an interface address that is already one of the interface's
aliases with the same netmask and destination, don't remove it and then
re-add exactly the same thing.

This means that static (non-sticky) routes that use the interface address
(or destination address) as a destination will not suddenly evaporate when
IPCP comes up (not unless the negotiated IPs have changed anyway).

23 years agoMove the atomic() mbstat.m_drops incrementing to the MGET(HDR) and
Bosko Milekic [Sat, 24 Mar 2001 23:47:52 +0000 (23:47 +0000)]
Move the atomic() mbstat.m_drops incrementing to the MGET(HDR) and
MCLGET macros in order to avoid incrementing the drop count twice.
Otherwise, in some cases, we may increment m_drops once in m_mballoc()
for example, and increment it again in m_mballoc_wait() if the
wait fails.

23 years agomega-commit.
Cameron Grant [Sat, 24 Mar 2001 23:10:29 +0000 (23:10 +0000)]
mega-commit.

this introduces a new buffering mechanism which results in dramatic
simplification of the channel manager.

as several structures have changed, we take the opportunity to move their
definitions into the source files where they are used, make them private and
de-typedef them.

the sound drivers are updated to use snd_setup_intr instead of
bus_setup_intr, and to comply with the de-typedefed structures.

the ac97, mixer and channel layers have been updated with finegrained
locking, as have some drivers- not all though.  the rest will follow soon.

23 years agoAdd apsfilter to "important package" set.
Jordan K. Hubbard [Sat, 24 Mar 2001 23:05:44 +0000 (23:05 +0000)]
Add apsfilter to "important package" set.

Submitted by: andreas

23 years agoCatch these modules up with obrien's recent cleanup commit.
Peter Wemm [Sat, 24 Mar 2001 22:33:43 +0000 (22:33 +0000)]
Catch these modules up with obrien's recent cleanup commit.

23 years agoDrop 'KMODDEPS = snd_pcm' - it isn't used.
Peter Wemm [Sat, 24 Mar 2001 22:28:49 +0000 (22:28 +0000)]
Drop 'KMODDEPS = snd_pcm' - it isn't used.

23 years agoBack out 'KMODDEPS = miibus' addition in last commit. This isn't used.
Peter Wemm [Sat, 24 Mar 2001 22:21:59 +0000 (22:21 +0000)]
Back out 'KMODDEPS = miibus' addition in last commit.  This isn't used.

23 years agoAdd new categories science and ukrainian.
Satoshi Asami [Sat, 24 Mar 2001 21:52:25 +0000 (21:52 +0000)]
Add new categories science and ukrainian.

23 years agoAdd #if'ed support for the future option CAM_NEW_TRAN_CODE.
Gerard Roudier [Sat, 24 Mar 2001 21:11:31 +0000 (21:11 +0000)]
Add #if'ed support for the future option CAM_NEW_TRAN_CODE.

23 years agowhen writing to one of the setup registers, a 32-bit write is required.
Cameron Grant [Sat, 24 Mar 2001 20:36:59 +0000 (20:36 +0000)]
when writing to one of the setup registers, a 32-bit write is required.

this apparently fixes problems initialising certain es1371/es1373/ct5880
revisions.

Confirmed working by: Richard J Kuhns <rjk@grauel.com>
PR: i386/25944

23 years agoRevert the warning elimination in rev 1.292. It breaks the Alpha build with:
David E. O'Brien [Sat, 24 Mar 2001 17:28:06 +0000 (17:28 +0000)]
Revert the warning elimination in rev 1.292.  It breaks the Alpha build with:

/usr/src/usr.sbin/sysinstall/menus.c:1323: initializer element is not computable at load time
/usr/src/usr.sbin/sysinstall/menus.c:1323: (near initialization for `MenuNetworking.items[9].aux')

23 years agoAdd bandaid to get ISA only systems to link.
Søren Schmidt [Sat, 24 Mar 2001 16:19:07 +0000 (16:19 +0000)]
Add bandaid to get ISA only systems to link.

23 years agoFix typo ); -> ,
Jeroen Ruigrok van der Werven [Sat, 24 Mar 2001 15:25:04 +0000 (15:25 +0000)]
Fix typo ); -> ,

23 years agoUnbreak build on alpha.
Hajimu UMEMOTO [Sat, 24 Mar 2001 15:17:27 +0000 (15:17 +0000)]
Unbreak build on alpha.
  - Move in_port_t to sys/types.h.
  - Nuke in_addr_t from each endian.h.

Reported by: jhb

23 years agoSort includes and remove bogus typedef of modeventhand_t, since this
Alexander Langer [Sat, 24 Mar 2001 12:18:45 +0000 (12:18 +0000)]
Sort includes and remove bogus typedef of modeventhand_t, since this
isn't used in the example any more.

Pointed out by: bde

23 years agoList of distfile contents to delete using `rm' and `find -delete'.
David E. O'Brien [Sat, 24 Mar 2001 09:37:48 +0000 (09:37 +0000)]
List of distfile contents to delete using `rm' and `find -delete'.
Simular to the FREEBSD-Xlist used with `tar -X ... -xf'.
This file is typically used when one starts with the GDB anoncvs repo
rather than a release tarball.

23 years agoSigh. I should know better than to commit a one line change from a PR
David E. O'Brien [Sat, 24 Mar 2001 09:01:31 +0000 (09:01 +0000)]
Sigh.  I should know better than to commit a one line change from a PR
w/o a full compile test, even when the PR seemed so authoritative on the
subject...

Install sstream, not the non-existent sstring.

23 years agoRestore the careful preservation of .depend (rev 1.78 of Makefile.i386)
David E. O'Brien [Sat, 24 Mar 2001 08:44:28 +0000 (08:44 +0000)]
Restore the careful preservation of .depend (rev 1.78 of Makefile.i386)
that I removed in my last commit dealing with `make depend' bogons.
This commit has some races, but hopefully they are too short to matter.
Unfortuneatly, neither .newdep nor .olddep is removed by `make clean'.

Submitted by: bde

23 years agoSilence (harmless) warnings.
Mark Murray [Sat, 24 Mar 2001 08:38:42 +0000 (08:38 +0000)]
Silence (harmless) warnings.

23 years agoRound 1 of Brucification inspired changes.
Peter Wemm [Sat, 24 Mar 2001 08:37:56 +0000 (08:37 +0000)]
Round 1 of Brucification inspired changes.

23 years agoCleaner way of adding -fschg (ie, correctly implement).
David E. O'Brien [Sat, 24 Mar 2001 08:31:45 +0000 (08:31 +0000)]
Cleaner way of adding -fschg (ie, correctly implement).
"INSTALLFLAGS" belongs to individual Makefiles.
"_INSTALLFLAGS" is for global additions.

Submitted by: bde

23 years agoFix a problem where we were switching npxproc from underneath processes
David E. O'Brien [Sat, 24 Mar 2001 08:27:57 +0000 (08:27 +0000)]
Fix a problem where we were switching npxproc from underneath processes
running in process context in order to run interrupt handlers.  This
caused a big smashing of the stack on AMD K6, K5 and Intel Pentium (ie, P5)
processors because we are using npxproc as a flag to indicate whether
the state has been pushed onto the stack.

Submitted by: bde

23 years agoInstall sstring.
David E. O'Brien [Sat, 24 Mar 2001 08:19:31 +0000 (08:19 +0000)]
Install sstring.

PR: 25927
Submitted by: Jeremy Norris <ishmael27@home.com>

23 years agoGarbage collect these ancient bits.
David E. O'Brien [Sat, 24 Mar 2001 08:15:22 +0000 (08:15 +0000)]
Garbage collect these ancient bits.

23 years agoAdd cvs tag
Doug Barton [Sat, 24 Mar 2001 07:20:36 +0000 (07:20 +0000)]
Add cvs  tag

23 years agoUse (..., "%s", foo) instead of (..., foo) to avoid a warning about a
John Baldwin [Sat, 24 Mar 2001 06:26:47 +0000 (06:26 +0000)]
Use (..., "%s", foo) instead of (..., foo) to avoid a warning about a
non-constant format string when calling kthread_create() to create an
ithread.

23 years ago- Define and use MAXCPU like the alpha and i386 instead of NCPUS.
John Baldwin [Sat, 24 Mar 2001 06:22:57 +0000 (06:22 +0000)]
- Define and use MAXCPU like the alpha and i386 instead of NCPUS.
- Sort the sys/mutex.h include in mp_machdep.c into a closer to correct
  location.

23 years agoStick a prototype for handleclock() in machine/clock.h and include it
John Baldwin [Sat, 24 Mar 2001 06:20:48 +0000 (06:20 +0000)]
Stick a prototype for handleclock() in machine/clock.h and include it
interrupt.c to quiet a warning.

23 years agoPreserve ssh directory across upgrades.
Jordan K. Hubbard [Sat, 24 Mar 2001 05:40:43 +0000 (05:40 +0000)]
Preserve ssh directory across upgrades.

Submitted by: Edwin Groothuis <edwin@mavetju.org>
PR: conf/25633

23 years agoThis is kind of a hack, but it should work. Currently, world is broken
Peter Wemm [Sat, 24 Mar 2001 04:40:49 +0000 (04:40 +0000)]
This is kind of a hack, but it should work.  Currently, world is broken
because libc/rpc/key_call.c references uname(), and ps/print.c also
defines uname(), and ps is linked statically.  This leads to a symbol
clash.  The userland uname(3) kinda sucked anyway as the hostname
etc was too short.  And since the libc rpc interface now uses
the utsname.nodename which gets truncated, I was tempted into doing
something about it.  Create a new userland uname function, called
__xuname() which takes an extra argument that allows you to change
the size of the fields.  uname() becomes a static inline function
in sys/utsname.h that passes the extra argument in.  struct utsname
has its field members expanded by default now in userland.
We still provide a 'uname' externally linkable function for things
that either think that they ``know'' the utsname format and assume
32 character strings and bypass the include file, or objects that
are linked against old libcs.  ie: just about every plausible
case that I can think of is covered.  Should we ever change the
default lengths again, a libc major bump should not be required
as the size is now passed to the function.

XXX the uname(2) in the kernel is for FreeBSD 1.1 binary compatability!
All the uname(3) functions that are exported to userland are actually
implemented in libc with sysctl.  uname(1) uses sysctl directly and
does not call uname(3).

PR: bin/4688

23 years agoJust use the proc lock to protect read accesses to p_pptr rather than the
John Baldwin [Sat, 24 Mar 2001 04:00:01 +0000 (04:00 +0000)]
Just use the proc lock to protect read accesses to p_pptr rather than the
more expensive proctree lock.

23 years agoProtect p_wmesg and p_wchan with sched_lock while checking for deadlocks
John Baldwin [Sat, 24 Mar 2001 03:57:44 +0000 (03:57 +0000)]
Protect p_wmesg and p_wchan with sched_lock while checking for deadlocks
with other byte range file locks.

23 years agoafterstep doesn't need an explicit xterm started for it either.
Jordan K. Hubbard [Sat, 24 Mar 2001 03:17:35 +0000 (03:17 +0000)]
afterstep doesn't need an explicit xterm started for it either.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r74722,
David E. O'Brien [Sat, 24 Mar 2001 01:58:31 +0000 (01:58 +0000)]
This commit was generated by cvs2svn to compensate for changes in r74722,
which included commits to RCS files with non-trunk default branches.

23 years agoImport the setjump/longjump exception handling fixes from GCC 2.95.3.test3
David E. O'Brien [Sat, 24 Mar 2001 01:58:31 +0000 (01:58 +0000)]
Import the setjump/longjump exception handling fixes from GCC 2.95.3.test3
that were removed from GCC 2.95.3.test4 and the subsequent release due
to problems on HP-UX.  However, they work just fine on all the BSD's.

W/o these patches the following program segmentation faults if compiled
with -O2 (but not -Os or -O or -O0):

#include <stdio.h>

class A {
public:
  A() { printf("c'tor A\n"); }
  ~A(){ printf("d'tor A\n"); }
};

class foo : public A {
public:
  foo()  { printf("C'tor foo\n"); throw 8; }
  ~foo() { printf("D'tor foo\n"); }
};

int main(){
  try { foo fii; }
  catch (int){ printf("catch ...\n"); }
  return 0;
}

23 years agos/dependant/dependent
Jordan K. Hubbard [Sat, 24 Mar 2001 01:26:51 +0000 (01:26 +0000)]
s/dependant/dependent

Submitted by: rwatson

23 years agorevert rev 1.3: restore MAN1 directive to unbreak world
Alfred Perlstein [Sat, 24 Mar 2001 01:17:51 +0000 (01:17 +0000)]
revert rev 1.3: restore MAN1 directive to unbreak world

23 years agoSlightly de-bogify the uname() declarations.
Peter Wemm [Sat, 24 Mar 2001 00:34:12 +0000 (00:34 +0000)]
Slightly de-bogify the uname() declarations.
1: there is no global 'struct utsname utsname' in the kernel.
2: the __P() stuff handles the __STDC__ stuff, so the extra ifdef is
   redundant.

23 years agoInstall /etc/primes.
Brian Feldman [Sat, 24 Mar 2001 00:33:05 +0000 (00:33 +0000)]
Install /etc/primes.

23 years agoNow that libfetch uses the high port range by default, add a -U option to
Dag-Erling Smørgrav [Sat, 24 Mar 2001 00:32:11 +0000 (00:32 +0000)]
Now that libfetch uses the high port range by default, add a -U option to
make it use the low (default) port range instead.

23 years agoUse high port range by default, and replace the 'h' option with an 'l' option
Dag-Erling Smørgrav [Sat, 24 Mar 2001 00:28:57 +0000 (00:28 +0000)]
Use high port range by default, and replace the 'h' option with an 'l' option
that forces the ftp code to use the low (default) port range instead.

23 years agoAdd /etc/primes for OpenSSH SSH2 DH exchange.
Brian Feldman [Sat, 24 Mar 2001 00:28:43 +0000 (00:28 +0000)]
Add /etc/primes for OpenSSH SSH2 DH exchange.

Submitted by: Chris Wasser <cwasser@v-wave.com>
Obtained from: OpenBSD

23 years agoFix rcsid/$FreeBSD$.
David E. O'Brien [Sat, 24 Mar 2001 00:22:13 +0000 (00:22 +0000)]
Fix rcsid/$FreeBSD$.
Reduce diff from what I think is the original sources.

23 years agoadd support for opti924 and opti930 chips
Cameron Grant [Sat, 24 Mar 2001 00:22:01 +0000 (00:22 +0000)]
add support for opti924 and opti930 chips

both should work in non-pnp mode, the 924 should also work in its rather
braindead pnp mode- it will adopt port 0x530 unless given hints due to it
starting up in soundblaster mode and thus not requesting a valid mss port
address.

Submitted by: George Reid <greid@ukug.uk.freebsd.org>

23 years agofix Alpha support
Alfred Perlstein [Sat, 24 Mar 2001 00:07:06 +0000 (00:07 +0000)]
fix Alpha support

23 years agoLets spell the guys name correctly: s/Avogardo/Avogadro/
Wilko Bulte [Fri, 23 Mar 2001 22:42:16 +0000 (22:42 +0000)]
Lets spell the guys name correctly: s/Avogardo/Avogadro/

23 years agoThe early compat dists only make sense on the i386
Jordan K. Hubbard [Fri, 23 Mar 2001 21:43:47 +0000 (21:43 +0000)]
The early compat dists only make sense on the i386

23 years agoCheck that background fsck operation is being done on a ufs filesystem.
Kirk McKusick [Fri, 23 Mar 2001 20:58:25 +0000 (20:58 +0000)]
Check that background fsck operation is being done on a ufs filesystem.

Obtained from: Robert Watson <rwatson@FreeBSD.org>

23 years agoFix the problem with some drives not reporting back when the
Søren Schmidt [Fri, 23 Mar 2001 20:55:28 +0000 (20:55 +0000)]
Fix the problem with some drives not reporting back when the
are busy blanking and erasing CD-RW media.
This fixes burncd's premature returns from blanking/erasing
that caused trouble.

23 years ago(MFC candidate, see below).
Joerg Wunsch [Fri, 23 Mar 2001 19:51:12 +0000 (19:51 +0000)]
(MFC candidate, see below).

When we get an Open event in stopped state, experience shows that this
is usually means we've somehow missed a previous Down event.  This has
occasionally bitten people for the IPCP layer with ISDN, apparently a
previously aborted IPCP negotiation must have caused this.  As a
bandaid, we quickly pretent a Down event by advancing to starting
state; this effectively implements the `restart' option mentioned in
RFC 1663.

While i'm not yet fully convinced this is the best thing to do (and is
fully compliant with RFC 1661), i've seen a number of reports here on
the German mailing lists where people have been bitten by the previous
behaviour which usually causes quickly looping ISDN reconnects (thus
loss of money...), and where just this patch fixes the problem.

For this, i'd even like to see it MFC'd if possible.

Submitted by: Helmut Kreft <kreft@zeus.ai-lab.fh-furtwangen.de>

23 years agodisable SRA
Assar Westerlund [Fri, 23 Mar 2001 19:38:21 +0000 (19:38 +0000)]
disable SRA
this impacts negatively to POLA since once autologin is enabled,
telnet will prompt for a password using getpass() and thus not allow
the usual signal characters or C-]

23 years agofix linux_times() to take into account linux's value of CLK_TCK on the alpha.
Andrew Gallatin [Fri, 23 Mar 2001 19:22:21 +0000 (19:22 +0000)]
fix linux_times() to take into account linux's value of CLK_TCK on the alpha.
Previously, results were off by a factor of 10

Tested by: Yoriaki FUJIMORI <fujimori@grafin.fujimori.cache.waseda.ac.jp>

23 years agoIPv4 address is not unsigned int. This change introduces in_addr_t.
Hajimu UMEMOTO [Fri, 23 Mar 2001 18:59:31 +0000 (18:59 +0000)]
IPv4 address is not unsigned int.  This change introduces in_addr_t.

PR: 9982
Adviced by: des
Reviewed by: -alpha and -net (no objection)
Obtained from: OpenBSD

23 years ago- Add which(1)-like functionality into pkg_info;
Maxim Sobolev [Fri, 23 Mar 2001 18:45:24 +0000 (18:45 +0000)]
- Add which(1)-like functionality into pkg_info;
- fix a harmless bug in match_installed() function introduced in my last
  commit;
- uniformely reorder includes across files.

Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>
Not objected by: jkh, -ports

23 years agoA few fixes..
Archie Cobbs [Fri, 23 Mar 2001 17:46:32 +0000 (17:46 +0000)]
A few fixes..

    1 Make promiscuous mode work
    2 A few header additions
    3 Allow device config before IFF_UP

These were (respectively)...

Submitted by: Allan Saddi <asaddi@philosophysw.com>
Submitted by: Dave Cornejo <dave@dogwood.com>
Submitted by: Doug Ambrisko <ambrisko@ambrisko.com>
Tested by: David Wolfskill <dhw@whistle.com>

23 years agoAdd Comtrol Rocketport cards to hardware list, for consistency with
Bruce A. Mah [Fri, 23 Mar 2001 16:46:09 +0000 (16:46 +0000)]
Add Comtrol Rocketport cards to hardware list, for consistency with
i386/RELNOTES.TXT.

Submitted by: Chris Williams <psion@geekspace.com>

23 years ago* power up the external amplifier
Cameron Grant [Fri, 23 Mar 2001 16:39:01 +0000 (16:39 +0000)]
* power up the external amplifier

* after chip reset, reapply power settings

23 years agochange callrpc() from taking "char *" args, I'm quite sure they really meant
Alfred Perlstein [Fri, 23 Mar 2001 16:14:49 +0000 (16:14 +0000)]
change callrpc() from taking "char *" args, I'm quite sure they really meant
to use "void *".

remove a duplicate prototype for callrpc() from libexec/ypxfr/ypxfr_extern.h

23 years ago- DECLARE_MODULE needs SYSINIT -> include sys/kernel.h
Alexander Langer [Fri, 23 Mar 2001 14:05:05 +0000 (14:05 +0000)]
- DECLARE_MODULE needs SYSINIT -> include sys/kernel.h
- modeventhand_t declares a pointer to a function, so it can't be
  used as a forward declaration (d'oh!)

Submitted by: Harti Brandt <brandt@fokus.gmd.de>

23 years agomdoc(7) police: fix markup.
Ruslan Ermilov [Fri, 23 Mar 2001 14:01:28 +0000 (14:01 +0000)]
mdoc(7) police: fix markup.

23 years agoFixed style bugs (use normal formatting for assignment, and don't override
Bruce Evans [Fri, 23 Mar 2001 13:47:46 +0000 (13:47 +0000)]
Fixed style bugs (use normal formatting for assignment, and don't override
the correct default for MAN1).

23 years agoQuote PPP_CONFDIR in CFLAGS
Brian Somers [Fri, 23 Mar 2001 13:28:28 +0000 (13:28 +0000)]
Quote PPP_CONFDIR in CFLAGS

23 years agoFix -I getopt form
Andrey A. Chernov [Fri, 23 Mar 2001 12:39:29 +0000 (12:39 +0000)]
Fix -I getopt form

PR: 26010
Submitted by: Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>

23 years agoreplace calls to non-existant bail() subroutine with calls to
Alfred Perlstein [Fri, 23 Mar 2001 11:48:50 +0000 (11:48 +0000)]
replace calls to non-existant bail() subroutine with calls to
the die() builtin function.

23 years agoChange _PATH_PPP to PPP_CONFDIR and allow it to be overridden at compile time
Brian Somers [Fri, 23 Mar 2001 11:43:22 +0000 (11:43 +0000)]
Change _PATH_PPP to PPP_CONFDIR and allow it to be overridden at compile time

23 years agoCorrect the acl_set_permset and acl_set_tag_type man pages
Chris D. Faulhaber [Fri, 23 Mar 2001 11:30:31 +0000 (11:30 +0000)]
Correct the acl_set_permset and acl_set_tag_type man pages
which somehow got mixed up with the acl_get_* man pages.

Submitted by: ru

23 years agoadded new directories to sync with XFree86-4.0.3.
FUJISHIMA Satsuki [Fri, 23 Mar 2001 11:18:06 +0000 (11:18 +0000)]
added new directories to sync with XFree86-4.0.3.

Approved by: asami

23 years agomdoc(7) police: fix markup.
Ruslan Ermilov [Fri, 23 Mar 2001 09:39:35 +0000 (09:39 +0000)]
mdoc(7) police: fix markup.

23 years agomdoc(7) police: fix markup, function prototype, and RETURN VALUES text.
Ruslan Ermilov [Fri, 23 Mar 2001 09:38:43 +0000 (09:38 +0000)]
mdoc(7) police: fix markup, function prototype, and RETURN VALUES text.

23 years agoMerged from sys/i386/isa/npx.c revision 1.93.
KATO Takenori [Fri, 23 Mar 2001 08:58:36 +0000 (08:58 +0000)]
Merged from sys/i386/isa/npx.c revision 1.93.

23 years agoMerged from sys/i386/i386/machdep.c revision 1.445.
KATO Takenori [Fri, 23 Mar 2001 08:57:22 +0000 (08:57 +0000)]
Merged from sys/i386/i386/machdep.c revision 1.445.

23 years agoMake wizard mode get out of raw mode first before going interactive with
Jordan K. Hubbard [Fri, 23 Mar 2001 08:26:43 +0000 (08:26 +0000)]
Make wizard mode get out of raw mode first before going interactive with
the user.

Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
PR: bin/24061

23 years agomdoc(7) police: fix markup and some spelling.
Ruslan Ermilov [Fri, 23 Mar 2001 08:14:27 +0000 (08:14 +0000)]
mdoc(7) police: fix markup and some spelling.

23 years agoFix a bug with setting the soft updates option from a script.
Jordan K. Hubbard [Fri, 23 Mar 2001 08:06:19 +0000 (08:06 +0000)]
Fix a bug with setting the soft updates option from a script.

Eliminate an old warning brought about by insufficient foresight when creating
the Menu structure.  Have I ever mentioned that sysinstall really needs to
be rewritten?

23 years agoNow that I have a pair of CreditCard Netwave Adapter, tweak the eject
Warner Losh [Fri, 23 Mar 2001 08:00:04 +0000 (08:00 +0000)]
Now that I have a pair of CreditCard Netwave Adapter, tweak the eject
case slightly to not print unload when the upper layers print
a message as well.

23 years agoSwitch from lynx to "links" as the default doc browser.
Jordan K. Hubbard [Fri, 23 Mar 2001 07:53:45 +0000 (07:53 +0000)]
Switch from lynx to "links" as the default doc browser.

Submitted by: jim