]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoAdd static dependency to libisc to get isc_movefile().
asmodai [Mon, 29 Jan 2001 07:56:34 +0000 (07:56 +0000)]
Add static dependency to libisc to get isc_movefile().

Submitted by: Munehiro Matsuda <haro@kubota.co.jp>

23 years agoFix a braino in ccd's clone routine.
phk [Mon, 29 Jan 2001 06:18:14 +0000 (06:18 +0000)]
Fix a braino in ccd's clone routine.

Submitted by: tegge

23 years agoBack out rev 1.102. The IBM DNES drives work fine for me, jedgar and other
ken [Mon, 29 Jan 2001 05:33:14 +0000 (05:33 +0000)]
Back out rev 1.102.  The IBM DNES drives work fine for me, jedgar and other
folks.

My guess is that reducing the number of tags is just masking the real
problem for the PR submitter.  I'll re-open the PR and see if I can work
with the submitter to diagnose the problem.

PR: 21139

23 years ago_exit in libc is now __sys_exit not __sys__exit.
deischen [Mon, 29 Jan 2001 03:24:23 +0000 (03:24 +0000)]
_exit in libc is now __sys_exit not __sys__exit.

Add another check for thread library initialization (jdp, we
really need a way to get _thread_init called at program start
before any constructors are run).

23 years agoClean up syscall generation in libc by removing HIDDEN_SYSCALLS
deischen [Mon, 29 Jan 2001 03:23:46 +0000 (03:23 +0000)]
Clean up syscall generation in libc by removing HIDDEN_SYSCALLS
and treating (almost) all system calls the same way:

__sys_foo - actual syscall
foo, _foo - weak definitions to __sys_foo

Change PSEUDO syscalls (currently only _exit and _getlogin) to
be __sys_foo (T) and _foo (W).

Add $FreeBSD$ to a few files to satisfy commitprep.

Suggested by: bde

23 years agoDon't hard-code alignment and data declarations valid for 64-bit
marcel [Mon, 29 Jan 2001 01:55:54 +0000 (01:55 +0000)]
Don't hard-code alignment and data declarations valid for 64-bit
machines (duh!). This was one reason why this script broke on
i386. The other being that on i386 sections did not have the
proper alignment. This has been fixed in sys/sys/linker_set.h.

23 years agoo Add explicit alignment to linker set definitions. On i386, data
marcel [Mon, 29 Jan 2001 01:46:50 +0000 (01:46 +0000)]
o  Add explicit alignment to linker set definitions. On i386, data
   declarations will not be aligned by default.
o  Remove the alignment work-around for alpha. Our current alpha
   as(1) does not assume alignment after section switching, nor
   does the ia64 as(1).

23 years agoOnly remove socket files with ``set server open''.
brian [Mon, 29 Jan 2001 01:35:06 +0000 (01:35 +0000)]
Only remove socket files with ``set server open''.
Only show the mask in ``show bundle'' when it's been specified.
Complain about unexpected arguments after ``set server {none,open,closed}''
Log re-open failures as warnings rather than phase messages.
Fix some markup for the ``set server'' man page description.

23 years agoIgnore leading witespace in the string given to PacketAliasProxyRule().
brian [Mon, 29 Jan 2001 00:30:01 +0000 (00:30 +0000)]
Ignore leading witespace in the string given to PacketAliasProxyRule().

23 years agoAdd static dependency on libisc.a to get isc_movefile() on which named
asmodai [Sun, 28 Jan 2001 23:21:00 +0000 (23:21 +0000)]
Add static dependency on libisc.a to get isc_movefile() on which named
now depends.  This keeps named the same as before the import, that is: only
linking against libc dynamically, at a little space increase, which might
be due to the source code changes anyway.  Very neglectable space
difference.

Some people might dub it a hack.  It will do for now at least.

23 years agoUpdate Makefile for the new sources.
asmodai [Sun, 28 Jan 2001 23:14:16 +0000 (23:14 +0000)]
Update Makefile for the new sources.

23 years agoResolve conflicts after import.
asmodai [Sun, 28 Jan 2001 23:06:48 +0000 (23:06 +0000)]
Resolve conflicts after import.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r71756,
asmodai [Sun, 28 Jan 2001 23:00:22 +0000 (23:00 +0000)]
This commit was generated by cvs2svn to compensate for changes in r71756,
which included commits to RCS files with non-trunk default branches.

