Commit Graph

1387 Commits

Author SHA1 Message Date
nate
925e2e3700 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
ache
e30ed1d023 Hostname points to static area which overrides with each gethost*
call, strdup() it.
1996-01-19 03:18:50 +00:00
fenner
9dfb6171fe Teach tcpdump to print out router advertisement and solicitation messages. 1996-01-19 01:29:46 +00:00
adam
9858eceef4 add yppush 1996-01-17 12:51:01 +00:00
jkh
9a1e45f1de 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
graichen
649201eee0 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
mpp
3e45021e58 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
phk
fdc6ec12cb Mount the disks we install on async, we might as well.
Saves a lot of time.
1996-01-14 21:48:57 +00:00
jkh
57baffd6ba Don't try to swap to a disk that isn't selected. 1996-01-14 11:45:05 +00:00
peter
6f85952b3c 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
7b2f47ec9c 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
wpaul
7a32a2355c Update pointer to yppush.
(And now, on to rpc.yppasswdd...)
1996-01-12 07:07:18 +00:00
wpaul
16d3c49889 This commit was generated by cvs2svn to compensate for changes in r13394,
which included commits to RCS files with non-trunk default branches.
1996-01-12 07:03:33 +00:00
phk
4eb4879986 Final cleanup for now. -Wall is now silent. A couple of bogons found. 1996-01-11 17:48:59 +00:00
peter
b96513d925 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
phk
2150a5bdfe A random bunch of cleanup changes. 1996-01-10 21:28:04 +00:00
wpaul
d64c474342 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
graichen
0e52594d2e 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
graichen
0c9d007ecb Obtained from: NetBSD (PR#1906)
removed date formatting glitch in newsyslog
1996-01-09 08:40:08 +00:00
tg
32c9503b02 Second attempt to correct the leap year handling. 1996-01-09 07:59:54 +00:00
jkh
04d79a11b3 Somebody stumbled over the :? here.. :-) 1996-01-09 07:41:52 +00:00
tg
a511bb6cb8 Fix leap year calculations in parse_to_unixtime() 1996-01-08 08:45:11 +00:00
joerg
ea7bda834f 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
9e11d51e18 Merge nslookup conflicts from 4.9.3-rel import 1996-01-07 05:53:23 +00:00
peter
56aa20d943 Round 1 of the conflict merge. It now compiles.. 1996-01-07 05:48:49 +00:00
peter
0e3589707f At last.. :-) Import of bind-4.9.3-REL. (part 1 of several) 1996-01-07 05:22:00 +00:00
peter
5f3ff9e257 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
4daa567241 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
599e153d46 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
afdebce3f6 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
088d95180a 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
c2890d14af 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
graichen
da0eb8f40b added newsyslog and spray 1996-01-05 09:53:49 +00:00
peter
373ae84b8d Add sup and IPXrouted to makefile
(IPXrouted is far more likely to be used than XNSrouted)
1996-01-05 09:41:54 +00:00
graichen
76321a18cd 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
graichen
2b592a90f9 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
graichen
54c828ff89 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
graichen
5c90ce11b5 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
997ce607d5 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
51288172f5 oops, do it right this time 1996-01-03 11:48:14 +00:00
adam
940609fc3c Link with libutil for kerberos too 1996-01-03 11:37:46 +00:00
peter
8cddf31877 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
2d17f88f57 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
0471c4a45c 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
f05e83348d 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
e00d4f5887 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
peter
6470cdf2a0 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
639da796bd recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
dg
26f075500a 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
bde
5af66827d5 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
se
f437ba6618 Remove reference to _PATH_UNIX and make -N option functional. 1995-12-28 14:40:59 +00:00
markm
cdb34e4306 Fix typos/lies. 1995-12-27 11:40:47 +00:00
peter
24cb40fe41 revert usr/bin change.. /var/log/renamelog is the kicker... 1995-12-26 22:39:27 +00:00
peter
9ad360c4d0 redirect sup executable into /usr/bin.... 1995-12-26 22:33:03 +00:00
peter
58f08b204b get rid of non-applicable files... 1995-12-26 22:32:29 +00:00
phk
ddf6a65b7a typo in my last commit. 1995-12-26 09:43:40 +00:00
peter
485744966d Shamelessly steal Garrett Wollman's bmakefiles... 1995-12-26 05:15:20 +00:00
peter
ec87c582e2 Apply ports/net/sup/patches/patch-ab 1995-12-26 05:11:06 +00:00
peter
07607d5e88 Apply ports/net/sup/patches/patch-aa... 1995-12-26 05:03:11 +00:00
peter
b195177f5c This commit was generated by cvs2svn to compensate for changes in r13022,
which included commits to RCS files with non-trunk default branches.
1995-12-26 04:54:48 +00:00
peter
6cfdf3a92b 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
830d9f6446 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
phk
9997292257 Remove all trailing white space on the lines.
Suggested by: Phil Taylor <phil@zipmail.co.uk>
1995-12-25 19:35:23 +00:00
wpaul
741de62626 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
phk
a016c070a0 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
bde
bc1a7db00b Fixed building in obj directory. 1995-12-16 23:01:04 +00:00
wpaul
6a1be1b8a9 Turn on ypserv. 1995-12-16 20:56:01 +00:00
wpaul
12ccd09a8f This commit was generated by cvs2svn to compensate for changes in r12891,
which included commits to RCS files with non-trunk default branches.
1995-12-16 20:54:17 +00:00
jkh
ce0300d5db 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
d91134c59a 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
ee14c4040a 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
wpaul
8ac305aa1f 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
bde
a303c8a6e7 Unspammed #includes.
Fixed printf format strings.
1995-12-13 15:10:56 +00:00
peter
7d781bee69 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
74386c845d 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
a8019c8fa3 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
jkh
a578b98150 Bring my changes forward from 2.1 1995-12-11 16:32:33 +00:00
peter
2b675d89ba Implement support for conf/options and i386/conf/options.i386
Note that this code is dormant unless the options files exist.
Also, parsing of quoted options in the config files is improved.

