Commit Graph

5871 Commits

Author SHA1 Message Date
asmodai
c3e5d07abf Remove unused include. 2000-04-29 12:47:03 +00:00
asmodai
c1c57e031b Remove a bogus include. 2000-04-29 12:28:44 +00:00
ghelmer
5869eff890 Fix a situation where a pointer which should point to dynamically
allocated memory was instead pointed to a static string.  A later
free() on the value of the pointer was a possible source of reported
"warning: pointer to wrong page" messages from cron.

Use consistent types in sizeof when malloc'ing memory for the
environment.

PR:		kern/12248, bin/11169, bin/9722
2000-04-28 15:31:28 +00:00
nbm
05d8702a73 Update periodic to use the function source_rc_confs that
/etc/defaults/rc.conf now exports.
2000-04-27 17:11:03 +00:00
iwasaki
2fda642081 MFPAO3. Improvement of of pccard cis tuple parsing capability.
- Fixed bogus CIS tuple dumping (Network node ID, IRQ modes and etc.)
 - Include telling drivers ethernet address if Network node ID
   tuple is available.  This is usefull for some bogus ehter cards which
   can't get correct ethernet address from CIS tupple.

Obtained from:	PAO3
2000-04-26 15:36:43 +00:00
iwasaki
669bd2a6bb MFPAO3. Add support multi io window. This code support following cards;
Accton UE2212
	PLANET-SMART-COM-CREDITCARD-2000
	Melco LPC-T
	ME-3000II
	Laneed LD-CDY
	Melco LPC3-TX

Submitted by:	MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
Obtained from:	PAO3
2000-04-26 15:11:17 +00:00
obrien
3af2a0c791 The worm device is dead in -CURRENT, and wormio.h just went away.
Reviewed by:	commiters on IRC
2000-04-26 11:58:32 +00:00
obrien
9bef7c0136 /dev/r<FOO> => /dev/<FOO> 2000-04-26 11:52:44 +00:00
sheldonh
a85d3a369c Clarify the use of the auth service's -d option for specifying
a fallback username.

Reviewed by:	green
2000-04-26 10:40:35 +00:00
obrien
b7ff0a8cb0 random.h moved to sys/ 2000-04-26 07:17:26 +00:00
jkoshy
0eeff70115 Correct typo in description string: CANNOT' -> CAN'.
PR:		docs/18177
Submitted by:	MIHIRA Yoshiro <sanpei@sanpei.org>
2000-04-26 05:21:54 +00:00
mpp
88db00dc43 ancontrol first appeared in FreeBSD 4.0, not 3.0.
Also fix a couple of minor mdoc style things as long as I'm in here.

Submitted by:	Allen Campbell <allenc@verinet.com>
2000-04-23 16:40:02 +00:00
markm
4896965c0a Cosmetic - fix RCS tag. 2000-04-23 10:01:30 +00:00
yokota
1f7d68ff76 Reduce the default timeout for the three button emulation
from 200 msec to 100 msec.
2000-04-21 14:20:25 +00:00
rwatson
51d4afa1a6 o Update extattrctl.8 to reflect new initattr -p, -r, and -w options.
o Update extattrctl.c to default new attributes to readable and writable
  only by the kernel and root user.  Previously the default was to allow
  the file owner to directory view and manipulate the attributes, which
  is probably an inappropriate default.
2000-04-20 20:32:43 +00:00
rwatson
bcd52d23a7 o Allow the ``-p'' argument to be specified to initattr, which indicates
that space for extended attributes should be preallocated, instead of
  using a sparse attribute file.  NOTE: This can result in a really
  large file full of zeros.  However, it can prevent a low disk condition
  from causing an attribute write to fail, which is good for security and
  consistency attributes.

o Unlink the attribute file during initattr if an error occurs -- this is
  alright, as we specify O_CREAT when opening the file.
2000-04-20 18:31:00 +00:00
phantom
333168ead3 Slight grammar and white-space modification. 2000-04-20 15:24:18 +00:00
phantom
c01ef9fc3c Remove useless .Nm macro argument 2000-04-20 15:21:16 +00:00
rwatson
93d573afd2 o Update initattr to add magic numbers and version number 2000-04-19 20:13:34 +00:00
ache
2e1592d902 Enable 8bit chars excepting high controls 2000-04-18 01:12:27 +00:00
rwatson
bfc0aa0d33 Minor man page formatting changes and improvements.
Suggested by:	chris
2000-04-17 00:21:08 +00:00
rwatson
ea8dac9966 Code compiles and installs 100% better if included in the Makefile.
Suggested by:	Voices in my head.
2000-04-16 23:57:02 +00:00
rwatson
1ec4d6dddf Introduce userland utilities to set and get extended attributes. These
utilities do not present the world's greatest interface, and will
undoubtably change soon.  However, they do let people experiment with
extended attributes, and provide samples of how to use the syscalls.

Obtained from:	TrustedBSD
2000-04-16 20:55:50 +00:00
chris
caa348da17 Change "FreeBSD 5.0" to ".Fx 5.0" 2000-04-16 01:43:11 +00:00
rwatson
f2310ef109 Introduced /usr/sbin/extattrctl, a utility for managing UFS/FFS extended
attributes (recently committed).  Using extattrctl, the extended attribute
service may be started and stopped for specific file systems; specific
attributes may be enabled or disabled, and the backing file for each
attribute configured.  Also, backing files may be initialized.