23 years agoVirgin import of BIND v8.2.3-REL
asmodai [Sun, 28 Jan 2001 23:00:22 +0000 (23:00 +0000)]
Virgin import of BIND v8.2.3-REL

23 years agoDon't pass PacketAliasProxyRule() a buffer with leading whitespace as it
brian [Sun, 28 Jan 2001 21:56:27 +0000 (21:56 +0000)]
Don't pass PacketAliasProxyRule() a buffer with leading whitespace as it
can't handle it.

23 years agoCall trimdomain properly for ip4 addresses.
brian [Sun, 28 Jan 2001 21:51:25 +0000 (21:51 +0000)]
Call trimdomain properly for ip4 addresses.

PR: 24659
realhostname_sa() stuff submitted by: Jim.Pirzyk@disney.com

23 years agoFix region code reporting.
ken [Sun, 28 Jan 2001 21:43:17 +0000 (21:43 +0000)]
Fix region code reporting.

Reported by: Andrew Gordon <arg@arg1.demon.co.uk>

23 years agoRevert previous commit. I messed up my testing.
marcel [Sun, 28 Jan 2001 21:24:05 +0000 (21:24 +0000)]
Revert previous commit. I messed up my testing.

23 years agoUse \a instead of \007 for making noise.
phk [Sun, 28 Jan 2001 21:21:37 +0000 (21:21 +0000)]
Use \a instead of \007 for making noise.

Submitted by: "Jason Smethers" <jsmethers@pdq.net>

23 years agoRemove devstat entries in mddelete()
phk [Sun, 28 Jan 2001 20:55:55 +0000 (20:55 +0000)]
Remove devstat entries in mddelete()

Spotted: tegge

23 years agoDuh, the version of mdconfig.c I committed came from the wrong machine.
phk [Sun, 28 Jan 2001 20:17:46 +0000 (20:17 +0000)]
Duh, the version of mdconfig.c I committed came from the wrong machine.

Commit the right version, but without the -b option which is too evil
for the present.

Remove -b and preload from the manpage as well.

23 years agoRevert part of previous commit and initialize locale_nroff to " -Tascii"
des [Sun, 28 Jan 2001 20:17:14 +0000 (20:17 +0000)]
Revert part of previous commit and initialize locale_nroff to " -Tascii"
so man(1) works properly when no locale is set.

Spotted by: bde

23 years agoDon't specify fragment size, it autosizes from the sectorsize.
phk [Sun, 28 Jan 2001 20:03:02 +0000 (20:03 +0000)]
Don't specify fragment size, it autosizes from the sectorsize.

Remember to set mode 1777 on /tmp

Submitted by: mjacob

23 years agoA couple of chip errata work-arounds refined:
groudier [Sun, 28 Jan 2001 19:58:21 +0000 (19:58 +0000)]
A couple of chip errata work-arounds refined:
- When used on a 33MHz PCI BUS, the 53C1010-66 revision 0
  requires extra clocks to be inserted in data out phase.
  Revision 1 is fixed.
- The 53C1010-33 revision 1 requires internal cycles to be
  disabled due to possible contentions on IO registers.
  Revision 2 is fixed.
Fix:
- The probing of HVD from GPIO3 bit by the driver was reversed.
  The driver could misprobe the bus mode of a 825 or 875 chip
  that was not previously initialized (no BIOS for example).

23 years agoRemove an outdated DEVFS non-description.
phk [Sun, 28 Jan 2001 19:32:23 +0000 (19:32 +0000)]
Remove an outdated DEVFS non-description.

23 years agoDocument which options to use for API UP1[01]00
wilko [Sun, 28 Jan 2001 19:21:46 +0000 (19:21 +0000)]
Document which options to use for API UP1[01]00

23 years agoClear intr_nesting_level when an interrupt thread has no more
jake [Sun, 28 Jan 2001 17:20:11 +0000 (17:20 +0000)]
Clear intr_nesting_level when an interrupt thread has no more
handlers and wants to exit, so it doesn't panic in exit1()
which malloc()s with M_WAITOK.

Reported by: Bob Bishop <rb@gid.co.uk>