What this allows, is all the options in LINT to be specified to be
configured as #defines in a file rather than on the CC command line at
kernel build time.  This means that 'make depend' will catch dependencies
on actual *options*, meaning that you can run 'config' and 'make depend'
in complete safety WITHOUT removing the compile directory each time.

Unfortunately, this requires a pass over the source to get the individual
files to #include the new .h files that would be generated by config.
This has a small compile time penalty (appears up to about 2% slower)
from a "fresh" build.  Of course, you should not be needing to do complete
rebuilds very often once this was completed, so it would be an overall
win for most people.

Since this code is dormant and we've got a lot of other things happening
on the kernel tree at the moment (prototypes, devfs, static declarations
etc) I am not planning on doing any changes to activate this feature just
yet.
1995-12-11 10:52:34 +00:00
ache
c5b3e5a7af Back out "find itself" fix for security purist reasons from
sendmail mailing list. Our /etc/rc will be fixed instead.
It seems sendmail becomes more and more incompatible, f.e.
Return-Receipt-To not works anymore :-(
1995-12-09 19:36:49 +00:00
julian
69100ae881 Submitted by: John Hay
Ok, I shouldn't have said it was the last one previously. :-))

This fix a stupid bug in the select code.

John
1995-12-09 09:42:03 +00:00
ache
9072414990 Fix SIGHUP restarting bug: sendmail can't find itself, it uses argv[0]
but don't uses PATH
1995-12-09 06:32:24 +00:00
ache
f2a63f08b6 Fix error: startslip -> sliplogin 1995-12-09 05:13:27 +00:00
peter
1381886fd6 Update sendmail's "knowledge" of the ps_strings structure.
This really is ugly, we need setproctitle() in a shared lib somewhere to
make these more transparent.
1995-12-09 05:01:24 +00:00
peter
3d3f8ed55b Specify Timeout.queuewarn.normal at 1day as well as Timeout.queuewarn.
For some reason, the documentation does not appear to be in sync with
reality.. :-)
1995-12-07 16:38:34 +00:00
bde
f5400d7f1f Fixed the type of a signal handler. 1995-12-07 14:47:36 +00:00
bde
ecfb0304be Moved a test for HAVE_GETBOOTFILE to after the #include of the
configuration header that may define it.  Fixed the resulting
warnings.
1995-12-07 14:46:07 +00:00
bde
722ced8237 Added missing data to a struct initializer by copying it from similar
initializers.  This may not be correct, but the initializer shouldn't
have compiled before.
1995-12-07 14:41:22 +00:00
bde
88e21aa7b1 Fixed the type of time_type. 1995-12-07 14:33:33 +00:00
peter
ae9bf15783 Update the -current sources from the 2.1 branch.
Approved (in spirit) by: jkh
1995-12-07 10:34:59 +00:00
peter
8dcec6e64f Make sendmail's setproctitle() use PS_STRINGS rather than smash
the argv.  It appears that this once didn't work, but now it seems
to work just fine.
1995-12-06 07:56:47 +00:00
julian
f7be969071 Submitted by: john hay
>From jhay@mikom.csir.co.za Mon Dec  4 09:48:12 1995
Subject: Yet another IPXrouted fix

I think these should
should make IPXrouted fairly stable. These last problems only showed when
we had more than one route of the same cost to a net.

This will fix some endless loops in the clone code.

John
--
John Hay -- John.Hay@csir.co.za
1995-12-05 04:59:56 +00:00
peter
3810ebe310 Whitespace change - cosmetic alignment only. 1995-12-04 13:40:59 +00:00
julian
ec9445c952 Submitted by: John Hay
patches to allow correct deletion of IPX routes
1995-12-04 10:36:02 +00:00
peter
175a67050e Add in Gary's custom Received: line into the freefall.mc 1995-12-04 09:17:56 +00:00
peter
15d3da2926 Add "majordom" to trusted user class for freefall's sendmail.mc file.
Sigh, I really hate this "feature". I'm tempted to comment the test out
(like in sendmail 8.6.xx), especially since we log the info in the
Received: header line anyway..  Doing it like this only makes it painful
for things like uucp..
1995-12-04 08:42:22 +00:00
nate
a4da70a31e Added support for the slip.hosts options 'normal', 'compress', 'noicmp',
and 'autocmp'.

Obtained from: (mostly) slattach and (slightly) 1.X
1995-12-04 06:10:29 +00:00
jkh
58e3d962d0 mountdbtab -> mountdtab; whoops!
A small extra diagnostic for loading packages.
1995-12-04 02:22:02 +00:00
peter
7d99f7945a Fold in changes to files no longer on the vendor branch from 8.7.3 update. 1995-12-03 17:51:40 +00:00
peter
8b489b5882 This commit was generated by cvs2svn to compensate for changes in r12601,
which included commits to RCS files with non-trunk default branches.
1995-12-03 17:45:56 +00:00
peter
c226b828da Import sendmail-8.7.3. One small but important bugfix.
I was about to apply this bugfix manually, not expecting 8.7.3 to be
released quite this quickly.. :-)
1995-12-03 17:45:56 +00:00