Reviewed by:    adrian, bp, freebsd-fs, the unthanked masses
Obtained from:  TrustedBSD
2000-04-15 05:14:39 +00:00
iwasaki
60fa3b257b Fix minor bugs.
- reset line number when new file is included.
 - activate `-i' command lline option (specify available IRQ) again.
2000-04-14 18:04:15 +00:00
sheldonh
d99569ff9a Replace the inappropriate use of .Nx (netBSD) with a more generalized
.Ux (UNIX) as is appropriate in the context used.

PR:		17954
Submitted by:	Brian Handy <handy@physics.montana.edu>
2000-04-14 09:57:56 +00:00
imp
1e1b2fb024 remove extern int errno; include errno.h 2000-04-14 06:49:16 +00:00
sheldonh
d4928b4139 Whitespace change: reformat to avoid hard sentence breaks and long
lines.
2000-04-13 08:09:02 +00:00
brian
c4b2f80d92 Remove a rogue space 2000-04-13 00:00:46 +00:00
msmith
d4a38fd205 Unhook headers from development tree and point to the actual system headers. 2000-04-11 23:04:17 +00:00
roberto
575ea395ba Set the right default timeout to 200ms as per the manpage.
PR:		bin/17879
Submitted by:	Samuel Tardieu <sam@ada.eu.org>
2000-04-11 11:09:39 +00:00
chris
c0e0cff43c - Use .Ar properly at the end of a sentence:
``.Ar command.'' -> ``.Ar command .''

- Remove a useless empty line.
2000-04-11 05:01:09 +00:00
msmith
01b742ff32 Add mlxcontrol. 2000-04-11 03:02:37 +00:00
msmith
d0cd6ad1df This commit was generated by cvs2svn to compensate for changes in r59138,
which included commits to RCS files with non-trunk default branches.
2000-04-11 03:01:45 +00:00
msmith
e9115d2df1 This is a command-line management tool for RAID controllers managed by the
mlx(4) driver.
2000-04-11 03:01:45 +00:00
murray
1c9e14061b Installing via an HTTP proxy should not attempt to resolve the
hostname of the FTP server; that is the proxy's job.  This temporarily
deletes the nameserver variable before calling mediaSetFTP.

PR:		17371
Approved by:	jkh
2000-04-10 19:39:01 +00:00
brian
eb7aa2809f Add a missing ``break'' 2000-04-09 18:27:08 +00:00
iwasaki
6927b5bc64 Add restart capability by SIGHUP. On restart, working configuration
(resource and card configuration being used) is to be maintained for
consistency.  Part of resource pool re-initialization would be rewrite
later using on Warner-san's hints driver API :-)

Reviewed by:    nate, imp and -nomads ML in Japan.
Obtained from:  http://www.freebsd.org/~iwasaki/pccard/pccardd-signal.diff
Commited at:    BSD HANAMI Party 2000 in Japan
2000-04-08 05:19:44 +00:00
yokota
89ff8e1b55 Follow up to the 3 button emulation update in rev 1.41:
- Fix the -z option which I broke in rev 1.41.  It didn't work
  correctly when used in conjunction with the -m option.
- Tweak the 3 button state machine so that 'Up' events of the buttons
  1 and 3 are reported immediately as soon as the buttons are up.
2000-04-08 04:51:09 +00:00
murray
8575674987 More error checking and idiot-proofing for the user editor.
PR:		14318
Approved by:	jkh
2000-04-08 03:08:12 +00:00
murray
025b043750 PR: 17559
Approved by:	jkh

  You can't enable 'emulate 3 button' option for moused in sysinstall.
This adds a menu option to set moused_flags and the help text explains
that entering "-3" will enable this feature.
2000-04-08 03:04:32 +00:00
brian
825b93bffd When running ppp -background, show comfort messages showing
when we're redialing/reconnecting.

While we're here, log redial, reconnect and phone number
announcements to LogCHAT, and reduce some other logging to
LogDEBUG.
2000-04-07 23:46:14 +00:00
brian
9b2d3e1632 I didn't get this right the last time....
When an NCP reaches TLF, *ONLY* datalink_Close() links that are
in DATALINK_OPEN.

When the last link reaches TLD, DOWN all NCPs (as we used to in the
links TLF (which was the wrong place anyway)), as the NCPs aren't
now going to datalink_Close() us unexpectedly, we get to continue
doing what we were told to do in the first place.

The result:  When we lose a link, the IPCP layer goes down and
we actually call the stuff in ppp.linkdown !
2000-04-06 10:03:48 +00:00
murray
a852e825f5 Fixed minor annoyance with sysinstall being redundant / braindead in
the network -> interfaces menu.

Approved by:	jkh
2000-04-06 01:23:21 +00:00
iwasaki
d32d2f4d4f MFPAO: support wildcard entry for generic serial and fixed
disk as fallthrough entry.

Submitted by:	MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>, iwasaki
Reviewed by:	imp, -mobile ML and nomads ML in Japan
Obtained from:	http://www.freebsd.org/~iwasaki/pccard/pccardd-generic.diff
		http://home.jp.freebsd.org/~sanpei/4-current/usr.sbin-pccard-pccardd.diff
2000-04-05 18:39:21 +00:00
bp
3700a3909b Pass timezone information to an nwfs mount. 2000-04-05 10:48:53 +00:00
gj
8efc52e239 Pass me the pointy hat.
It was not a good idea to remove csu_header from struct cspace, it had
ramifications which I didn't notice.

Restore src/usr.sbin/ppp/slcompress.h to the way it was, since MAX_HDR
was already defined as 128 there and it's a user program anyway.

In sys/net/slcompress.h make MAX_HDR 128 intead of MLEN to avoid
bloat.

My apologies for any inconvenience.
2000-04-04 09:20:53 +00:00
hm
aef627d63f - implement logfile archivation to a separate, user
configurable directory
- implement alternate and more flexible way to specify
  logfile rotation time in addition to the ISO 8601
  restricted format
- cleanup the source which was a mix of several styles
  of persons who maintained it so far, ran through
  knfom script got from bde.

Reviewed by: (in part) sheldonh and garyj
2000-04-04 08:50:01 +00:00
hm
b5fa5b4499 Run newsyslog source through knfom script obtained from Bruce Evans.
Joerg Wunsch suggested to do this to make the functional changes in
the next commit to newsyslog (which were run through the same script)
better visible.
2000-04-04 08:38:30 +00:00
brian
56ae0558f5 Plug two file descriptor leaks 2000-04-03 19:56:49 +00:00
gj
08bbcfe72f Nuke csu_hdr from struct cspace. csu_hdr is not used anywhere in the
tree. This considerably reduces unnecessary bloat in struct slcompress.

I'm running with this change right now and have seen no negative
side-effects.

On my sytem this reduced kernel BSS by about 25KB.

Submitted by:	bde
Approved by:	brian for user-ppp
2000-04-03 19:54:33 +00:00
yokota
4051f13a08 Brush up the last commit.
- Expand contractions.
- Change some expressions.
- Reword the sections that describe the reporting of down events.

Submitted by: sheldonh
2000-04-03 09:38:52 +00:00
n_hibma
2aee642653 Add a comment about the fact that the usb module is automatically
loaded.
2000-04-02 21:09:19 +00:00
ume
484d3fa1b1 Make sure to use IPv4 mapped IPv6 address when mapped address is
requested in /etc/inetd.conf.

Reviewed by:	shin
2000-04-02 16:11:14 +00:00
yokota
2ad85dfc47 Reflect the recent update in moused.c. 2000-04-02 06:34:49 +00:00
jmb
e9c1e57b92 if USB support is not compiled into the kernel,
and has not been loaded via a kldload,
	running usbd(8) will autoload the "usb.ko" kld.

	thanks to Peter Wemm for enlightening me on the
	differences between kldfind(2) and modfind(2).
2000-04-02 06:28:40 +00:00
alfred
3f5730bec0 Make mergemaster only take single letters for options as well as loop
asking a question again if given an invalid input instead of assuming
what the user wants.  /etc is not the place to make assumptions when
given invalid input.

Reformat some of the more convoluted code into seperate functions instead
of being inline using tabs instead of space indents.

Allow the user to view merged files they created with sdiff.

Allow the user to redisplay the diff between the installed file and
the new file again.

Time wasted waiting for review: 1 month 2 weeks
2000-04-02 02:47:15 +00:00
shin
5bcbc0e18f Don't compile in IPsec support when NOIPSEC is defined.
PR: bin/17739
Submitted by: Omachonu Ogali <oogali@intranova.net>
2000-04-01 21:48:07 +00:00
brian
2b63c0a8d4 Allow authname to be changed at any phase, just emit a warning
if it's not DEAD or ESTABLISH
2000-03-31 21:08:43 +00:00
brian
c4adf04181 Use INADDR_NONE with PacketAliasSetTarget() if no args are given to
``nat target'', and suggest the use of ``nat target default'' as an
interesting possibility.
2000-03-31 20:42:24 +00:00
brian
408c8069a6 Undo the damage done to this file in my last commit 2000-03-31 14:31:36 +00:00
brian
542750c808 Add the ``nat target'' command. 2000-03-31 14:26:23 +00:00
yokota
4be601e0e6 Remove unwanted debug output.
PR: bin/17617
Submitted by: Allan Saddi <asaddi@philosophysw.com>
2000-03-31 12:35:33 +00:00
sheldonh
b0b54e3d8b Add a NO_MAILWRAPPER knob to make.conf and wrap it around
mailwrapper(8) for folks who find it annoying to have their development
version of sendmail blown away by ``make world''.

PR:		17394
2000-03-31 09:23:54 +00:00
hm
82f49df352 exchange rc.local for a more modern, up to date and ready to run
example configuration startup script.
2000-03-31 08:39:34 +00:00
hm
8a5adbab4a Add support for "green" screensaver mode. 2000-03-31 08:30:24 +00:00
billf
6bfa821972 Refresh the aout ldconfig info so things like compat22 when installed can
be detected by netscape and such.

PR:		bin/17659
Submitted by:	Murray Stokelay <murray@cdrom.com>
Approved by:	jkh

jkh made updates that conflict with the submitters patch, so I updated
accordingly, any mistakes are mine, not the submitters.
2000-03-31 01:03:41 +00:00
iwasaki
6b6649defb - default config file changed from /etc/pccard.conf to
/etc/defaults/pccard.conf in pccardd. But system default pccardd
  config file is still /etc/pccard.conf.sample specified in /etc/rc.conf
  for the testing this changes.
- improved `include' keyword function for error handling.
- now that resource pool (io, irq, mem) can be overridden.
- pccard config entries is searched following the first match rule if
  there are more than two entries which have the same card identifier.

