Commit Graph

1463 Commits

Author SHA1 Message Date
Peter Wemm
503d2aa8a2 Import Jan 15 version of Andrew Gordon <andrew.gordon@net-tel.co.uk>'s
stub lockd.

This implements just the protocol, but does not interact with the kernel.
It says "Yes!" to all requests.  This is useful if you have people using
tools that do locking for no reason (eg: some PC NFS systems running some
Microsoft products) and will happily report they couldn't lock the file
and merrily proceed anyway.  Running this will not change the reliability of
sharing files, it'll just keep it out of everybody's face.
1996-02-17 15:11:29 +00:00
Garrett Wollman
cbc17e711e XNS sort-of-support is no more. 1996-02-13 17:30:37 +00:00
Bill Paul
89422d4896 Add rpc.yppasswdd 1996-02-12 15:11:59 +00:00
Bill Paul
8256fad9b7 Import new rpc.yppasswdd. (Note: accompanying changes to passwd(1) and
chpass(1) are on the way too.) This version supports all the features
of the old one and adds several new ones:

- Supports real multi-domain operation (optional, can be turned
  on with a command-line flag). This means you can actually have
  several different domains all served from one NIS server and
  allow users in any of the supported domains to change their passwords.
  The old yppasswdd only allowed changing passwords in the domain
  that was set as the system default domain name on the NIS master
  server. The new one can change passwords in any domain by trying
  to match the user information passed to it against all the passwd
  maps it can find. This is something of a hack, but the yppasswd.x
  protocol definiton does not allow for a domain to be passwd as an
  argument to rpc.yppasswdd, so the server has no choice but to
  grope around for a likely match. Since this method can fail if
  the same user exists in two domains, this feature is off by default.
  If the feature is turned on and the server becomes confused by
  duplicate entries, it will abort the update.

- Does not require NIS client services to be available. NIS servers do
  _NOT_ necessarily have to be configured as NIS clients in order to
  function: the ypserv, ypxfr and yppush programs I've written recently
  will operate fine even if the system domain name isn't set, ypbind isn't
  running and there are no magic '+' entries in any of the /etc files.
  Now rpc.yppasswdd is the same way. The old yppasswdd would not work
  like this because it depended on getpwent(3) and friends to look up
  users: this will obviously only work if the system where yppasswdd is
  running is configured as an NIS client. The new rpc.yppasswdd doesn't
  use getpwent(3) at all: instead it searches through the master.passwd
  map databases directly. This also makes it easier for it to handle
  multiple domains.

- Allows the superuser on the NIS master server to change any user's
  password without requiring password authentication. rpc.yppasswdd
  creates a UNIX domain socket (/var/run/ypsock) which it monitors
  using the same svc_run() loop used to handle incoming RPC requests.
  It also clears all the permission bits for /var/run/ypsock; since
  this socket is owned by root, this prevents anyone except root from
  successfully connect()ing to it. (Using a UNIX domain socket also
  prevents IP spoofing attacks.) By building code into passwd(1) and
  chpass(1) to take advantage of this 'trusted' channel, the superuser
  can use them to send private requests to rpc.yppasswdd.

- Allows the superuser on the NIS master to use chpass(1) to update _all_
  of a user's master.passwd information. The UNIX domain access point
  accepts a full master.passwd style structure (along with a domain
  name and other information), which allows the superuser to update all
  of a user's master.passwd information in the NIS master.passwd maps.
  Normal users on NIS clients are still only allowed to change their full
  name and shell information with chpass.

- Allows the superuser on the NIS master to _add_ records to the NIS
  master.passwd maps using chpass(1). This feature is also switchable
  with a command-line flag and is off by default.
1996-02-12 15:09:01 +00:00
Mike Pritchard
a1ff1fdecf Add a ypset(8) man page.
Obtained from: NetBSD
1996-02-12 05:28:30 +00:00
Mike Pritchard
bcff8e2ae4 Another round of man page cleanups.
Down to only about 100 items left to cleanup! :-)
1996-02-12 04:57:03 +00:00
Mike Pritchard
78b0b234eb Correct a bunch of man page cross references and generally
try and silence "manck".