23 years agoAdd a new distribution algorythm to the 'one2many' node type.
julian [Sun, 28 Jan 2001 15:37:06 +0000 (15:37 +0000)]
Add a new distribution algorythm to the 'one2many' node type.
The new method is 'flood' (in addition to the old round-robin)
in which incoming packets are sent to more than one outgoing hook.
(I'm not sure what Rogier is using this for but it seems generally useful
and isn't much extra)

Submitted by:   Rogier R. Mulhuijzen (drwilco@drwilco.net )

23 years agoMerged from sys/i386/isa/npx.c revisions 1.88 and 1.89.
kato [Sun, 28 Jan 2001 12:31:03 +0000 (12:31 +0000)]
Merged from sys/i386/isa/npx.c revisions 1.88 and 1.89.

23 years agoSynced with sys/i386/i386/machdep.c revision 1.436.
kato [Sun, 28 Jan 2001 11:06:28 +0000 (11:06 +0000)]
Synced with sys/i386/i386/machdep.c revision 1.436.

23 years agoAPI UP1100 mainboard has been verified to work.
wilko [Sun, 28 Jan 2001 10:09:17 +0000 (10:09 +0000)]
API UP1100 mainboard has been verified to work.

23 years agoFinish cleaning up the error reporting (standardize on err*()/warn*())
kris [Sun, 28 Jan 2001 09:20:47 +0000 (09:20 +0000)]
Finish cleaning up the error reporting (standardize on err*()/warn*())
and fix some overflows.

Submitted by:   Mike Heffner <mheffner@vt.edu>

23 years agoAdd gd_witness_spin_check.
marcel [Sun, 28 Jan 2001 08:06:50 +0000 (08:06 +0000)]
Add gd_witness_spin_check.

23 years agoFix typo.
marcel [Sun, 28 Jan 2001 08:05:55 +0000 (08:05 +0000)]
Fix typo.

23 years agoImprove kernel bootstrapping:
marcel [Sun, 28 Jan 2001 06:39:56 +0000 (06:39 +0000)]
Improve kernel bootstrapping:
o  Use objdump instead of gensetdefs(1) to build the linker sets.
o  Allow overriding of nm and objdump in resp. genassym.sh and
   gensetdefs.pl for non-native toolchains.

Reviewed by: arch
Perl improvements: Jos Backus <josb@cncdsl.com>, benno

23 years agoMove the setting of curproc to idleproc up earlier in ap_init(). The
bmilekic [Sun, 28 Jan 2001 03:41:01 +0000 (03:41 +0000)]
Move the setting of curproc to idleproc up earlier in ap_init(). The
problem is that a mutex lock, prior to this change, is acquired before
the curproc is set to idleproc, so we mess ourselves up by calling
the mutex lock routine with curproc == NULL.

Moving it up after the aps_ready spin-wait has us hopefully setting it
after idleproc is setup.

Solved by: jake (the allmighty) :-)

23 years agoDefer assignment of low level interrupt handlers for PCI interrupts
tegge [Sun, 28 Jan 2001 01:07:54 +0000 (01:07 +0000)]
Defer assignment of low level interrupt handlers for PCI interrupts
described in the MP table until something asks for the interrupt number
later on.

23 years agoDe-__P()-ify
will [Sun, 28 Jan 2001 00:35:40 +0000 (00:35 +0000)]
De-__P()-ify

Reviewed by: markm

23 years agoBDECFLAGS: constify; use proper types. Add $FreeBSD$, clean up #ifndef lint.
will [Sun, 28 Jan 2001 00:34:29 +0000 (00:34 +0000)]
BDECFLAGS: constify; use proper types.  Add $FreeBSD$, clean up #ifndef lint.

Reviewed by: markm

23 years agoRemove an assertion I forgot to remove in the previous commit: sbuf_len()
des [Sun, 28 Jan 2001 00:33:58 +0000 (00:33 +0000)]
Remove an assertion I forgot to remove in the previous commit: sbuf_len()
may now be called with an unfinished sbuf.
For consistency, copy the related comment from sbuf_delete() to sbuf_clear()
and sbuf_len().

23 years agoAdd MLINKS for sbuf_clear() and sbuf_overflowed().
des [Sun, 28 Jan 2001 00:19:10 +0000 (00:19 +0000)]
Add MLINKS for sbuf_clear() and sbuf_overflowed().

