Commit Graph

29593 Commits

Author SHA1 Message Date
julian
95640af2d6 Reverse the default sense of the IPFW/DIVERT reinjection code
so that the new behaviour is now default.
Solves the "infinite loop in diversion" problem when more than one diversion
is active.
Man page changes follow.

The new code is in -stable as the NON default option.
1998-06-05 22:40:01 +00:00
dg
ba429999e3 Changed the log() of "Out of mbuf clusters - increase maxusers" to a
printf() of "Out of mbuf clusters - adjust NMBCLUSTERS or increase
maxusers" so that the message is more informative and so that it will
appear in the kernel message buffer.
1998-06-05 21:48:45 +00:00
dg
87b97b7109 Moved limit frobbing (and the resulting limcopy()) that occurs for
accounting to the accounting function so that this isn't needlessly
done for some process exits.
Reviewed by:	bde,phk
1998-06-05 21:44:20 +00:00
dg
206d66bc2d If we are out of mb_map space and we failed to m_reclaim() anything and
the alloc is not M_DONTWAIT, then panic with "Out of mbuf clusters".
Callers that specify M_WAIT can't deal with getting a NULL buffer, so this
is a more graceful failure than randomly page faulting in the socket code
or elsewhere.
1998-06-05 21:41:48 +00:00
dt
c5508ee879 Recognize ".cpp" as a C++ suffix.
PR:		3476
1998-06-05 18:38:55 +00:00
jkh
4b2f08f788 Add mtree to bootstrap targets now that peter has added a new
keyword to it which will otherwise call the next target to fall over
on transitioning systems.
1998-06-05 16:50:45 +00:00
peter
21921fe461 Hands off my /usr/src and /usr/obj! If they are symlinks (since they are
hard coded into too many things), it's not nice to go and change /home/src
etc.  This means they will be created if missing (so it shouldn't break
the releases), but won't touch them once they are changed.
1998-06-05 14:47:10 +00:00
peter
0bd6eb13d6 Create a new flag, "nochange", which will specify that a directory is
to be created if it's missing, otherwise completely ignore it's modes and
owners.  Primary intended targets:  /usr/src and /usr/obj.

Adjust the 'not created: File exists' message to mention that it's a
directory that's the problem, otherwise it doesn't make sense.

I had created chown-style  -L and -P flag to control logical/physical mode
(ie: whether symlinks were followed), but the nochange flag is enough to
get the blasted thing out of my hair so I took them back out.
1998-06-05 14:43:42 +00:00
jkoshy
d7a9959d8d Mention that syslog.conf(5) does not log LOG_FTP messages by default.
PR: 5287
1998-06-05 10:31:24 +00:00
ache
a52f56a1c6 Fix handling more than 1 char with non-C locale
Misc. cleanup
PR: 6825
Submitted by: Sergey Gershtein <sg@mplik.ru>
1998-06-05 09:49:51 +00:00
jkoshy
6bae047a7d Mention that tftpd(8) also uses syslog(3). 1998-06-05 09:20:19 +00:00
ahasty
5f9f4f73db Reviewed by: hasty@star-gate.com
Submitted by:	 Roger Hardiman <roger@cs.strath.ac.uk>

I left out a line of code  from Roger's last patch :(
1998-06-05 08:59:11 +00:00
kato
f917ed62b3 Sync with sys/i386/isa/sio.c revision up to 1.205. 1998-06-05 08:31:01 +00:00
kato
335505550f Sync with sys/i386/conf/GENERIC revision 1.110. 1998-06-05 08:29:55 +00:00
ache
46b44ec42b Add missing uu_lock_txfr() prototype 1998-06-05 08:21:33 +00:00
julian
19ecca4528 spurious ntohs calls were stopping some packets from being recognised
for what they are..
Taken from the netatalk mailing list. from a NetBSD user.
1998-06-05 06:55:37 +00:00
steve
31e5cafbe9 Fix a spelling error.
PR:		6857
Submitted by:	Josh Gilliam <josh@quick.net>
1998-06-04 21:09:08 +00:00
steve
16359590c3 Fix a bunch of spelling errors.
PR:		6856
Submitted by:	Josh Gilliam <josh@quick.net>
1998-06-04 21:06:07 +00:00
dfr
2c20b9f8a3 Use size_t instead of u_int for sizes. 1998-06-04 17:21:39 +00:00
dfr
0d64b93547 If the filesystem blocksize is less than the VM page size, use the generic
getpages code.  This happens for filesystems with 4k pages on the alpha since
the normal alpha pagesize is 8k.
1998-06-04 17:04:44 +00:00
dfr
0f6db158a2 Don't cast a pointer to an int in DQHASH. 1998-06-04 17:03:16 +00:00
wpaul
fb5d70a2ed Darnit, that last commit was only supposed to change files in the
-current branch. I mistakenly checked out the 2.2.x rpc.ypxfrd into my
-current working directory. No harm done, but I got really confused
when I went to check out rpc.ypxfrd again and found the changes I
wanted to make were already there. (I'm going to fix the other 2.2.x
versions of the other programs in a minute.)