ncurses, rpc, and some of the gnu stuff are still a big mess, however.
1996-02-11 22:38:05 +00:00
Mark Murray
bbff7ca556 #include <kerberosIV/des.h> -> #include <des.h> 1996-02-11 09:18:18 +00:00
Wolfram Schneider
5038dc1abd Submitted by: Masafumi NAKANE <masafumi@tky007.tth.expo96.ad.jp>
bugfix: chown home directory if don't copy dotfiles
1996-02-10 17:15:47 +00:00
Poul-Henning Kamp
c31fe65a20 Remove netns and netiso, whatever it did here in the first place... 1996-02-10 09:33:52 +00:00
Mike Pritchard
c4c23c4df8 Another round of various man page cleanups. 1996-02-09 17:25:57 +00:00
Mike Pritchard
6fad16fd59 Add some missing MLINKS, correct some cross references, correct some
file locations and some minor formatting/style problems.
1996-02-09 16:20:10 +00:00
Jordan K. Hubbard
a1eea3a25a Remove pkg_manage from Makefile 1996-02-09 12:35:25 +00:00
Jordan K. Hubbard
f6da9b9d77 Nuke pkg_manage. No fault of the author, but it sort of died when we
went to the multi-directory package scheme since it wasn't designed with
that kind of layout in mind when first written, and the attempts to adapt
it haven't really resulted in an interface that's easy to use.  I will make
a stand-alone version of the pkg installer in sysinstall at some point
and drop it into the existing pkg_install directory.
1996-02-09 12:09:19 +00:00
Jordan K. Hubbard
dab396ba99 Fix to catch a stupid oversight on my part which allowed this thing
to remove the current directory under certain circumstances.
Submitted by:	Richard J Kuhns <rjk@watson.grauel.com>
1996-02-09 12:05:26 +00:00
Andrey A. Chernov
8fd5ebe3b0 LBA addition to new commands 1996-02-09 01:16:23 +00:00
Andrey A. Chernov
494c6817f8 Integrate vak fixes, mostly command parsing & cosmetic
Submitted by: vak@cronyx.ru
1996-02-09 00:22:17 +00:00
Poul-Henning Kamp
a42a667de1 Clean up warnings.
fix return/exit codes in some cases.
Add -S which will delete any old entry first.
Add "auto" in proxy case, so it finds the right interface automatically.
1996-02-08 21:05:52 +00:00
Garrett Wollman
e50d775901 Call setsockopt(SO_PRIVSTATE) to renounce SS_PRIV on all the sockets
we create.  (Nothing being called from inetd should use it anyway,
but you can never be too careful.)

Translate the man page back into -mdoc.
1996-02-07 17:15:01 +00:00
John Polstra
fc29ad10fd Fixed pkg_create to eliminate the limits on the size of the PLIST.
Formerly, there were limits on both the number of files (hard-coded into
the program) and the number of characters (because of the ARG_MAX limit
in exec(2)).  In this new version, the filenames are passed to tar through
a pipe, using tar's "-T" option, rather than on the command line.
1996-02-06 22:49:11 +00:00
Garrett Wollman
0761cb293e Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)
in preparation for its removal from the kernel source tree.  NB: because
a function was deleted, libc is now at version 3.0 (was 2.2 previously).
1996-02-06 20:36:15 +00:00
Paul Traina
c87204dc2d Oops, accidently committed makefile change, back it out 1996-02-06 19:04:41 +00:00
Paul Traina
ed7585a414 make setproctitle display smaller 1996-02-06 19:03:58 +00:00
Paul Traina
049afade1b Setproctitle some useful information 1996-02-06 18:48:03 +00:00
Poul-Henning Kamp
b8439c2769 Add support for local modifications to the tree, by using FOO.ctm instead
of FOO if present.  Various other tweaks.

Submitted by:	Christian Haury <Christian.Haury@sagem.fr>
1996-02-05 16:06:55 +00:00
Joerg Wunsch
486405ca25 Typo.
Submitted by:	somebody in Usenet whose name i forgot
1996-02-05 15:35:41 +00:00
Andrey A. Chernov
2097e8b433 Remove cdplay, cdcontrol is superset of it 1996-02-05 00:05:04 +00:00
Paul Traina
dccb8efe94 Add qcamcontrol 1996-02-04 10:11:35 +00:00
Paul Traina
e1f52c89b4 Import very basic demo/control program for qcam driver.
Manual to follow real-soon-now(tm).
1996-02-04 09:33:52 +00:00
Bill Paul
920491cf83 Makefile.yp:
- Improve support for multiple domains. (In preparation for new rpc.yppasswdd.)

yp_dblookup.c:
- Improve error reporting: be more selective as to what error code
  we return when a (dbp->get) fails.
