Commit Graph

1273 Commits

Author SHA1 Message Date
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
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
36c86aa181 At last.. :-) Import of bind-4.9.3-REL. (part 1 of several) 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