Commit Graph

1245 Commits

Author SHA1 Message Date
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 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
Jordan K. Hubbard 3eaa341f6a Bring my changes forward from 2.1 1995-12-11 16:32:33 +00:00
Peter Wemm 6d41b96fd7 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
Andrey A. Chernov 4c5c144aa0 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 Elischer fcc69d1196 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
Andrey A. Chernov 36f8da038f 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
Andrey A. Chernov de8c2644e5 Fix error: startslip -> sliplogin 1995-12-09 05:13:27 +00:00
Peter Wemm c46353cc1b 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 Wemm 3d334e23c5 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
Bruce Evans 4ca7e8ae71 Fixed the type of a signal handler. 1995-12-07 14:47:36 +00:00
Bruce Evans f781e76a9a 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
Bruce Evans df4b6087db 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
Bruce Evans de2bdb25ca Fixed the type of time_type. 1995-12-07 14:33:33 +00:00
Peter Wemm 40b0c0d936 Update the -current sources from the 2.1 branch.
Approved (in spirit) by: jkh
1995-12-07 10:34:59 +00:00
Peter Wemm f92e685bdf 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 Elischer 61f20197ae 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