Anyway: protect errno in the signal handler, in the -current version
of rpc.ypxfrd this time.
1998-06-04 15:37:05 +00:00
peter
da08b9fa30 Make the whereobj target print it's output without the overhead of
starting another make..
Besides, make -V is broken, since it will print unexpanded variables.
1998-06-04 15:31:55 +00:00
peter
111df0394e Hard coded /usr/lib reference 1998-06-04 15:15:38 +00:00
wpaul
83e99bd529 Protect errno in signal handlers, like in portmap. 1998-06-04 15:11:32 +00:00
jb
98c3d99311 Build aout bootstrap tools only on i386.
`make world' now works on alpha!
1998-06-04 12:02:52 +00:00
bde
7f0abd657a Removed generated files. named used the wrong version of ns_parser.h. 1998-06-04 07:55:55 +00:00
bde
8bcaa20547 Simplified using new yacc rules. This will fix bugs when we stop picking
up a possibly stale version of ns_parser.h from contrib/bind.
1998-06-04 07:25:52 +00:00
jkoshy
fb4783cb34 Fix errors that crept into the previous commit. 1998-06-04 07:02:59 +00:00
charnier
b48ede248a Use .Pa for filenames. Use .Bl/.El in FILES section. Remove unused #includes. 1998-06-04 06:51:14 +00:00
bde
db405d6e09 Don't use beforedepend or give dependencies on generated headers explicitly.
Just put generated headers in SRCS.
1998-06-04 06:50:58 +00:00
charnier
76d66c4b07 Add section number to .Xr. Use of .Nm. Typo. Add rcsid. Remove unused
#includes. Use err(3).
1998-06-04 06:49:13 +00:00
jkoshy
324c3d8c89 1. ps' output now shows 3 characters in the TT' field, not 2, after
rev 1.6 of "ps.c".
2. Reword description of `-f' option.

PR: 5340
Submitted by: Jorge Goncalves <j@bug.fe.up.pt>
1998-06-04 06:46:13 +00:00
charnier
85da1a49c5 Correct .Nm. Spelling. Add rcsid, remove unused #includes. Add usage(). Do not
dot-terminate errx() strings.
1998-06-04 06:44:18 +00:00
dfr
7847504fb3 Add support for baudrates higher than 37800. 1998-06-04 06:43:01 +00:00
charnier
b26eae9fa5 Correct use of .Nm, use .Bl/.El in FILES section. Add rcsid. Remove unused
#includes and make it a little more -Wall-friendly.
1998-06-04 06:41:26 +00:00
bde
7ec24ba281 Removed superfluous beforedepends. Their files were already in SRCS. 1998-06-04 06:38:17 +00:00
charnier
0f045dffde Correct use of .Nm. Add section number to .Xr. Add rcsid, usage(). Use err(3). 1998-06-04 06:38:03 +00:00
charnier
0045473c45 Correct use of .Nm. Add missing .El. Add rcsid. Remove unused #include. 1998-06-04 06:35:12 +00:00
charnier
8d6229b133 Use .Ar instead of .ar. Correct incorrect use of .Sm (detected by Paul (pst)). 1998-06-04 06:30:50 +00:00
bde
1d1d3027f3 Don't use beforedepend; just put generated headers in SRCS. ldgram.h
was already put in SRCS by the general yacc rules.  Putting ldemul-list.h
in SRCS fixes races in `make -jN' when .depend hasn't been made.

Don't forget to clean ldemul-list.h.
1998-06-04 06:26:23 +00:00
charnier
6ddd45b0c1 Typos. 1998-06-04 06:25:22 +00:00
bde
1df6504378 Don't forget to pretend that `make -n -jN' makes the targets that it
says it pretends to make.

This bug was apparently harmless except for normal cases involving
.ORDER statements when it made debugging of -jN using -n very
confusing.  E.g., for:

.ORDER: beforedepend .depend
depend: beforedepend .depend

where beforedepend depends on something so that it is not initially
up to date, `make [-n] -j2 depend' causes `make' to wait for itself
to make beforedepend.  This works fine without -n.  The job to make
beforedepend has normally been started, and beforedepend is marked
as made when the job completes.  However, with -n, the pseudo-job
for making beforedepend has normally completed, and in any case
there was no chance of beforedepend being marked as made.  `make'
actually exited almost immediately with status 0 instead of waiting
forever.
1998-06-04 05:48:57 +00:00
bde
9c45180cf4 Removed special rules for lex- and yacc- generated files. The general
rules work identically, except that they actually work if the yacc-
generated header somehow becomes out of date.
1998-06-04 01:09:28 +00:00
jb
22b55f46f5 Fix my last commit which got caught in the cvs/cvsup cycle.
I'm told that I botched the tabs too. I'm not sure they are fixed now
because I find that rather tedious.
1998-06-03 22:07:26 +00:00
joerg
d5fe0276dd Use gethostname(3) to obtain the local host name, as opposed to uname(3).
Otherwise the length of the name is limited to 32 characters only.
1998-06-03 20:01:28 +00:00
peter
3a67581680 Missing DPADD's. 1998-06-03 18:57:59 +00:00
peter
ce54362206 Add missing DPADD's. 1998-06-03 18:01:04 +00:00
jkh
9359d23ab5 Add the DPT driver here. It's kinda ironic that it got enabled in -stable
first. :)
PR:		6848
1998-06-03 13:33:34 +00:00
bde
5f00ecb488 Force success of the probe (after doing it as before except in one
miscconfigured case) if the port is the console.  This fixes several
bugs:
- if all sioprobe()s failed, then the console driver followed null
  pointers in cdevsw[].
- if the sioprobe() for the console failed but another sioprobe()
  succeeded, then init hung early when the console couldn't be
  opened.
- it was silly for the console to not be there after printing boot
  messages on it.
Bugs introduced by this are hopefully no worse than old ones caused
by forcing the success of the `cn' level probe.
1998-06-03 12:30:10 +00:00