23 years agoDocument the changes in subr_sbuf.c rev. 1.2.
des [Sun, 28 Jan 2001 00:18:54 +0000 (00:18 +0000)]
Document the changes in subr_sbuf.c rev. 1.2.

23 years agoAdd sbuf_clear() and sbuf_overflowed().
des [Sun, 28 Jan 2001 00:13:01 +0000 (00:13 +0000)]
Add sbuf_clear() and sbuf_overflowed().
Move the helper macros from sbuf.h to sbuf.c
Use ints instead of size_ts.
Relax the requirements for sbuf_finish(): it is now possible to finish an
overflowed buffer.
Make sbuf_len() return -1 instead of 0 if the sbuf overflowed.

Requested by: gibbs

23 years agoDocument API UP1100 mainboard which is reported to work fine with FreeBSD.
wilko [Sat, 27 Jan 2001 21:34:33 +0000 (21:34 +0000)]
Document API UP1100 mainboard which is reported to work fine with FreeBSD.
UP1100 owners are invited to comment on the info provided here.

23 years agoThe API UP1100 is close enough to a UP1000 that FreeBSD just works on it, so
gallatin [Sat, 27 Jan 2001 20:56:00 +0000 (20:56 +0000)]
The API UP1100 is close enough to a UP1000 that FreeBSD just works on it, so
document that fact.

Thanks to Peter Petrakis <ppetrakis@alphalinux.org> for doing a test boot.

23 years agoUpdate Copyright notices for new year. (should have been in last commit).
gibbs [Sat, 27 Jan 2001 20:54:24 +0000 (20:54 +0000)]
Update Copyright notices for new year.  (should have been in last commit).

23 years agoMake an effort to actually pass the correct device to groff.
des [Sat, 27 Jan 2001 19:17:40 +0000 (19:17 +0000)]
Make an effort to actually pass the correct device to groff.

23 years agoAdd a man page for the zone allocator.
des [Sat, 27 Jan 2001 19:13:08 +0000 (19:13 +0000)]
Add a man page for the zone allocator.

23 years agoMerged from sys/isa/sio.c revision 1.320.
nyan [Sat, 27 Jan 2001 13:02:06 +0000 (13:02 +0000)]
Merged from sys/isa/sio.c revision 1.320.

23 years agoTurn on DEVFS by default for the alpha. Aside from vinum as mentioned by
jhb [Sat, 27 Jan 2001 08:34:58 +0000 (08:34 +0000)]
Turn on DEVFS by default for the alpha.  Aside from vinum as mentioned by
phk it should work fine.  If you need vinum, then don't add this to your
kernel config until vinum catches up to DEVFS.

23 years agoTurn DEVFS on by default.
phk [Sat, 27 Jan 2001 08:18:36 +0000 (08:18 +0000)]
Turn DEVFS on by default.

You may need to turn this off if you you vinum.  Apart from that I know of
no reason not to run with DEVFS.

23 years agoAdd a new ddb command 'witness_list' that lists the mutexes held by
jhb [Sat, 27 Jan 2001 07:51:34 +0000 (07:51 +0000)]
Add a new ddb command 'witness_list' that lists the mutexes held by
curproc.

Requested by: peter

23 years agop->p_intr_nesting_level is MI now and initialized to 0 in kern_fork.c,
peter [Sat, 27 Jan 2001 06:32:20 +0000 (06:32 +0000)]
p->p_intr_nesting_level is MI now and initialized to 0 in kern_fork.c,
so it should be save to KASSERT() on it even on an arch that may not
use it.

