Commit Graph

5740 Commits

Author SHA1 Message Date
hm
7fdf3ccca6 pcvt cleanup. remove hopeless outdated example/demo Microemacs
file. update Makefile.
2000-03-28 10:12:03 +00:00
sheldonh
1489ceee89 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
d04c58ad5a pcvt cleanup.
add $FreeBSD$
remove obsolete and completely outdated files.
2000-03-28 09:41:40 +00:00
hm
74e9b2704c pcvt update.
remove obsolete stuff.
2000-03-28 09:26:48 +00:00
hm
3cdca14ba7 pcvt cleanup.
add $FreeBSD$
get copyright in sync with FreeBSD recommendation.
2000-03-28 09:26:02 +00:00
hm
59a224c028 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
3314ae1ccc 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
c38f80536d pcvt cleanup. add $FreeBSD$. 2000-03-28 09:07:18 +00:00
hm
c56f52af77 pcvt cleanup. add $FreeBSD$. get copyright in sync with
FreeBSD recommendation.
2000-03-28 09:06:19 +00:00
hm
86b00e1e96 pcvt cleanup. add $FreeBSD$. get copyright header in sync with
FreeBSD recommendation.
2000-03-28 09:04:02 +00:00
hm
f16cf4324b pcvt cleanup. added $FreeBSD$. get copyright header in sync with
the FreeBSD recommendation.
2000-03-28 09:02:52 +00:00
hm
7b41fcca5f pcvt cleanup. added $FreeBSD$. 2000-03-28 09:00:24 +00:00
hm
b71a6dd25d pcvt cleanup. removed obsolete dependencies. 2000-03-28 08:59:35 +00:00
green
bd9946a92b 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
8c42d322cb Fixed missing DPADD.
Fixed some style bugs (some usual ones for LDADD, and some misformattings).
2000-03-27 16:45:49 +00:00
bde
790c9b68cc Fixed missing DPADDs.
Fixed style bug for LDADD (don't use += for initial definitions).
2000-03-27 16:40:59 +00:00
bde
31cb22ddf9 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
227081ccec 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
eb27c24641 1000000 usec -> 1 sec 0 usec; fix. 2000-03-26 15:08:44 +00:00
charnier
a58a03017e 1000000 usec -> 1 sec 0 usec; fix. 2000-03-26 14:44:34 +00:00
hm
e1ebe6f14d 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
d66fe5f35c 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
17fcf6dc0d Add #includes for sysctlbyname() to quiet a warning. 2000-03-25 04:23:08 +00:00
jhb
720526beac 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
ef2365e930 A little more cosmetics. 2000-03-24 08:36:39 +00:00
mpp
53f8890d22 Some minor mdoc style and spelling fixes. 2000-03-24 02:05:54 +00:00
mpp
3420b39939 Fix some spelling errors. 2000-03-24 01:27:35 +00:00
ru
89159aef6f Remove redundant SRCS. 2000-03-23 16:41:45 +00:00
ru
556c0bffd3 A bit of cleanup. 2000-03-23 16:40:42 +00:00
ru
aab1a736b1 "can received" -> "can receive". 2000-03-22 16:07:32 +00:00
brian
471671e7b2 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
9fe1d07038 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
24152078e2 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
68b1475162 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
19cd9d0b18 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
e294fe7980 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
3ee98c6455 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
faa5fd4b7d 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
539b135537 - 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
e2b8cd326b Add Mitsumi Wireless Scroll Mouse PnP ID. 2000-03-20 08:11:11 +00:00
brian
f578b83396 Add some diagnostics to prove that incoming IP fragments are
being dealt with correctly.
2000-03-19 12:37:27 +00:00
jkh
bf920e4a80 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
64c2951909 - 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
d5dafc4e51 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
ce7922188e 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
1f54d97c2c Update to match current reality (not that anyone reads these anyway :) 2000-03-18 08:06:16 +00:00
jkh
1e9c1a0a2c Make the "can't find an rsafoo package" messages more informative. 2000-03-18 07:20:50 +00:00
cpiazza
d9abe33f6b 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
91b66530e9 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
de56c0da63 Add Tremon Wheel PNP mouse 2000-03-15 16:46:12 +00:00
sheldonh
69d8f85153 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
a242c9a683 Increase bit fields to allow for new values 2000-03-14 20:11:45 +00:00
brian
420917259f 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
e8564a1fa4 Understand -DNOINET6 2000-03-14 19:33:13 +00:00
shin
eae10940eb 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
065b6f988c Revive rev 1.12 (NetBSD improvements including @ shortcuts). 2000-03-14 14:51:55 +00:00
newton
8a8b7a9e40 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
171e956a5d 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
5f870bcbbb 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
f78172a3f5 Understand environment variables in commands
Submitted by: Mark Knight <markk@knigma.org>
2000-03-14 01:47:31 +00:00
brian
d3adbcad04 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
85512efa64 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
d915279bc0 Fix some printf-style argument bugs 2000-03-14 01:47:19 +00:00
brian
75fdce32f8 Fix some typos
Obtained from: OpenBSD
2000-03-14 01:47:13 +00:00
brian
cb839970d4 Adjust whitespace 2000-03-14 01:47:11 +00:00
brian
1a3b395845 Don't include netinet6/in6.h directly. 2000-03-14 01:47:09 +00:00
brian
249ed8d6eb Correct some typos introduced in the descriptor -> fdescriptor change. 2000-03-14 01:47:07 +00:00
brian
428154656b 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
b7053a7740 Correct UN_SIZE definition
Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
2000-03-14 01:46:58 +00:00
brian
1670500994 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
30f1fc02c6 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
4f997528e5 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
59a92c2342 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
7de9fa217c 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
40c99babf2 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
593fa35a41 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
edc4275c39 To avoid namespace polution in NetBSD:
``struct descriptor'' -> ``struct fdescriptor''
2000-03-14 01:46:09 +00:00
kris
e7e9059f54 Test for existence of secure/, not crypto/ for consistency
Submitted by:	jhay
2000-03-13 21:38:10 +00:00
kris
16e0192682 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
b751202f4e Remove erroneous built-in help information for the 'msg' command. 2000-03-13 19:23:16 +00:00
ghelmer
e9992f4d05 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
582c5bcffd Back out previous commit. The code is not ready for it. 2000-03-13 19:13:48 +00:00
billf
fd4bef2b2d -CURRENT is now 500000, reflect that. 2000-03-13 18:47:48 +00:00
sheldonh
e932c06e41 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
279f008fa7 Add missing end of semi colon of an example setkey command.
Submitted by: kuriyama
2000-03-13 01:38:46 +00:00
shin
b37e836085 Typo fix. s/SAD/SPD/.
Specified by: jdp
2000-03-12 19:56:30 +00:00
shin
f3f754fc9a Typo fixes.
PR: docs/17333
Submitted by: Kazuo Horikawa <horikawa@psinet.com>
2000-03-12 19:50:12 +00:00
dufault
86c2616c04 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
ff2c4b029d Remove PkgInteractive hack - it won't work like this. 2000-03-12 03:57:26 +00:00
kris
17ded40ab0 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
e6d88a23e5 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
485d8f695c Make inetd compilable without INET6.
Approved by: jkh

Submitted by: jhb
2000-03-11 11:28:08 +00:00
jkh
5eefe53afa Do the right thing with USA_RESIDENT 2000-03-10 20:34:22 +00:00
jkh
2b88ef04a5 s/chose/choose/ in all the relevant places.
Noticed by:	John Reynolds <jjreynold@home.com>
2000-03-10 19:53:53 +00:00
paul
f9b861fdc3 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
9a760f5a4a 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
0195ebc31c 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
ff6d9a44ba Buildworld fixes for NO_OPENSSH and NO_OPENSSL
Approved by:	jkh
2000-03-09 06:29:05 +00:00
jlemon
2156a369a2 Add Compaq Arrays 2000-03-08 18:14:19 +00:00
obrien
fbc6e34147 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
cc31277e34 Fix inexplicable crypto->des reversion. 2000-03-08 14:54:19 +00:00
jkh
67f03191ad Whoops - really make the "fix" I did to the dmenuToggleVariable logic
work.
2000-03-08 14:20:26 +00:00
sheldonh
109aca63ba 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
e03801bd3c Remove blanks lines, replacing them with Pp macros where appropriate. 2000-03-08 10:13:50 +00:00
sheldonh
9264eb2d8a Add missing description for the dummy -o option. 2000-03-08 10:06:27 +00:00
sheldonh
51dbefde54 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
4254eda42c 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
c1993e0633 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
1a60b5b043 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
67a1dc856a 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
321f9316fa Remove more single-space hard sentence breaks. 2000-03-06 09:45:37 +00:00
sheldonh
f7c8a1cd3a 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
81839646c0 mkisofs has the -C option for this, doh. 2000-03-04 07:26:23 +00:00
sos
e79d528448 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
37653e93e6 Really fix the USA_RESIDENT botch.
Submitted by:	Dmitry Valdov <dv@dv.ru>
2000-03-03 20:33:21 +00:00
shin
3073c3c103 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
384b5c3715 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
4667281036 Add a percentage-meter to the progress report.
Submitted by: peter
2000-03-02 21:49:10 +00:00
cwt
1b8c194834 Mention that portmap(8) utilizes hosts_access(5).
Reviewed by: asmodai
2000-03-02 18:15:46 +00:00
sheldonh
c0e8952a50 Remove more single-space hard sentence breaks. 2000-03-02 14:54:02 +00:00
fenner
0701ab2819 Make crypto part of tcpdump (print-esp.c) work.
Approved by:	jkh
2000-03-02 13:27:25 +00:00
sheldonh
820c52a7a7 Replace abuse of a literal block display with a more appropriate
tag list.

Apologies to translators for mixing in a few language clean-ups.
2000-03-02 13:14:16 +00:00
sheldonh
840cf958b8 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-01 14:09:25 +00:00
sheldonh
247d8e4828 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-01 11:34:08 +00:00
sheldonh
ad4c77c29e 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-01 11:27:47 +00:00
nik
c5b59b77e4 Remove xrefs to obsolete bad144(8).
PR:             docs/17060
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>
2000-03-01 10:42:25 +00:00
nik
f98934ebfd Remove xrefs to obosolete cdplay(1)
PR:             docs/17079
Submitted by:   Udo Erdelhoff <ue@nathan.ruhr.de>
2000-03-01 10:41:13 +00:00
sheldonh
9dd7f21ff8 Clarify the facility used for logging with and without the wrapping
options.

PR:		17017
Submitted by:	Doug Barton <Doug@gorean.org>
2000-03-01 08:20:17 +00:00
sheldonh
5a0cc347b0 Remove broken hard sentence breaks, which mess up the typeset output. 2000-02-29 17:36:44 +00:00
jhb
49a6f9127d Add cross references to pkg_version(1) in all the other pkg_* man pages.
Also, add a cross reference to pkg_info(1) in pkg_version(1).  Finally,
in pkg_version(1), don't put a period at the end of the list of see also
man pages.

Noticed by:	Matt Ayres <matta@fast.net>
2000-02-29 15:13:55 +00:00
markm
3b3acf486b Update DISTRIBUTION for new crypto world order. 2000-02-29 11:45:48 +00:00
markm
fa09a31141 Update DISTRIBUTION for new crypto world order 2000-02-29 11:44:18 +00:00
jkh
ba590929ec o Add support for loading the rsaref or rsaintl packages, depending
on locale.

o Allow use of "G" in label editor to stand for gigabytes. This
  is actually an unrelated patch which I meant to commit separately
  but what the heck, it's late.

Partially submitted by:	phk
2000-02-29 10:40:59 +00:00
jkh
dbd3507dec Revise this for the brave new world of "crypto"
Submitted by:	markm
Approved by:	me!
2000-02-29 09:09:36 +00:00
joerg
f04206b89d Fix a nit in my previous commit: make SIGHUP and SIGCHLD restartable
as they ought to be.  The description of SA_RESTART was a little
unobvious to me in the man page, so i missed it.  Thanks to Bruce for
spotting this.

Submitted by:	bde
2000-02-29 08:02:29 +00:00
joerg
ff11e8a834 Fix a serious bug in syslogd regarding the handling of pipes. The bug
would cause syslogd to eventually kill innocent processes in the
system over time (note: not `could' but `would').  Many thanks to my
colleague Mirko for digging into the kernel structures and providing
me with the debugging framework to find out about the nature of this
bug (and to isolate that syslogd was the culprit) in a rather large
set of distributed machines at client sites where this happened
occasionally.

Whenever a child process was no longer responsive, or when syslogd
receives a SIGHUP so it closes all its logging file descriptors, for
any descriptor that refers to a pipe syslogd enters the data about the
old logging child process into a `dead queue', where it is being
removed from (and the status of the dead kitten being fetched) upon
receipt of a SIGCHLD.  However, there's a high probability that the
SIGCHLD already arrives before the child's data are actually entered
into the dead queue inside the SIGHUP handler, so the SIGCHLD handler
has nothing to fetch and remove and simply continues.  Whenever this
happens, the process'es data remain on the dead queue forever, and
since domark() tried to get rid of totally unresponsive children by
first sending a SIGTERM and later a SIGKILL, it was only a matter of
time until the system had recycled enough PIDs so an innocent process
got shot to death.

Fix the race by masking SIGHUP and SIGCHLD from both handlers mutually.

Add additional bandaids ``just in case'', i. e. don't enter a process
into the dead queue if we can't signal it (this should only happen in
case it is already dead by that time so we can fetch the status
immediately instead of deferring this to the SIGCHLD handler); for the
kill(2) inside domark(), check for an error status (/* Can't happen */
:) and remove it from the dead queue in this case (which if it would
have been there in the first place would have reduced the problem to a
statistically minimal likelihood so i certainly would never have
noticed the bug at all :).

Mirko also reviewed the fix in priciple (mutual blocking of both
signals inside the handlers), but not the actual code.

Reviewed by:	Mirko Kaffka <mirko@interface-business.de>
Approved by:	jkh
2000-02-28 17:49:43 +00:00
kris
242cb9c3ae pkg_create doesn't use more(1) for displaying +DISPLAY files, it
just cats it to stdout.
2000-02-27 06:32:25 +00:00
jkh
243bc30ecf Be neater with the screen contents. 2000-02-26 12:43:01 +00:00
jkh
296cea6502 Fix benign but stupid variable typo. 2000-02-26 12:35:00 +00:00
jkh
268f4dcdce Make all menu items more consistent and deal with a few remaining
bogus accelerators.

Based largely on feedback from:	Basit Syed <syed@pinenut.nosc.mil>
2000-02-26 12:33:49 +00:00
jkh
a8633cef20 Toggle variables between YES and NO values, don't just set them to YES
or unset them.  That makes it impossible to turn something off.
2000-02-26 12:07:40 +00:00
jkh
8009cc05a3 Clean up some of the abstraction in this code. 2000-02-26 11:57:22 +00:00
jkh
9ab961753b Add knobs for sendmail and sshd 2000-02-25 23:02:48 +00:00
jkh
ade77a3483 Make sysinstall use the new debug.boothowto OID. It will now go
straight into debug mode if you boot -v.  Also conditionalize some
annoying debugging output now that we have this ability.

Partially submitted by:	msmith
Approved by:	jkh [to make certain wise-acres happy ;)]
2000-02-25 20:55:15 +00:00
markm
e8ccee3398 Use libcrypto instead of libdes. 2000-02-24 21:10:28 +00:00
markm
6ca44f7f78 Use libcrypto instead of libdes. 2000-02-24 21:01:54 +00:00
shin
ff4f728b7d Security fixes. (Just same as sbin/ping and usr.sbin/traceroute)
-Open socket() at first and then setuid() to actual user.
  -Allow ping6 preload option only for root.

Approved by: jkh

Submitted by: Neil Blakey-Milner <nbm@mithrandr.moria.org>
2000-02-24 19:06:05 +00:00
shin
53ba5dc3ba Print ifname when sendmsg failed.
Approved by: jkh
2000-02-24 18:46:51 +00:00
jkh
5441332ccf Do USA_RESIDENT properly. 2000-02-24 08:28:06 +00:00
shin
dc6327766b Fix broken inet logging when wrapping options are not specified.
Approved by: jkh

Submitted by: Ben Smithurst <ben@scientia.demon.co.uk>
2000-02-22 00:27:53 +00:00