1996-02-04 05:39:35 +00:00
Andrey A. Chernov
219913d08e Print out media catalog number, if exists 1996-02-03 15:21:30 +00:00
Andrey A. Chernov
61c728296d Request/print out media catalog validation info in status command 1996-02-03 15:07:32 +00:00
Andrey A. Chernov
5f0f376b27 Implement several new commands 1996-02-03 14:13:36 +00:00
Joerg Wunsch
863e656f6d Mention the currently supported vendor/model strings. 1996-02-02 23:01:17 +00:00
Andrey A. Chernov
fccbca1d40 Don't mask last track number with end word, better be shure that it is 170 1996-02-02 22:14:39 +00:00
Andrey A. Chernov
aeb13d5b74 Implement 'inject' command 1996-02-02 22:03:37 +00:00
Andrey A. Chernov
3017478d1c Back out my control->addr_type change, need to be fixed in another place 1996-02-02 20:46:46 +00:00
Jordan K. Hubbard
15eb9fcea7 Understand about the doc distribution. 1996-02-02 06:44:02 +00:00
Jeffrey Hsu
eae4034b95 There is no longer a typedef clash with <rpc/auth.h>, so remove
conditional.  Also, use the system defined fixed sized types.
This removes a 32-bit dependency on non-32-bit architectures.
1996-02-02 06:17:42 +00:00
Wolfram Schneider
413b01e6ac man page link swapfile.8 -> vnconfig.8 1996-02-02 06:14:09 +00:00
Mike Pritchard
7c87ef470d Correct some manual page cross reference errors. E.g. su is a section
one man page, not section eight.  This is the first round of such changes
and only fixes man pages in manual section one.
1996-02-02 00:26:12 +00:00
Andrey A. Chernov
b8be555bd4 Fix user input parser, play command even not work in old variant 1996-02-01 19:09:50 +00:00
Andrey A. Chernov
6f4dc255bf Wrong field was used to determine audio/data disks 1996-02-01 17:17:28 +00:00
Bill Fenner
e6ed2afd1e Make routed use real netmasks when installing routes; for unknown
class B and C networks routed would use the network number as the
netmask.  This can cause some real interesting behaviour.
1996-02-01 16:25:29 +00:00
Joerg Wunsch
5ed79a4de1 Correct a minor but important error in the rtprio example. 1996-02-01 14:14:22 +00:00
Justin T. Gibbs
62b98eeff0 Decend the list of ioaddrs and maddrs for eisa devices and print them out
for lsdev -c.
1996-01-31 18:06:52 +00:00
Mike Pritchard
493f8e953b Make mixer print out all of the current mixer settings by defualt
instead of making the user run a separate command for each
setting they are interested in.  Closes PR#432.
1996-01-31 18:01:22 +00:00
Bill Paul
c0b36ac20f Found an instance of yp_error() in yp_maplist_create() that had two %s
tokens but only one argument; fixed by putting in missing argument.
1996-01-31 15:21:56 +00:00
Bill Paul
8ef82f38c6 Sync with my sources at home:
- Don't do longjmp()s from inside a signal handler. Even though I got
  things to work the way I wanted, it's bad karma.

- Remember to clear the sa_mask with sigemptyset() before masking signals
  when using sigaction() to set up the SIGIO handler.

- Break out of the wait loop in yppush_exit() when the five minute
  timeout expires instead of looping around for another pass. If ypxfr
  on the other end fails somehow and never sends a response, we don't
  want to wait around forever.
1996-01-31 15:15:47 +00:00
Nate Williams
c29defb0aa ctm(5) has been written, so remove comment about it not existing. :) 1996-01-31 02:01:56 +00:00
Poul-Henning Kamp
e53374eaf4 Use libmd's MD5.
inline hdlc checksum calculation.
make big tables const.
1996-01-30 20:04:34 +00:00
Andrey A. Chernov
192805fd1a Don't replace leadout entry with 255 1996-01-30 14:36:57 +00:00
Mike Pritchard
4a8d02835c Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
Andrey A. Chernov
2f3cc4bf87 Use starting track 0 for READTOCENTRYS, should be converted
to real starting track in CD driver.
Old code assume that starting track is always 1.
1996-01-30 12:00:43 +00:00
Andrey A. Chernov
1cc4f50e14 Use 0 as starting track number for READTOCENTRYS,
should be converted to real starting track into CD driver.
Old variant assume that starting track is always 1.
1996-01-30 11:44:33 +00:00
Doug Rabson
76bd0c0a9d Some patches to ppp which improve stability. I have been running a
ppp based on these patches for about 3 weeks with no downtime.

The original submitters comments:

Two features iijppp has over kernel ppp that I like are predictor1
compression and demand dialing.  Here are a few bug fixes.