Note that the /etc/defaults/pccard.conf related files is not committed
at this time, will come a week later.  I'll prepare the test version
of /etc/defaults/pccard.conf, /etc/pccard.conf and other files soon.

Reviewed by:	imp and nomads in Japan.
2000-03-30 16:01:37 +00:00
brian
96a4cabd64 Correct address parsing
Pointed out by: Maxim Sobolev <sobomax@altavista.net>
2000-03-30 10:46:20 +00:00
jkh
d849c2642e Search for the proper hints file in an ELF world. 2000-03-30 08:18:19 +00:00
shin
5bc92eac72 Bypass IPsec for traceroute invoked by root.
PR: bin/17606
Submitted by: Louis Mamakos <louie@TransSys.COM
2000-03-30 01:33:39 +00:00
sheldonh
409bbf8060 Add -p option to prevent lpd(8) from opening a listening socket.
PR:		17384
Submitted by:	Niels Endres <niels@b5.nu>
2000-03-29 11:15:54 +00:00
brian
a12619f868 Log information about packets being dropped (probably due to
``nat deny_incoming yes'') by libalias.
2000-03-29 09:31:52 +00:00
brian
657714f28b Allow the use of hostnames instead of (and as well as) IP
numbers in all commands.
If people use hostnames and have dodgy resolvers or try to resolve
the hostname before the link is up, they get what they deserve....

