Brian Somers
728ef5b2b0
Try to kldload if_tun if we get ENOENT from opening /dev/tunN -
...
not just if we get ENXIO.
This makes ppp work with DEVFS when if_tun isn't built into
the kernel (without needing to manually kldload it).
2001-02-02 01:41:26 +00:00
Archie Cobbs
e03bb411ee
Revert previous checkin ("proxy" is required in some instances).
...
Add a note to that effect to the man page.
2001-02-01 21:23:16 +00:00
Ruslan Ermilov
610a5778c5
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:44:04 +00:00
Ruslan Ermilov
d0353b836e
mdoc(7) police: split punctuation characters + misc fixes.
2001-02-01 16:38:02 +00:00
Peter Wemm
3c36aab606
Try and make it clearer that the static units thing is a FYI only.
2001-01-31 11:18:49 +00:00
Peter Wemm
246449f3e3
Unwind a bit more cruft - we only have one type of device now.
2001-01-31 10:30:30 +00:00
Peter Wemm
62a4bb5509
Oops. An old version of a local change leaked in with the last commit.
...
Since it is here, clean it up a bit.
2001-01-31 10:06:06 +00:00
Peter Wemm
ace858085f
Redo the stray header file cleanup code to not depend on timestamps
...
or access times or anything. Just bite the bullet and keep a list of
header files that we know about.
2001-01-31 08:42:35 +00:00
Archie Cobbs
bceb4f5a60
Fix documentation: "proxy" is not a keyword for the arp(8) command line.
2001-01-31 00:03:31 +00:00
Poul-Henning Kamp
48b8568826
Make vnconfig annoy users for 15 seconds to make them switch to mdconfig.
2001-01-30 10:12:51 +00:00
Peter Wemm
2860fa873e
AARGH! This does not mix too well with the -o noatime mount option.
...
:-(
2001-01-29 15:26:35 +00:00
Peter Wemm
e3701bdd59
I confess. This is a truely nasty hack. I am so ashamed!
...
(I think config(8) source does bad things to your brain :-)
Clean up likely stray *.h files in the build directory.
Eg: if isa.h ceases being generated, zap it.
The heuristics to figure out a 'likely' file are pretty revolting.
2001-01-29 09:34:43 +00:00
Brian Somers
2525421508
Fix some log_Printf() casting
...
Obtained from: NetBSD (pkgsrc)
2001-01-29 08:46:58 +00:00
Brian Somers
37b8a5c7bd
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.
2001-01-29 01:35:06 +00:00
Jeroen Ruigrok van der Werven
b54a8d8a2e
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.
2001-01-28 23:21:00 +00:00
Brian Somers
021996f177
Don't pass PacketAliasProxyRule() a buffer with leading whitespace as it
...
can't handle it.
2001-01-28 21:56:27 +00:00
Kris Kennaway
593605c60e
Finish cleaning up the error reporting (standardize on err*()/warn*())
...
and fix some overflows.
Submitted by: Mike Heffner <mheffner@vt.edu>
2001-01-28 09:20:47 +00:00
Hellmuth Michaelis
26474f4fe7
Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.
2001-01-26 13:33:31 +00:00
Hellmuth Michaelis
4a29e8f92b
Add experimental support for Eicon.Diehl DIVA 2.0 and 2.02 ISA PnP cards.
2001-01-26 13:22:18 +00:00
Brian Somers
501fe45f67
Fix arg count
2001-01-26 01:48:16 +00:00
Brian Somers
15c8dc2a03
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.
2001-01-26 01:43:38 +00:00
Brian Somers
74457d3d43
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.
2001-01-26 01:41:34 +00:00
Maxim Sobolev
acdb2839d6
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
2001-01-25 16:53:22 +00:00
Jun Kuriyama
683bdefcd3
Return exit value 0 on success when PID is specified.
2001-01-25 13:25:41 +00:00
Daniel Eischen
eb43ffcc03
-pthread -> -lc_r
2001-01-24 13:04:10 +00:00
Ruslan Ermilov
f6f24f55c3
mdoc(7) police: Remove the debug line that prevents hyphenation
...
for the purposes of spelling checking that left in after my last
visit to this file.
2001-01-24 12:22:39 +00:00
Maxim Sobolev
75c8e7795c
Make `-y' option actually work.
...
Submitted by: reg
2001-01-24 08:22:53 +00:00
Hajimu UMEMOTO
1167992be6
zero-cleared allocated prefix information when configured.
...
Obtained from: KAME
2001-01-23 17:29:12 +00:00
Sergey Babkin
6548bd5646
Backed out the DST support changes.
2001-01-23 01:17:40 +00:00
David Malone
1c3b5f2290
Various cleanups of inetd: Avoid shadowing variables, use socklen_t
...
instead of ints, don't cast to char *, clear up some remote name
handling code which had become a little odd.
Should result in no functional changes.
2001-01-22 23:19:30 +00:00
David Malone
6ef18ba88d
Don't mention /etc/protocols in inetd documentation or comments, as inetd
...
doesn't actually use it.
PR: 24307
Submitted by: opentrax@email.com
2001-01-22 23:11:02 +00:00
Maxim Sobolev
42b5df7536
Use .Pa instead of .Dq.
...
Submitted by: ru
2001-01-22 13:08:52 +00:00
Benno Rice
9abfa9d14b
Add support for configuring PowerPC kernels.
...
Reviewed by: peter
2001-01-22 12:10:45 +00:00
Maxim Sobolev
acf6a4418d
- Add ability to handle bzip2-compressed packages;
...
- fix cosmetics to shut-up compiler in -pedantic mode (axe several unused vars
and provide default clause in several switch() statements).
No response from: -ports
2001-01-22 12:01:55 +00:00
Brian Somers
d8a8ae09ed
Fix for NetBSD where
...
.Oc Oc
.Xc
doesn't seem to work....
2001-01-22 11:35:00 +00:00
Ruslan Ermilov
e405a76037
mdoc(7) police: .Dv -> .Cm where appropriate.
2001-01-22 10:32:03 +00:00
Ruslan Ermilov
9c11143f2c
mdoc(7) police: ``Ds'' is not certified (no macro with such name exist)
...
to be used as the -width parameter, it is provided solely for backwards
compatibility with old mdoc(7). To make this work, mdocNG is forced to
provide a dummy ``Ds'' macro.
2001-01-22 10:27:07 +00:00
Peter Wemm
b8e39fd14a
Clean up some obsolete stuff. config -r has not been needed since around
...
FreeBSD 3.x or so when the 'make depend' picked up the opt_foo.h files.
Convert warnings into actual errors in the hope that buildkernel users
will pay more attention. :-(
2001-01-22 07:03:06 +00:00
Sergey Babkin
be821963c1
Made the special handling of the daylight time switches optional,
...
enabled by the option "-s" (for dSt). This returned the default behavior
to its original form.
The new option name is not "-d" because that would cause associations with
"debug" and cron already has "-x" for debugging, so this would cause
confusion.
2001-01-22 01:54:51 +00:00
Brian Somers
7d39b1e3be
Handle SECDNS being rejected when PRIDNS is not
...
Submitted by: OGAWA Takaya <t-ogawa@triaez.kaisei.org>
PR: 24518
2001-01-22 01:43:46 +00:00
Jun-ichiro itojun Hagino
ae3267258a
make it easier to handle $FreeBSD$ tags (amount of diff matters).
2001-01-21 15:25:46 +00:00
Jun-ichiro itojun Hagino
a336d37d0f
make it clearer that rtadvd.conf is optional (configs are grabbed from kernel).
2001-01-21 15:25:05 +00:00
Sergey Babkin
08b2398e6d
Added sensible handling of switch to and from daylight saving time
...
for the jobs that fall into the disappearing or duplicated time
interval.
PR: bin/24494
2001-01-20 21:28:16 +00:00
Chris D. Faulhaber
3c0cec43e7
- Correct MAXPATHLEN/MAXHOSTNAMELEN usage
...
- Check return values of malloc() and strdup()
- Replace strcpy()/strcat()/sprintf() usage with strlcpy()/snprintf
Reviewed by: -audit
2001-01-20 17:36:08 +00:00
Chris D. Faulhaber
cfbe890a94
Use more secure temporary files using mktemp(1)
...
Submitted by: Mike Heffner <mheffner@vt.edu>
2001-01-20 04:30:41 +00:00
Chris D. Faulhaber
aecdf0ebbf
Check strdup() return values
...
Reviewed by: kris
2001-01-20 01:22:31 +00:00
Kris Kennaway
4dedca9fd7
Prevent overflow in -d argument by replacing hand-rolled
...
strcat+strcpy+perror with err()
Submitted by: Mike Heffner <mheffner@vt.edu>
2001-01-19 23:11:18 +00:00
Ruslan Ermilov
c5083414f8
mdoc(7) police: removed leading whitespaces that are not inside
...
Bd/Ed; these hardly degrade the quality of the produced output.
2001-01-19 14:15:40 +00:00
Peter Wemm
3fac4a6263
Stop turning 'mandatory' into an implicit 'count' line. i386/npx was the
...
only consumer of this and it is no longer needed.
2001-01-19 13:20:50 +00:00
Peter Wemm
10ca19cf93
Implement option strings that we can use in #ifdefs (where unavoidable)
...
as a replacement for the evil #define NFOO. If 'device npx' is in the
static kernel, a synthetic option '#define DEV_NPX 1' will be available
to stick in an opt_xxx.h file. "#if NNPX > 0" can be replaced with
"#ifdef DEV_NPX" and we can get rid of the overloaded meaning of the
device count mechanism.
2001-01-19 12:49:21 +00:00