I expanded the priority queueing scheme and discovered it was broken
due to the assignment at ip.c line 300.  All packets were being
queued at the same priority.

Fixing priority queueing broke predictor1 compression.  Packets
were compressed before being queued and predictor1 worked as long
as the packets were popped off the queue in the same order they
were pushed onto the queue.

There were a few byte order problems in IP header tests also.

There is a recursion problem in SendLqrReport().  LcpClose() is
called when "Too many echo packets are lost" which winds up in
SendLqrReport() again.  I believe the original intention was to
just stop the LQR timer with the call to StopLqr() but the side
effects hurt.

Submitted by:	John Capo <jc@irbs.com>
1996-01-30 11:08:50 +00:00
Joerg Wunsch
44e893b99a Attempt to figure out the size of the device/file we are about to
format.  A bit tricky, but i believe this to work for 98 % of the
cases.
1996-01-30 02:35:08 +00:00
Mike Pritchard
e71057d8d0 Fix a bunch of spelling errors. 1996-01-29 23:52:43 +00:00
Joerg Wunsch
6161820279 Add the -u flag to the cpio's used to install the initial files, just
to make sure they will be overwritten even in cases where the've
bogusly got more recent timestamps.
1996-01-29 20:17:27 +00:00
Peter Wemm
dc1a0cbb63 Minor tweak to allow the mbone mapper to work again on hosts which are
themselves acting as multicast routers.

Reviewed by: Bill Fenner (quite some time ago)
1996-01-29 16:04:20 +00:00
Mike Pritchard
dd230f5e05 Don't install sendmail setgid kmem since it doesn't really
require kmem access.  It is currently configured to call getloadavg(3),
which uses sysctl(2) to determine the load average, which is the
only reason some sendmails require kmem access.
1996-01-29 13:19:49 +00:00
Jordan K. Hubbard
4dda2104dc Whoops! Include paths.h instead of sys/cdefs.h - that results in
PATH_VARTMP having a somewhat saner value.
Submitted by:	matthew green <mrg@eterna.com.au>
By way of: Eric Allman <eric@sendmail.org>
1996-01-29 02:58:11 +00:00
Wolfram Schneider
1cf8f98cbb A manpage. May be the file nologin.5 should located in
src/share/man/man5.
1996-01-28 23:49:05 +00:00
Joerg Wunsch
fde6518cce Add wormcontrol. Nope, i didn't forget it this time. :) 1996-01-27 17:57:15 +00:00
Joerg Wunsch
f0cb4b02d1 Add a wormcontrol(8) utility. This is needed in order to prepare
worm(4) for actual work.

See the EXAMPLES section in the man page.
1996-01-27 17:52:20 +00:00
Bill Paul
ce5b7be823 Change private version of verr() to __verr() and make it static to
avoid potential clash with library function of the same name.
1996-01-26 18:20:56 +00:00
Wolfram Schneider
8eeb71d709 add a manpage 1996-01-24 00:11:58 +00:00
Wolfram Schneider
2ae90f756e add a manpage
check for  argument 'path'
1996-01-23 23:59:36 +00:00
Joerg Wunsch
74f1d2b4d5 Add an additional warning that a "dangerously dedicated" disk cannot have
a boot selector in sector 0.

Closes PR # conf/963: Using the...