23 years agoBah, as my luck would have it, I had a kernel source tree in the window
peter [Sat, 27 Jan 2001 06:01:48 +0000 (06:01 +0000)]
Bah, as my luck would have it, I had a kernel source tree in the window
while strlcpy() existed, before it got backed out due to an extended
bikeshed argument.  Sigh.  Back to the old version with the redundant
code to terminate the string. :-(

23 years agoUse strlcpy() in TUNABLE_STR_xxx() and avoid an off-by-one.
peter [Sat, 27 Jan 2001 05:43:58 +0000 (05:43 +0000)]
Use strlcpy() in TUNABLE_STR_xxx() and avoid an off-by-one.

Noticed by: dfr

23 years agoMake the shell handle arrow keys
luigi [Sat, 27 Jan 2001 03:25:01 +0000 (03:25 +0000)]
Make the shell handle arrow keys

23 years agoThe magic for autodetecting the boot media does not work anymore
luigi [Sat, 27 Jan 2001 03:23:44 +0000 (03:23 +0000)]
The magic for autodetecting the boot media does not work anymore
on STABLE or CURRENT.  Put the explicit name for the floppy.

23 years agoAdd dummy -n option, for compatibility with the standard netstat
luigi [Sat, 27 Jan 2001 03:18:55 +0000 (03:18 +0000)]
Add dummy -n option, for compatibility with the standard netstat

23 years agoMake sure we do not follow an invalid pointer in ipfw_report
luigi [Sat, 27 Jan 2001 02:31:08 +0000 (02:31 +0000)]
Make sure we do not follow an invalid pointer in ipfw_report
when we get an incomplete packet or m_pullup fails.

23 years agoBack out proc locking to protect p_ucred for obtaining additional
jhb [Sat, 27 Jan 2001 00:01:31 +0000 (00:01 +0000)]
Back out proc locking to protect p_ucred for obtaining additional
references along with the actual obtaining of additional references.

23 years ago- Back out over-aggressive locking of p->p_cred.
jhb [Fri, 26 Jan 2001 23:54:40 +0000 (23:54 +0000)]
- Back out over-aggressive locking of p->p_cred.
- Back out locking ucred's and bumping refcounts for vnode operations.

23 years agoFix fork_exit() to take a pointer to a function that returns void as its
jhb [Fri, 26 Jan 2001 23:51:41 +0000 (23:51 +0000)]
Fix fork_exit() to take a pointer to a function that returns void as its
first argument rather than a function that returns a void *.

Noticed by: jake

23 years agoUpdate some comments, s0 in the pcb of a child returning from fork1() is
jhb [Fri, 26 Jan 2001 23:32:38 +0000 (23:32 +0000)]
Update some comments, s0 in the pcb of a child returning from fork1() is
now passed in as a0 to fork_exit() and and s2 is passed in as a1.

23 years agoCatch release notes up with security advisories 00:41, 00:76,
bmah [Fri, 26 Jan 2001 20:24:39 +0000 (20:24 +0000)]
Catch release notes up with security advisories 00:41, 00:76,
00:77 (mistakenly referenced as 00:78), 01:01 (listed previously but
now has an advisory number), 01:08, 01:09.

23 years agoMinor cleanups after yesterday's patch.
luigi [Fri, 26 Jan 2001 19:43:54 +0000 (19:43 +0000)]
Minor cleanups after yesterday's patch.
The code (bridging and dummynet) actually worked fine!

23 years agoNew release notes: buildkernel uses KERNCONF, pkg_create/pkg_install
bmah [Fri, 26 Jan 2001 19:06:00 +0000 (19:06 +0000)]
New release notes:  buildkernel uses KERNCONF, pkg_create/pkg_install
support for bzip2.

23 years agoInitialise proc0.p_heldmtx and proc0.p_contested and call
dfr [Fri, 26 Jan 2001 17:52:34 +0000 (17:52 +0000)]
Initialise proc0.p_heldmtx and proc0.p_contested and call
mtx_enter(&Giant, MTX_DEF) after Giant is initialised.

Reviewed by: jhb

23 years agoThe osfulator needs sysvipc to work. Thanks to DES's commit to
gallatin [Fri, 26 Jan 2001 17:12:30 +0000 (17:12 +0000)]
The osfulator needs sysvipc to work.  Thanks to DES's commit to
the i386 linulator for pointing this out.

The alpha linulator doesn't need a dependancy, as it already
depends on the osfulator.

23 years agos/err1/errx/.
ume [Fri, 26 Jan 2001 13:46:40 +0000 (13:46 +0000)]
s/err1/errx/.
http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard.cgi?log=1673

Obtained from: KAME

23 years agoAdd experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.
hm [Fri, 26 Jan 2001 13:33:31 +0000 (13:33 +0000)]
Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.

23 years agoAdd experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.
hm [Fri, 26 Jan 2001 13:22:18 +0000 (13:22 +0000)]
Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.

23 years agoAdd experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.
hm [Fri, 26 Jan 2001 13:16:11 +0000 (13:16 +0000)]
Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.

Thanks a lot to Jakob Schripsema (sch@kpn.com) for pointing out similarities
of the Eicon 2.02 to the Siemens I-surf driver !

23 years agoAdd experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.
hm [Fri, 26 Jan 2001 13:12:56 +0000 (13:12 +0000)]
Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.
Increment i4b minor revision (=step) so a buildworld or a make install in
/usr/src/sys/include is necessary to get isdnd and i4b kernel parts in sync.

23 years agocorrect documentation to match code.
julian [Fri, 26 Jan 2001 11:36:46 +0000 (11:36 +0000)]
correct documentation to match code.

23 years agoSwap egress hooks for packets entering from the monitor hooks.
julian [Fri, 26 Jan 2001 11:35:36 +0000 (11:35 +0000)]
Swap egress hooks for packets entering from the monitor hooks.

23 years agoBring dummynet in line with the code that now works in -STABLE.
luigi [Fri, 26 Jan 2001 06:49:34 +0000 (06:49 +0000)]
Bring dummynet in line with the code that now works in -STABLE.
It compiles, but I cannot test functionality yet.

23 years agoBring bridging code in line with the one which works on -STABLE.
luigi [Fri, 26 Jan 2001 06:47:19 +0000 (06:47 +0000)]
Bring bridging code in line with the one which works on -STABLE.
It compiles on -CURRENT, but I can not test functionality yet.

23 years agoPush Giant down into the trap handlers that need it, instead of
jake [Fri, 26 Jan 2001 04:16:16 +0000 (04:16 +0000)]
Push Giant down into the trap handlers that need it, instead of
acquiring it unconditionally.

Reviewed by: jhb

23 years ago- Don't pass in MTX_NORECURSE, as that is only used with spin mutexes and
jhb [Fri, 26 Jan 2001 03:18:17 +0000 (03:18 +0000)]
- Don't pass in MTX_NORECURSE, as that is only used with spin mutexes and
  is going away soon anyways.  Instead, don't pass MTX_RECURSE to mtx_init,
  so that WITNESS will panic if the driver mutex is recursed on.
- Use MTX_DEF in mtx_init() instead of assuming that it will be 0.

23 years agoComment only change; s/_thread_sys_/__sys_/
deischen [Fri, 26 Jan 2001 02:41:07 +0000 (02:41 +0000)]
Comment only change; s/_thread_sys_/__sys_/

23 years agoComment change only; s/_thread_sys_/__sys_/
deischen [Fri, 26 Jan 2001 02:27:06 +0000 (02:27 +0000)]
Comment change only; s/_thread_sys_/__sys_/

23 years agoFix arg count
brian [Fri, 26 Jan 2001 01:48:16 +0000 (01:48 +0000)]
Fix arg count

23 years agoIf executing the stuff from ppp.linkdown results in a state change,
brian [Fri, 26 Jan 2001 01:43:38 +0000 (01:43 +0000)]
If executing the stuff from ppp.linkdown results in a state change,
don't continue adjusting the ipcp state machine.

This allows ``down'' to work in ppp.linkdown - useful for a tunnel
setup.

23 years agoAllow ``set server closed'' to close the diagnostic socket.
brian [Fri, 26 Jan 2001 01:41:34 +0000 (01:41 +0000)]
Allow ``set server closed'' to close the diagnostic socket.
Allow ``set server open'' to re-open the diagnostic socket.
Handle SIGUSR1 by re-opening the diagnostic socket
When receiving SIGUSR2 (and in ``set server none''), don't forget the
socket details so that ``set server open'' and SIGUSR1 open it again.

Don't create the diagnostic socket as uid 0 !  It's far to dangerous.

23 years agoD'oh! Forgot to link to /dev/voodoo.
cokane [Fri, 26 Jan 2001 01:13:29 +0000 (01:13 +0000)]
D'oh! Forgot to link to /dev/voodoo.

23 years agoComment the interface to ether_input() and the way is normally
luigi [Thu, 25 Jan 2001 23:56:13 +0000 (23:56 +0000)]
Comment the interface to ether_input() and the way is normally
used by most ethernet drivers.

23 years agoPrint out the target device when the mount fails.
bsd [Thu, 25 Jan 2001 20:05:34 +0000 (20:05 +0000)]
Print out the target device when the mount fails.

23 years agoAlways print out the target device when the mount fails, not just on
bsd [Thu, 25 Jan 2001 20:03:38 +0000 (20:03 +0000)]
Always print out the target device when the mount fails, not just on
ENOENT.

23 years agoOnly clear the 'free' bit if we were successful in getting a queue item off the free...
julian [Thu, 25 Jan 2001 19:48:57 +0000 (19:48 +0000)]
Only clear the 'free' bit if we were successful in getting a queue item off the free list.

Found by: Harti Brandt (address unknown)

23 years agoWhitespace fix: convert code indented 6 spaces to use tabs instead.
jhb [Thu, 25 Jan 2001 19:37:26 +0000 (19:37 +0000)]
Whitespace fix: convert code indented 6 spaces to use tabs instead.

23 years agoMake the "-pthread" option work again, now that libc_r has to be
jdp [Thu, 25 Jan 2001 18:57:13 +0000 (18:57 +0000)]
Make the "-pthread" option work again, now that libc_r has to be
linked in addition to libc rather than instead of libc.

Ideally, "-pthread" would now be equivalent to adding "-lc_r" to the
end of the link command.  But it is slightly different in this
implementation.  Adding "-lc_r" to the link command would produce a
"ld" command line containing this:

    ... -lc_r /usr/lib/libgcc.a -lc /usr/lib/libgcc.a ...

but this implementation of the "-pthread" option produces this:

    ... /usr/lib/libgcc.a -lc_r -lc /usr/lib/libgcc.a ...

It would be possible to make them identical, but that doesn't fit
as nicely into GCC's way of doing things.  I don't think the ordering
change will make any difference in practice.

23 years agoProvide a better error message when the /dev entry is non-existant.
bsd [Thu, 25 Jan 2001 17:29:07 +0000 (17:29 +0000)]
Provide a better error message when the /dev entry is non-existant.
Due to the old message, I spent way more time debugging a diskless
root problem than it should have taken.

23 years agoCorrect spelling of foresight.
dwmalone [Thu, 25 Jan 2001 17:17:11 +0000 (17:17 +0000)]
Correct spelling of foresight.

PR: 24637
Submitted by: Christopher Rued <christor@ug.cs.sunysb.edu>

23 years agoDon't hardcode geometry of VESA_800x600 raster text mode (80x25). Instead save
sobomax [Thu, 25 Jan 2001 16:58:46 +0000 (16:58 +0000)]
Don't hardcode geometry of VESA_800x600 raster text mode (80x25). Instead save
actual geometry before switching to the graphics mode.

23 years agoNew option `-g' to allow selecting custom text geometry in VESA_800x600 raster
sobomax [Thu, 25 Jan 2001 16:53:22 +0000 (16:53 +0000)]
New option `-g' to allow selecting custom text geometry in VESA_800x600 raster
text mode. For example `vidcontrol -g 100x37 VESA_800x600' will setup 100x37
text mode as opposed to default 80x25.

Reviewed by: imp

23 years agomdoc(7) police: fixed a few bogons.
ru [Thu, 25 Jan 2001 14:16:42 +0000 (14:16 +0000)]
mdoc(7) police: fixed a few bogons.

23 years agoReturn exit value 0 on success when PID is specified.
kuriyama [Thu, 25 Jan 2001 13:25:41 +0000 (13:25 +0000)]
Return exit value 0 on success when PID is specified.

23 years ago- Don't try to send RA to lo0, gifN and faithN.
ume [Thu, 25 Jan 2001 13:18:26 +0000 (13:18 +0000)]
- Don't try to send RA to lo0, gifN and faithN.
- ipv6_network_interfaces has all available interfaces to work for
  static configuration even if the host is end host.  When rtsol is
  invoked, singleness of interface is checked.

23 years agoFix typo
phantom [Thu, 25 Jan 2001 13:13:55 +0000 (13:13 +0000)]
Fix typo

23 years agoDiscard extra status information if -1. This has been breaking the
nsouch [Thu, 25 Jan 2001 13:07:55 +0000 (13:07 +0000)]
Discard extra status information if -1. This has been breaking the
PS/2 mode for ZIP+ drives for a long time. Thanks Jonathon.

Submitted by: j mckitrick <jcm@FreeBSD-uk.eu.org>