Requested by: ru
2000-03-29 09:31:27 +00:00
hm
e58a3c16f7 PR: i386/1671
Submitted by: Mats O Jansson <maja@celsiustech.se>

The existing s2 map is supposed to be ISO 8859-1 but some characters are
not (it's CP850). But the f1 map applied on sweden2 will fixit.

(Fulfilled request by Joerg to close this PR)
2000-03-29 08:58:44 +00:00
cpiazza
9fa69f5f29 export host after setting it.
This is needed so passwd diffs show the hostname instead of
" passwd diffs:"

PR:		17651
Submitted by:	Giorgos Keramidas <keramida@ceid.upatras.gr>
2000-03-29 07:05:29 +00:00
brian
a252b602e2 Mention the value of the unexpected return code in nat_LayerPull() 2000-03-29 00:14:24 +00:00
brian
2442f64e8a don't treat # specially if PARSE_NOHASH is passed 2000-03-28 15:14:15 +00:00
brian
7d12e18643 Don't treat # specially here 2000-03-28 15:11:38 +00:00
hm
e3991c3acf pcvt cleanup. remove hopeless outdated example/demo Microemacs
file. update Makefile.
2000-03-28 10:12:03 +00:00
sheldonh
65439ee8c6 Optimize those services that send only one block of data: use send(2)
with the MSG_EOF flag set instead of write(2).

Submitted by:	David Malone <dwmalone@maths.tcd.ie>
Reviewed by:	wollman
2000-03-28 09:45:19 +00:00
hm
e18d9de537 pcvt cleanup.
add $FreeBSD$
remove obsolete and completely outdated files.
2000-03-28 09:41:40 +00:00
hm
d89148d84c pcvt update.
remove obsolete stuff.
2000-03-28 09:26:48 +00:00
hm
8482b92592 pcvt cleanup.
add $FreeBSD$
get copyright in sync with FreeBSD recommendation.
2000-03-28 09:26:02 +00:00
hm
92604fe2cc pcvt cleanup.
add $FreeBSD$.
get copyright in sync with FreeBSD recommendation.
make it compile and run again.
add a manpage.
2000-03-28 09:24:38 +00:00
hm
133e15ccd6 pcvt cleanup.
add $FreeBSD.
get copyright in sync with FreeBSD recommendation.
remove obsolete stuff resuling from pcvt kernel part cleanup
 (caution: this depends in part on modifications to pcvt_ioctl.h,
  commit will follow shortly).
add new option "-n" to ispcvt to get number of compiled-in
 virtual screens.
2000-03-28 09:21:05 +00:00
hm
8ae55b34de pcvt cleanup. add $FreeBSD$. 2000-03-28 09:07:18 +00:00
hm
56760b941d pcvt cleanup. add $FreeBSD$. get copyright in sync with
FreeBSD recommendation.
2000-03-28 09:06:19 +00:00
hm
262de47040 pcvt cleanup. add $FreeBSD$. get copyright header in sync with
FreeBSD recommendation.
2000-03-28 09:04:02 +00:00
hm
56d06b6f8e pcvt cleanup. added $FreeBSD$. get copyright header in sync with
the FreeBSD recommendation.
2000-03-28 09:02:52 +00:00
hm
e3da90f71b pcvt cleanup. added $FreeBSD$. 2000-03-28 09:00:24 +00:00
hm
5b0864e192 pcvt cleanup. removed obsolete dependencies. 2000-03-28 08:59:35 +00:00
green
5a96429bd9 Allow using "-d username" without "-r". Example:
auth   stream  tcp     nowait  root    internal        auth -d "Only fools trust ident"
2000-03-28 01:10:35 +00:00
bde
a8264e58be Fixed missing DPADD.
Fixed some style bugs (some usual ones for LDADD, and some misformattings).
2000-03-27 16:45:49 +00:00
bde
8fa348db2e Fixed missing DPADDs.
Fixed style bug for LDADD (don't use += for initial definitions).
2000-03-27 16:40:59 +00:00
bde
fd662fcc56 Fixed missing DPADD.
Fixed style bug for LDADD (don't use += for variables defined only once).
2000-03-27 16:39:50 +00:00
bde
de637eeac5 Use the same order in DPADD as in LDADD so that `make checkdpadd' doesn't
report an error for it.

Fixed some style bugs (the usual ones for DPADD and LDADD, and
misformatting).
2000-03-27 16:23:20 +00:00
charnier
7493210c17 1000000 usec -> 1 sec 0 usec; fix. 2000-03-26 15:08:44 +00:00
charnier
8feb215399 1000000 usec -> 1 sec 0 usec; fix. 2000-03-26 14:44:34 +00:00
hm
ac2dd9641b pcvt cleanup. remove the "mcon" utility: the PCVT_EMU_MOUSE code
in the driver is gone, because of this mcon is of no use anymore.
2000-03-26 11:20:42 +00:00
hm
834fb15379 pcvt cleanup. remove the set2061 program, it is so outdated that
nobody knows anymore what a 2061 chip is (hint: ELSA Winner 100 EISA).
2000-03-26 11:16:16 +00:00
jhb
e225efcc5a Add #includes for sysctlbyname() to quiet a warning. 2000-03-25 04:23:08 +00:00
jhb
8c16543d94 Update sysinstall to use struct uc_device instead of struct isa_device
for generating /boot/kernel.conf.  Since this structure is shared, move
its definition out to a header file, just as struct isa_device was defined
in a header file.  This fixes the sysinstall breakage in -current.
2000-03-24 22:24:09 +00:00
ru
192619ccb5 A little more cosmetics. 2000-03-24 08:36:39 +00:00
mpp
89b4a9f1be Some minor mdoc style and spelling fixes. 2000-03-24 02:05:54 +00:00
mpp
c58d76e3bc Fix some spelling errors. 2000-03-24 01:27:35 +00:00
ru
d51366a9a3 Remove redundant SRCS. 2000-03-23 16:41:45 +00:00
ru
79c6df896e A bit of cleanup. 2000-03-23 16:40:42 +00:00
ru
e0adbf8391 "can received" -> "can receive". 2000-03-22 16:07:32 +00:00
brian
b192194923 Correct the parent notification diagnostic emitted from the child
process in -background mode (it should report failure if appropriate).
2000-03-22 03:02:01 +00:00
brian
76f86d4850 If a links LCP FSM has reached TLF and it's the last link,
don't bother to re-initialise the NCPs.  Instead wait for
bundle_LinkClosed() to be called - IFF it actually is called.

By initialising the NCPs at this point, ppp was recursing
back into the fsm_Down() routing for the link, and losing
track of the reason that the link was being brought down.
The end result was that ``set reconnect'' would never do
anything.

Patiently pointed out by: ru
2000-03-22 03:02:00 +00:00
brian
1ae09dfce5 Don't bother setting the dial timer if we've closed a
background/foreground/direct and zero'd the redial/reconnect
counts.
2000-03-22 03:01:56 +00:00
brian
5bda7f13ae Do some vfork() trickery so that the parent can determine
if the childs exec() has succeeded or failed by taking advantage
of the fact that both processes share the same memory.

FWIW:
  I tried to implement this by doing a pipe(), setting the
  write desciptors close-on-exec flag in the child and writing
  errno to the descriptor if the exec() fails.  The parent can
  then ``if (read()) got errno else exec worked''.

  This didn't work though - the child could write() to fd[1] on
  exec failure, but the parent got 0 trying to read() from fd[0] !
  Is this a bug in execve() ?
2000-03-22 03:01:53 +00:00
brian
b47896e800 Call bundle_CleanDatalinks() after UpdateSet() in case we're
dropping out of background/foreground/direct mode.

This avoids either having to wait for the redial timer before
exiting or jaming up in select() waiting for something that'll
never happen.
2000-03-22 03:01:48 +00:00
green
68d5f97eed Make memcontrol(8) able to delete the segments starting at a base of 0
which it can create..
2000-03-20 22:53:32 +00:00
sheldonh
c44d2b8749 Fix a typo inherited from the HTML documentation:
assocation -> association

PR:		17501
Submitted by:	Yoshihiko SARUMARU <mistral@imasy.org>
2000-03-20 12:06:18 +00:00
sheldonh
799c78dd9a Replace erroneous use of Ic (internal command) with the intended
It (list item) and remove a duplicated list entry obscured by this
mistake.

PR:		17500
Submitted by:	Yoshihiko SARUMARU <mistral@imasy.org>
2000-03-20 11:51:05 +00:00
yokota
f274a82c14 - This is the second attempt to fix the `-3' option for moused :-)
It also adds a new option, `-E', to set the timeout value for
  the three button emulation.
2000-03-20 10:40:44 +00:00
yokota
dab887853d Add Mitsumi Wireless Scroll Mouse PnP ID. 2000-03-20 08:11:11 +00:00
brian
e183eff0c8 Add some diagnostics to prove that incoming IP fragments are
being dealt with correctly.
2000-03-19 12:37:27 +00:00
jkh
e8abb5e850 Sigh, it would have been nice but I just can't make the rsaref
hack work until we figure out some better way of handling package
interaction.
2000-03-18 20:14:58 +00:00
yokota
7a3e2aba1e - Add support for IntelliMouse Explorer, NetScroll Optical, SmartScroll,
Scroll Point, and 4D/4D+ mice.
- Add a couple of serial mouse PnP IDs.
- Extend the `-z' option so that the second wheel (or the horizontal
  movement of the `scroll' device) can be mapped to buttons.
2000-03-18 15:23:21 +00:00
jkh
1ed162731b We still need a hack for rsaref package; add it. This doesn't
affect CDs since they don't contain the rsaref package anyway.
2000-03-18 08:46:23 +00:00
jkh
3bd4e62fed Sigh, when the DIST_LOCAL thing was added, it unfortunately wasn't added
completely.  Take out another gratuitous warning which is omitted when
All is selected and local dist does not exist.
2000-03-18 08:40:39 +00:00
jkh
e6708c22b0 Update to match current reality (not that anyone reads these anyway :) 2000-03-18 08:06:16 +00:00
jkh
959970ff2c Make the "can't find an rsafoo package" messages more informative. 2000-03-18 07:20:50 +00:00
cpiazza
5f00c83601 Update the australian ntp server, the old one is no longer
available.

PR:		17448
Submitted by:	Chris Knight <chris@aims.com.au>
2000-03-18 02:53:41 +00:00
brian
a93a4c8c88 Move a comment to make things a bit more readable.
Suggested by: sheldonh
Forgotten by: me
2000-03-16 16:28:27 +00:00
ache
5e39e4a14f Add Tremon Wheel PNP mouse 2000-03-15 16:46:12 +00:00
sheldonh
87a0ee8fd6 Do not preserve UIDs, permissions nor flags of package system files in
tar files.  This fixes clean-up problems during package creation and
does not affect the actual files to be included in the package.

The fix submitted on the attributed PR was identical to the one
obtained from NetBSD.

PR:		17386
Reported by:	Adrian Filipi-Martin <adrian@ubergeeks.com>
Obtained from:	NetBSD
2000-03-15 09:18:12 +00:00
brian
e7643a6c06 Increase bit fields to allow for new values 2000-03-14 20:11:45 +00:00
brian
5f910a271b ppps -> ppp's; suggested by sheldonh
.Nm ppp -> .Nm; overlooked by me
Microsofts -> Microsoft's; OpenBSD
2000-03-14 20:04:32 +00:00
brian
a6c570880d Understand -DNOINET6 2000-03-14 19:33:13 +00:00
shin
296524942d When unexpected rtmsg was received, route6d was dying.
So change it just to log it.
(Merge from recent KAME bug fix.)

Submitted by: itojun
Obtained from: KAME project
2000-03-14 18:17:55 +00:00
sheldonh
4cca06398e Revive rev 1.12 (NetBSD improvements including @ shortcuts). 2000-03-14 14:51:55 +00:00
newton
9c8660d95b Un-botch my botched reduction in permitted characters in the permitted
username check which resulted from my attempt to expand them.

PR:		bin/17372
Reviewed by:	sheldonh
2000-03-14 14:27:34 +00:00
newton
c379f94f99 Fix the case where username validity test would incorrectly fail if
the specified username contained uppercase alphabetics.

PR:		bin/17372
2000-03-14 14:19:17 +00:00
sheldonh
806626f23f Cope with quotation marks around font names in /etc/rc.conf .
PR:		17330
Reported by:	Anatoly Vorobey <mellon@pobox.com>
2000-03-14 09:28:00 +00:00
brian
583da493d5 Understand environment variables in commands
Submitted by: Mark Knight <markk@knigma.org>
2000-03-14 01:47:31 +00:00
brian
1bc8ab9f4f Add the ``resolv'' command for telling ppp how to deal with resolv.conf.
You can now ``resolv restore'' in ppp.linkdown !
Add DNS0 and DNS1 macros.
2000-03-14 01:47:27 +00:00
brian
041ec329dc Refresh the NAT IP pointer after a potential mbuf reallocation. This
caused frequent lock-ups for individual sessions over a NAT'd ppp link
when MTU sizes ended up more or less exactly wrong.
2000-03-14 01:47:21 +00:00
brian
19ff2ab337 Fix some printf-style argument bugs 2000-03-14 01:47:19 +00:00
brian
84a11d130e Fix some typos
Obtained from: OpenBSD
2000-03-14 01:47:13 +00:00
brian
621cd25162 Adjust whitespace 2000-03-14 01:47:11 +00:00
brian
e9ef0032ae Don't include netinet6/in6.h directly. 2000-03-14 01:47:09 +00:00
brian
11898ff77c Correct some typos introduced in the descriptor -> fdescriptor change. 2000-03-14 01:47:07 +00:00
brian
be63b17232 Introduce LOCALNAT and LOCALRAD defines so that the sources can stay
exactly the same in FreeBSD & OpenBSD despite libalias and libradius
being local to the ppp sources under OpenBSD.
2000-03-14 01:47:02 +00:00
brian
948b95cdbb Correct UN_SIZE definition
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
2000-03-14 01:46:58 +00:00
brian
1afd290619 Don't ``break'' when we come accross a non-RTM_IFINFO type
entry in the block returned by the NET_RT_IFLIST mib,
``continue''

Broken a few minutes ago by: me
2000-03-14 01:46:56 +00:00
brian
c905df5091 When ppp can't identify the relevant name, don't use "???", use
<nnn> or <0xxxx> instead.
2000-03-14 01:46:54 +00:00
brian
3b65c00f32 Add ``set log dns'' to log DNS QUERY packets.
This is invaluable for dial-on-demand connections...
In ppp.linkup:

  set log -dns -tcp/ip

and in ppp.linkdown

  set log +dns +tcp/ip

giving a much better account of why the link came up.
2000-03-14 01:46:49 +00:00
brian
a69e155f87 The interface list that comes back from the PF_ROUTE/NET_RT_IFLIST mib
is aligned.  Teach this to ``show route''.

Clean up some of the sockaddr parsing routines.
2000-03-14 01:46:44 +00:00
brian
ca63a8dc14 Support IP6 addresses in ``show route''
Also, don't try to output routing entries if either the
RTA_DST or RTA_GATEWAY sockaddrs aren't present.
2000-03-14 01:46:38 +00:00
brian
56e902f033 When adjusting timer::rest, round to the closest TICKUNIT usecs
value.

This has minimal impact here, but if ppp ever needs to frequently
remove timers before they've timed out, it can badly skew the next
item in the timer list without this change.

The correct fix would be to store usecs in `rest' rather than
TICKUNITs, but the math is easier if we just round...
2000-03-14 01:46:34 +00:00
brian
1fa2af66ed When we stop a timer that's the first in the timer list, ensure
that we adjust that timers `rest' value (with the current getitimer()
values) before using that to adjust the next items `rest' value.
After adjusting that value, restart the timer service so that we've
now got the correct setitimer() values.
2000-03-14 01:46:31 +00:00
brian
9c5b52bb1f To avoid namespace polution in NetBSD:
``struct descriptor'' -> ``struct fdescriptor''
2000-03-14 01:46:09 +00:00
kris
6dfbd9470d Test for existence of secure/, not crypto/ for consistency
Submitted by:	jhay
2000-03-13 21:38:10 +00:00
kris
ddbe907774 Fix world with -DNOCRYPT, hopefully fix release for non-crypto collection.
Reported by:	Jason Garman <jgarman@wedgie.org>
Feedback by:	bde, Bob Bishop <rb@gid.co.uk>, jhay
2000-03-13 21:35:30 +00:00
archie
7ee0a0e187 Remove erroneous built-in help information for the 'msg' command. 2000-03-13 19:23:16 +00:00
ghelmer
7381ebe4fe Fix parsing of commands after @ keywords (@hourly, @daily, etc.).
Fix setting of "hour" bitmap when @hourly keyword is specified.

MFC candidate after 4.0-RELEASE.

Problem-found-by: Sheldon Hearn <sheldonh@uunet.co.za>
2000-03-13 19:21:17 +00:00
sheldonh
3b110e37c6 Back out previous commit. The code is not ready for it. 2000-03-13 19:13:48 +00:00
billf
1d2318b7df -CURRENT is now 500000, reflect that. 2000-03-13 18:47:48 +00:00
sheldonh
c7b82eb57f Add a standard option list and make appropriate changes to the
body of the description.

This is based on a patch from Nick Sanders <fishy@hotbot.com>.

PR:		11978
2000-03-13 14:54:55 +00:00
shin
cfed8dedef Add missing end of semi colon of an example setkey command.
Submitted by: kuriyama
2000-03-13 01:38:46 +00:00
shin
089db060c6 Typo fix. s/SAD/SPD/.
Specified by: jdp
2000-03-12 19:56:30 +00:00
shin
7bd8504f40 Typo fixes.
PR: docs/17333
Submitted by: Kazuo Horikawa <horikawa@psinet.com>
2000-03-12 19:50:12 +00:00
dufault
de04d246e6 Disable RTPRIO and P1003.1B scheduling in ntpd. Only leave BSD_NICE
for a scheduling boost.  This is a conservative change that should
make no difference in practice and eliminate concerns about this being
the source of some SMP hangs.

Configuration scripts should never auto-configure P1003.1B
without a second test.  The behavior with respect to regular time
sharing, who can access it, etc., is not defined.

Approved by:	jkh
2000-03-12 13:25:14 +00:00
jkh
f5f929f515 Remove PkgInteractive hack - it won't work like this. 2000-03-12 03:57:26 +00:00
kris
3a01b4185c Remove the last vestiges of libRSAglue now that it's an empty stub.
This should fix the buildworld problems some people were seeing.

Approved by:	jkh
2000-03-11 22:34:10 +00:00
shin
e09aeb465b Add missing return.
"ndp" command should deletes only neighbor cache entries, but the
  program lacks necessary "return" after the neighbor cache
  entry check, so it might deletes non neighbor cache entries.
  (it seems that usually no problem happens.)

Approved by: jkh
Reviewed by: ume
2000-03-11 20:57:31 +00:00
shin
304da3fbf2 Make inetd compilable without INET6.
Approved by: jkh

Submitted by: jhb
2000-03-11 11:28:08 +00:00
jkh
3de1574e21 Do the right thing with USA_RESIDENT 2000-03-10 20:34:22 +00:00
jkh
a001dc9f6e s/chose/choose/ in all the relevant places.
Noticed by:	John Reynolds <jjreynold@home.com>
2000-03-10 19:53:53 +00:00
paul
62f215a16f Fix various unsigned vs signed errors that caused problems with uids
and gids bigger than 16 bits. Added checks for uids and gids that are
bigger than 32 bits.

Approved by:	jkh (partly, this fix is bigger than I first intended)
2000-03-09 18:11:16 +00:00
shin
4bd515c32f Fix addr length argument value passed to sendto().
Some inetd internal udp servers didn't worked with problem.
Also fix recvfrom() "fromlen" arg type from int * to socklen_t *.

Approved by: jkh

Submitted by: bde
2000-03-09 15:07:38 +00:00
shin
48f6832d33 Added several socket close() which were mistakenly forgotten.
Reported by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
2000-03-09 14:51:05 +00:00
kris
0d1f47825b Buildworld fixes for NO_OPENSSH and NO_OPENSSL
Approved by:	jkh
2000-03-09 06:29:05 +00:00
jlemon
5c5e33d816 Add Compaq Arrays 2000-03-08 18:14:19 +00:00
obrien
f9382c8a43 Somehow I didn't get all the "-v" code commited.
Submitted by:	Arindum Mukerji <rmukerji@execpc.com>
Approved by:	JKH

Make the manpage more style(9) complient.
2000-03-08 16:31:42 +00:00
jkh
2b9053fee2 Fix inexplicable crypto->des reversion. 2000-03-08 14:54:19 +00:00
jkh
8f2020240d Whoops - really make the "fix" I did to the dmenuToggleVariable logic
work.
2000-03-08 14:20:26 +00:00
sheldonh
f528d8970c Merge in NetBSD improvements:
* Clarify quoting value in of name = value pairs.
	* Describe the @reboot, @yearly, @annually, @monthly, @weekly,
	  @daily, @midnight and @hourly extensions.

PR:		17261
Submitted by:	MIHIRA Yoshiro <sanpei@sanpei.org>
Obtained from:	NetBSD
2000-03-08 11:48:01 +00:00
sheldonh
0710390844 Remove blanks lines, replacing them with Pp macros where appropriate. 2000-03-08 10:13:50 +00:00
sheldonh
339a4fa1b7 Add missing description for the dummy -o option. 2000-03-08 10:06:27 +00:00
sheldonh
cf878fa1e0 Add a dummy -s option for SUSv2 compatibility.
PR:		17256
Reported by:	Brooks Davis <brooks@one-eyed-alien.net>
Approved by:	jkh (release engineer)
2000-03-08 10:02:11 +00:00
jkh
f724518914 Add entries for slovenian keymap and new euro fonts.
Submitted by:	Blaz Zupan <blaz@amis.net>
2000-03-07 16:45:36 +00:00
nik
9bb0523534 It's isdntel(8), not isdntel(1).
PR:             docs/17103
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>
2000-03-07 14:05:50 +00:00
nik
0695246a45 Mark "name" as being an argument, so it is formatted correctly.
PR:             docs/16834
Submitted by:   Greg Lewis <glewis@trc.adelaide.edu.au>
2000-03-07 13:32:11 +00:00
sheldonh
79c5946042 Remove gratuitous dashes (-) in Fl macro arguments.
PR:		17216
Submitted by:	horikawa@psinet.com (Kazuo Horikawa)
2000-03-06 13:52:23 +00:00
sheldonh
4402d054c2 Remove more single-space hard sentence breaks. 2000-03-06 09:45:37 +00:00
sheldonh
68e692f3da Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-06 09:41:55 +00:00
sos
1dc2b6cc5a mkisofs has the -C option for this, doh. 2000-03-04 07:26:23 +00:00
sos
44ed8ebdc6 Add msinfo command, used for multisession CD generation with
mkisofs. Gives the last track start LBA, and the next writable LBA.

Inspired by: peter
2000-03-03 23:17:27 +00:00
jkh
febc9c1096 Really fix the USA_RESIDENT botch.
Submitted by:	Dmitry Valdov <dv@dv.ru>
2000-03-03 20:33:21 +00:00
shin
2ce6961c1b Change type of vars which hold in_addr.s_addr from u_long to u_int32_t,
for more safety on alpha.

Approved by: jkh
2000-03-03 13:01:57 +00:00
sheldonh
f85e7b55aa Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-03 09:11:28 +00:00
sos
2809faac72 Add a percentage-meter to the progress report.
Submitted by: peter
2000-03-02 21:49:10 +00:00
cwt
2db9bc08ef Mention that portmap(8) utilizes hosts_access(5).
Reviewed by: asmodai
2000-03-02 18:15:46 +00:00
sheldonh
244b8ead7d Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00