Submitted by:	muir@idiom.com (David Muir Sharnoff)
1996-01-23 21:05:22 +00:00
Mike Pritchard
81e6d46b05 Fix some of the pcvt related man pages to reflect where the
various pcvt support files are really installed.  Closes PR# 740.
1996-01-22 10:23:25 +00:00
Mike Pritchard
553072f33a Fix the -t option so that its output matches what the man
page says it prints.  Also silence a few "cc -Wall" warnings.
1996-01-22 09:02:08 +00:00
Peter Wemm
a58206b6ea Merge in 4.9.3-P1 changes and bump version number.
(Patch1 only affects named and BSD/OS makefiles that we dont use)
1996-01-22 05:55:52 +00:00
Peter Wemm
b65097552f This commit was generated by cvs2svn to compensate for changes in r13553,
which included commits to RCS files with non-trunk default branches.
1996-01-22 04:55:42 +00:00
Peter Wemm
ebcbc731ab Import named-4.9.3-patch1
This is a small fix, as a result of talking to Ultrix Hesiod-enabled
named's.  Apparently there are some buffer overruns causing data
mangling.
1996-01-22 04:55:42 +00:00
Mike Pritchard
270d3d754a Fix a variety of minor typos and cross references in a bunch of
man pages.

Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp>
Giles Lean <giles@nemeton.com.au>
<soda@sra.co.jp>
1996-01-20 07:29:11 +00:00
Nate Williams
8f9d4ec05d Removed config.new from the release. It is unused by any current version
of FreeBSD, and only serves to generate confusion and increase bloat.
1996-01-20 00:59:23 +00:00
Andrey A. Chernov
22cb768412 Hostname points to static area which overrides with each gethost*
call, strdup() it.
1996-01-19 03:18:50 +00:00
Bill Fenner
5e26f56623 Teach tcpdump to print out router advertisement and solicitation messages. 1996-01-19 01:29:46 +00:00
Adam David
9c3d0aeeec add yppush 1996-01-17 12:51:01 +00:00
Jordan K. Hubbard
158a4a24fa Fix a few minor bogons in the docs, also make it possible to execute cmds
from args, e.g. cdplay cd0 "play 1 99" if you just want to feed the
CD a command and exit the cdplay utility.  Note that if you want to use
post-play commands like `pause' and `resume', you should still use cdplay
interactively.
1996-01-16 11:08:04 +00:00
Thomas Graichen
9bf204a77e Submitted by: charnier@lirmm.fr (Philippe Charnier)
1) correct MAX_PID according to system definition.
2) replace fprintf(stderr,...)/perror/exit by 4.4 equivalence.
3) make strings enough larger so they can't overflow: MAXHOSTNAMELEN for
   host and MAXPATHLEN for filenames.
4) call execl with correct parameters (compress -> gzip).
1996-01-16 10:32:04 +00:00
Mike Pritchard
d1968b90c7 Fixed to not core dump if not enough arguments are given
with the +rec and -rec options.
1996-01-15 09:11:17 +00:00
Poul-Henning Kamp
e717f3d8e9 Mount the disks we install on async, we might as well.
Saves a lot of time.
1996-01-14 21:48:57 +00:00
Jordan K. Hubbard
3c3bc06e1c Don't try to swap to a disk that isn't selected. 1996-01-14 11:45:05 +00:00
Peter Wemm
9f0361fe4e take the $ out of the $Id$ line - when I imported this I used -ko, but
that is conflicting with cvs-1.6's "cvs update -A" when run from freefall's
update jobs.
1996-01-13 13:21:28 +00:00
Peter Wemm
d8f19d9417 Make a little more effort to avoid touching certain generated files if
they were not changed.  This makes 'make depend' more useful.
1996-01-12 08:57:10 +00:00
Bill Paul
1fff226dba Update pointer to yppush.
(And now, on to rpc.yppasswdd...)
1996-01-12 07:07:18 +00:00
Bill Paul
434584a95a Import the new yppush.
This program does what the old one did, PLUS:

- Supports parallel jobs (like the SunOS yppush)
- Does everything in one proces instead of fork()ing off
  children processes as callback listeners (this is done
  using async socket I/O).
- Can be used to transmit maps to user-specified hosts.
- Has a much more verbose verbose option.
- Reuses existing code from ypserv and ypxfr.
- Uses some rpcgen-erated code as well.
- Isn't fattening. :)

Note that this is going in /usr/sbin rather than /usr/bin like
the old one. yppush is an administrative command it it's anything.
1996-01-12 07:03:33 +00:00
Poul-Henning Kamp
ed6a16c181 Final cleanup for now. -Wall is now silent. A couple of bogons found. 1996-01-11 17:48:59 +00:00
Peter Wemm
37d89975ab My freshly aborted 'make world' has pointed out that the wait.h include
file is <sys/wait.h>, not <wait.h> as was recently committed.
1996-01-11 05:58:59 +00:00
Poul-Henning Kamp
7b64106a9e A random bunch of cleanup changes. 1996-01-10 21:28:04 +00:00
Bill Paul
009790d136 More changes brought about by testing of yppush (which is almost finished):
In yp_server.c:

- Modify ypproc_xfr_2_svc() so that it sends both a return status and
  a yppush callback (if necessary: normally ypxfr is supposed to send the
  callback once it's done transfering a map, but if we can't get ypxfr
  off the ground for some reason, we have to send it here instead) and
  do it in the right order: have to send the reply to the ypproc_xfr
  request first, then send callback. This requires us to cheat a bit:
  you're supposed to just return() and let the RPC dispatcher send
  the reply for you, but we wouldn't be able to send the callback message
  if we did that, so we have to call svc_sendreply() ourselves, then
  send the callback, and then return NULL so that the RPC dispatcher
  won't call svc_sendreply() itself.

- Also modify ypproc_xfr_2_svc() so that it doesn't invoke ypxfr with
  the -f flag: this overrides the order number checks, which prevents
  us from ever refusing maps that aren't newer than then ones we already
  have.

In yp_access.c:

- Fix a typo in the TCP_WRAPPER support code (which is #ifdef'ed out
  by default): a close paren somehow vanished into the ether.
1996-01-10 16:07:39 +00:00
Thomas Graichen
fa913fbd87 Obtained from: David Mazieres (OpenBSD)
added "#define PRECISE_SYMLINKS" to the amd config header - this
solves a problem with the amd "-type:=direct" mounts and /bin/sh
giving a "readlink failed" if you cd'ed to a "-type:=direct" mounted
directory

i got this from david mazieres as a result of giving him our (mostly
doug rabsons) fixes for the amd "-type:=direct" mounts and telling
them (also some NetBSD people were interested) about my only problem
running these fixes (which is now solved too :-)
1996-01-09 08:49:21 +00:00
Thomas Graichen
c6bf200d31 Obtained from: NetBSD (PR#1906)
removed date formatting glitch in newsyslog
1996-01-09 08:40:08 +00:00
Thomas Gellekum
c18a55ebaa Second attempt to correct the leap year handling. 1996-01-09 07:59:54 +00:00
Jordan K. Hubbard
59f8632ddb Somebody stumbled over the :? here.. :-) 1996-01-09 07:41:52 +00:00
Thomas Gellekum
a8611821d7 Fix leap year calculations in parse_to_unixtime() 1996-01-08 08:45:11 +00:00
Joerg Wunsch
ac4b78d280 Mention a bug in lpd that causes a core dump if a request is made for
a file format where no filter is assigned.

Pointed out by: Richard_Pontefract@vos.stratus.com
1996-01-07 15:49:15 +00:00
Peter Wemm
7756c6b9ec Merge nslookup conflicts from 4.9.3-rel import 1996-01-07 05:53:23 +00:00
Peter Wemm
34d59b1442 Round 1 of the conflict merge. It now compiles.. 1996-01-07 05:48:49 +00:00
Peter Wemm
36c86aa181 At last.. :-) Import of bind-4.9.3-REL. (part 1 of several) 1996-01-07 05:22:00 +00:00
Peter Wemm
e65f6bafb8 This commit was generated by cvs2svn to compensate for changes in r13298,
which included commits to RCS files with non-trunk default branches.
1996-01-07 05:22:00 +00:00
Peter Wemm
963697a6db This commit was generated by cvs2svn to compensate for changes in r13282,
which included commits to RCS files with non-trunk default branches.
1996-01-06 21:12:18 +00:00
Peter Wemm
1d970643c7 Pull in the Release notes from release 3.8 - I forgot these last time after
I had moved them out of the way.
1996-01-06 21:12:18 +00:00
Peter Wemm
2b026b8f2b Resync our mainline to mrouted release 3.8.
This will make FreeBSD boxes better behaved 'MBONE Citizens', based on
a couple of the comments about the severity of fixes..

Agreed to by: wollman, fenner@parc.xerox.com
1996-01-06 21:10:30 +00:00
Peter Wemm
73950bd7a6 This is a 'for reference' import of mrouted release 3.8.
I'm using these to try to resync our tree with the vendor branch..
1996-01-06 21:04:38 +00:00
Peter Wemm
29a6d69cc3 This is a 'for reference' import of mrouted release 3.6. It's pure
conflict markers, but it actually changes nothing.

We've been running this code with small changes for some time, this may
be useful for checking what those changes.  It was unfortunate this
module got so far away from the vendor branch (whitespace changes didn't
help)
1996-01-06 21:00:43 +00:00
Thomas Graichen
160ce17a34 added newsyslog and spray 1996-01-05 09:53:49 +00:00
Peter Wemm
dae83b7963 Add sup and IPXrouted to makefile
(IPXrouted is far more likely to be used than XNSrouted)
1996-01-05 09:41:54 +00:00
Thomas Graichen
6e2776da86 This commit was generated by cvs2svn to compensate for changes in r13244,
which included commits to RCS files with non-trunk default branches.
1996-01-05 09:28:11 +00:00
Thomas Graichen
abf212be33 Obtained from: NetBSD
imported the newsyslog command from NetBSD - it make the "rotation" of
the logfiles much simpler (it is currently done by "hand" in the
/etc/[daily,weekly,monthly] scripts) - now it will be done by invoking
newsyslog every hour which is very customizable via a
/etc/newsyslog.conf file
1996-01-05 09:28:11 +00:00
Thomas Graichen
0198af8905 This commit was generated by cvs2svn to compensate for changes in r13242,
which included commits to RCS files with non-trunk default branches.
1996-01-05 09:09:30 +00:00
Thomas Graichen
d021b6c07a Obtained from: NetBSD
imported the spray command from NetBSD - it can be used for network
analysis (see the man-page)
1996-01-05 09:09:30 +00:00
Peter Wemm
7ae3d55998 Restore the changes I made after my last brain hiccup...
Document /var/log/sup.rename instead of the old name
Couple of lib build cleanups (like, not installing the library, and clean
all files)

It should be safe now.. :-)
1996-01-04 16:10:42 +00:00
Adam David
7b1aedd497 oops, do it right this time 1996-01-03 11:48:14 +00:00
Adam David
2cf2990bee Link with libutil for kerberos too 1996-01-03 11:37:46 +00:00
Peter Wemm
38df03f3e6 Get sendmail to detect when to use the setproctitle() in libutil
This uses osreldate.h and other stuff to determine whether it's on a
-current system.  It should still compile cleanly on a -stable branch
system.
1996-01-01 08:54:01 +00:00
Peter Wemm
5f30a3e6fb Minimal changes to get named to use libutil's setproctitle()...
The old code is still there with #ifdef OLD_SETPROCTITLE
1996-01-01 08:44:53 +00:00
Peter Wemm
c128302002 Make inetd use setproctitle from libutil instead of it's own version.
The old code can probably still be compiled with #define OLD_SETPROCTITLE
1996-01-01 08:42:23 +00:00
Peter Wemm
c129841af7 Make nfsd use setproctitle from libutil...
Old code is still #ifdef OLD_SETPROCTITLE for comparison with the old
code.
1996-01-01 08:39:39 +00:00
Peter Wemm
ce39287245 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
Peter Wemm
6065a0be11 This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
Peter Wemm
a5b996a7ec recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
David Greenman
c418fae48f Changed the default/min/max number of users to 8/2/512 for all machine
types. This is closer to the reality of reasonable values.
1995-12-29 18:24:43 +00:00
Bruce Evans
912e603778 Implemented non-statistical kernel profiling. This is based on
looking at a high resolution clock for each of the following events:
function call, function return, interrupt entry, interrupt exit,
and interesting branches.  The differences between the times of
these events are added at appropriate places in a ordinary histogram
(as if very fast statistical profiling sampled the pc at those
places) so that ordinary gprof can be used to analyze the times.

gmon.h:
Histogram counters need to be 4 bytes for microsecond resolutions.
They will need to be larger for the 586 clock.
The comments were vax-centric and wrong even on vaxes.  Does anyone
disagree?

gprof4.c:
The standard gprof should support counters of all integral sizes
and the size of the counter should be in the gmon header.  This
hack will do until then.  (Use gprof4 -u to examine the results
of non-statistical profiling.)

config/*:
Non-statistical profiling is configured with `config -pp'.
`config -p' still gives ordinary profiling.

kgmon/*:
Non-statistical profiling is enabled with `kgmon -B'.  `kgmon -b'
still enables ordinary profiling (and distables non-statistical
profiling) if non-statistical profiling is configured.
1995-12-29 15:30:05 +00:00
Stefan Eßer
0145d80c3c Remove reference to _PATH_UNIX and make -N option functional. 1995-12-28 14:40:59 +00:00
Mark Murray
8f218cfa71 Fix typos/lies. 1995-12-27 11:40:47 +00:00
Peter Wemm
3394f9f156 revert usr/bin change.. /var/log/renamelog is the kicker... 1995-12-26 22:39:27 +00:00
Peter Wemm
f963e39e15 redirect sup executable into /usr/bin.... 1995-12-26 22:33:03 +00:00
Peter Wemm
22964b31a4 get rid of non-applicable files... 1995-12-26 22:32:29 +00:00
Poul-Henning Kamp
17708f3490 typo in my last commit. 1995-12-26 09:43:40 +00:00
Peter Wemm
55408e29e9 Shamelessly steal Garrett Wollman's bmakefiles... 1995-12-26 05:15:20 +00:00
Peter Wemm
c772fadcf2 Apply ports/net/sup/patches/patch-ab 1995-12-26 05:11:06 +00:00
Peter Wemm
4e28088593 Apply ports/net/sup/patches/patch-aa... 1995-12-26 05:03:11 +00:00
Peter Wemm
d14071a4b3 Import the unmodified version of the sup that we are using.
The heritage of this version is not clear.  It appears to be NetBSD
derived from some time ago.
1995-12-26 04:54:48 +00:00
Peter Wemm
3656f85bbd A trivial enhancement to ctm_rmail to support the -v option and pass it
through to cvs when unpacking the delta..  (I read the output.. :-)
1995-12-26 02:49:53 +00:00
Poul-Henning Kamp
4d50bdbc0c Remove all trailing white space on the lines.
Suggested by: Phil Taylor <phil@zipmail.co.uk>
1995-12-25 19:35:23 +00:00
Bill Paul
77732bc551 A few small tweaks related to ypxfr:
- Add a ypxfr_callback() function that we can use to signal failure to
  yppush(8) in the event that we can't fork()/exec() ypxfr(8). yppush
  only checks the return status from YPPROC_XFR enough to determine
  that the RPC succeded: it relies on its callback service to figure
  out whether or not the transfer actually worked.

- Give yp_dblookup.c its own debug variable (ypdb_debug) so that DB
  access debugging messages can be turned on or off independent of the
  program's global debug messages.

- Have the Makefile rpcgen the ypushresp_xfr_1() client stub for us and
  nuke the unneeded rule for yp_xdr.c that I left in by mistake (the XDR
  filters live in libc now).
1995-12-23 21:35:35 +00:00
Poul-Henning Kamp
1d86b91c32 The rewamped sysctl program that will find all the variables itself.
Also a couple of handy new options.
1995-12-21 12:39:25 +00:00
Bruce Evans
e7e4345bbf Fixed building in obj directory. 1995-12-16 23:01:04 +00:00
Bill Paul
f4b1201332 Turn on ypserv. 1995-12-16 20:56:01 +00:00
Bill Paul
778c7b1c1c Import the new, non-GPL ypserv, written by yours truly. Functionally
equivalent to the old ypserv, except that it doesn't support the
-p [port] option to force the server to use a particular port.

The server stubs and yp.h header file are auto-generated from the yp.x
protocol definition file. The auto-generated XDR routines in libc/yp
are also used. The database access code has been broken out into a
seperate module so that other NIS utilities (ypxfr in particular)
can use it.

Note that the old mknetid script is being temporarily moved here; it
will be replaced by an mknetid program which will eventually have
a home under /usr/src/libexec. (The existing script is actually
somewhat broken -- it doesn't handle hosts -- but this isn't a big
deal at this point since the netid.byname map is really only useful
fopr Secure RPC, which we don't have yet.)
1995-12-16 20:54:17 +00:00
Jordan K. Hubbard
020539b659 Map ^C and ^\ (INTR and QUIT) to ^Q so that you can actually send these
guys to a watched process.  Useful if you're monitoring someone who's
started doing something you'd really like them to stop immediately. :)
Suggested by:	Phillip White <philw@megasoft.tic.ab.ca>
1995-12-16 10:07:10 +00:00
Peter Wemm
c5a69148b9 Revert from fiddling with the PS_STRINGS pointers back to the traditional
spamming of the argv, almost back to the original code (except for NULL
padding of the string).
This makes this version of the sendmail source compile on 2.1.X again.
1995-12-15 13:31:51 +00:00
Peter Wemm
09802b4a89 The version of setproctitle() inside nfsd was busted. It was not terminating
the argv array, causing parts of the argv[0] to be picked up several times
by libkvm, causing strange ps results for the nfs-server and nfs-master
processes.. :-]

(How many copies of setproctitle() do we need anyway?  NetBSD has it in
 libc and BSDI have it in libutil.)
1995-12-15 13:13:32 +00:00
Bill Paul
7db881e162 More XDR routine cleanups. These three programs should be the only
ones that require this: the others call the yplib functions in libc.
1995-12-15 03:39:46 +00:00
Bruce Evans
8300a61f5a Unspammed #includes.
Fixed printf format strings.
1995-12-13 15:10:56 +00:00
Peter Wemm
7c5a56b547 Add #include <vm/pmap.h> to make lsdev compile again after the last round
of include file changes....
1995-12-13 11:41:15 +00:00
Peter Wemm
021eabd9ed These files are regeneratable and are making huge rcs deltas for no real
need.  Note that "op" and "intro" are already being built under
share/doc/smm  (08.sendmailop and 09.sendmail)
1995-12-13 06:20:22 +00:00
Peter Wemm
f6f0fafd9b Change freefall's default mailer from smtp to smtp8 to try and avoid
the 8 to 7 bit conversion..
1995-12-13 05:56:07 +00:00