Commit Graph

3584 Commits

Author SHA1 Message Date
Guido van Rooij
e523d5ae25 Unblock SIGPIPE before execv(); convert from sigvec to sigaction
Obtained from: OpenBSD
1998-05-08 19:15:44 +00:00
Guido van Rooij
34b32a7cb4 Redo tcpmux stuff. tcpmux handling is now performed after inetd
forks. Furthermore, invalid input for tcpmux does not lead to
an exiting inetd.
This patch is recommended for people running tcpmux (which is NOT
enabled by default)
1998-05-07 18:32:00 +00:00
John-Mark Gurney
2dff393b54 fix a core dump problem when you don't give -f a parameter... also compare
results of strcmp against 0 instead of !'ing results...

Closes PR: 6538
1998-05-07 14:13:16 +00:00
Brian Somers
a95587674c Make syslogd function in non-secure mode.
Log the correct ^2 packet as per the last commit comment.
1998-05-07 00:39:56 +00:00
Bruce Evans
34a4b6b422 Backed out previous backout. Put y.tab.h back in SRCS. 1998-05-06 15:27:57 +00:00
Bruce Evans
0a79d73835 Backed out previous backout.
Added y.tab.h to SRCS.  Dependencies on it were missing until recently.
1998-05-06 15:23:53 +00:00
Bruce Evans
d15d315c11 Use foo/bar.a' instead of -Lfoo -lbar' for linking to static internal
libraries, so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.

Use `DIR!= cd ...libbind; make -V .OBJDIR' to find libbind's object dir
if it doesn't seem to be in its usual place relative to ${.OBJDIR}.
This fixes `cd /usr/src/usr.sbin/nslookup; mkdir obj; make'.
1998-05-06 13:23:39 +00:00
Jordan K. Hubbard
ddb437cf93 XFree86 3.3.1 -> 3.3.2 1998-05-06 12:01:20 +00:00
Dag-Erling Smørgrav
7e5ee0f5eb Fix the search sequence for keymaps.
PR:		bin/6522
Submitted by:	Rudolf Cejka
1998-05-05 19:02:01 +00:00
Bruce Evans
a9e1ae4a62 Don't generate y.tab.h, since it is not used. 1998-05-05 13:19:13 +00:00
Bruce Evans
de1d4a81ee Added y.tab.h to SRCS. This should have been used to get dependencies
on y.tab.h generated.  It will soon be used to tell bsd.dep.mk that
y.tab.h itself needs to be generated.
1998-05-05 13:16:35 +00:00
Bruce Evans
e43e36af7d Backed out previous commit. It was tested, but not for the case where
a separate object tree doesn't exist.  Crufty makefiles will have to
put y.tab.h in SRCS so that we know not to create foo.h from foo.y.
1998-05-05 07:36:55 +00:00
Bruce Evans
b076686781 Backed out previous change. Generating vgaio.h from vgaio.y clobbered
the source file vgaio.h, and y.tab.h is used so we can't simply avoid
generating the yacc header.
1998-05-05 06:52:09 +00:00
Bruce Evans
b681d90662 Fixed races in `make -jN' using new yacc rules. 1998-05-04 20:09:06 +00:00
Bruce Evans
dd8eff227e Simplified by using new lex rules. 1998-05-04 20:00:14 +00:00
Bruce Evans
3e75029a9b Simplified by using new yacc rules. 1998-05-04 19:54:56 +00:00
Bruce Evans
caee217652 Simplified by using new lex and yacc rules. 1998-05-04 19:40:12 +00:00
Peter Wemm
eb5a057406 Put named-bootconf (the script to convert named.boot to named.conf) in
/usr/sbin rather than in /etc/namedb (make install isn't supposed to touch
/etc)
1998-05-03 05:25:09 +00:00
Peter Wemm
d12e99bb93 Add nsupdate 1998-05-03 05:17:28 +00:00
Peter Wemm
f0b57f8b59 Update for bind-8 1998-05-03 05:16:58 +00:00
Peter Wemm
1f1b520f7f Update for bind-8. Also use /proc in preference to the (seemingly) always
broken ps(1).
1998-05-03 05:14:04 +00:00
Peter Wemm
32112b0956 These are no longer shipped with bind, but are a well established
interface that's simple to maintain.
1998-05-03 05:11:52 +00:00
Peter Wemm
7193f43e18 New bind8 program 1998-05-03 05:10:23 +00:00
Peter Wemm
e730bbed7e Update for named v8 1998-05-03 05:09:13 +00:00
Bruce Evans
ccee498fca Backed out previous commit. chown(8) doesn't follow symlinks by
default, at least in BSD.  This used to be automatic, because chown(2)
didn't follow symlinks.  When chown(2) was changed to follow symlinks
in BSD4.4, chown(8) was changed to not follow symlinks by default.
The previous commit broke this.  The first victim was bsd.prog.mk,
which uses a plain chown in an attempt to change the ownership of the
symlinks to `dm' in /usr/games.  This fails when it is done before
dm is installed, or messes up the ownership of dm if dm is installed.

Unfixed problems:
1. When lchown(2) was implemented, chown(8) wasn't changed to implement
   the historical behaviour of changing ownership of symlinks.  I'm not
   sure if it should have been.  The -HLP options give more complete
   control, but they unfortunately don't apply unless the -R option is
   specified (a problem shared with other commands, e.g., cp; I guess
   we're supposed to use -R even for non-recursive traversals).
2. If we implement the historical behaviour, then -h would become a no-op
   and should be left undocumented.
3. The man page suggests that without option -h, all symlinks (to files
   specified in the command line?) are followed.  It's not clear what
   "the file" is.  These bugs were introduced when -h was documented.
4. The correct interaction of -h with the other flags is not clear.
1998-05-03 04:17:48 +00:00
Wolfgang Helbig
3dd0615ba4 Don't ignore symbolic links in the absence of -h, -H or -L options.
Instead change the user ID/group ID of the file that the link points to.
1998-05-02 12:57:57 +00:00
KATO Takenori
c090df3958 Support PC-98 machine. 1998-05-02 01:57:39 +00:00
Bruce Evans
91d56ec1d0 Undouble. 1998-05-01 15:51:23 +00:00
Bruce Evans
2be57ccd0c Removed self-inclusion-prevention ifdef. It is unnecessary now that
bsd.man.mk doesn't include ${.CURDIR}/../Makefile.inc.
1998-05-01 15:39:46 +00:00
Peter Wemm
732aba2af7 Don't give examples or use the depreciated usage to nfsd
PR: 5635
1998-05-01 13:45:04 +00:00
Bruce Evans
607b5242b2 Fixed syntax error for `make checkdpadd'. libfl.a should never be
used.  ${LIBFL} is set to a weird value in an attempt to inhibit
its use, but only breaks properly in some contexts.

Fixed the usual style bugs for DPADD and LDADD (disorder, and += for the
initial assignment).
1998-04-28 05:31:41 +00:00
Bruce Evans
22450dd8c1 Fixed `make -j9' by putting generated headers in ${SRCS}. Removed bogus
dependencies of generated .c files on generated headers (these made
`make -JN' work provided `depend' was made first).  Sorted sources lists.
1998-04-26 16:31:14 +00:00
Tor Egge
dae3e4e603 Don't clobber errno when reaping child processes. 1998-04-26 01:00:00 +00:00
Tatsumi Hosokawa
9b473222be Keywords "iosize" and "memsize" are unused since 1.5. Removed. 1998-04-25 18:10:10 +00:00
Tatsumi Hosokawa
af5311ffe2 #define'd KWD_XXX for keywords. 1998-04-25 17:52:15 +00:00
Brian Somers
6a596579bc Quieten gcc-2.8.1 1998-04-25 09:16:23 +00:00
Brian Somers
c2f3ec0b46 Fix diagnostic typo. 1998-04-25 00:20:23 +00:00
Poul-Henning Kamp
c46308e85c Augment the last change after some deliberation with rgrimes & peter.
It is important that we keep the ability to send packets to a remote
server and that the packets come from our well-known port, also in
that case.

Reviewed by:	peter, rgrimes.
1998-04-24 17:32:23 +00:00
Dag-Erling Smørgrav
d35f47a331 There is no "rwho" service, it's "who"
PR:		bin/6396
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-23 19:12:41 +00:00
Bruce Evans
5ad02d9ef4 Don't generate code with syntax errors (hard newlines in string constants
in config.c).
1998-04-23 16:37:06 +00:00
Poul-Henning Kamp
94a60328c1 Even with '-s', syslogd still creates an AF_INET socket, although
it is not bind(2)ed.

PR:		6366
Reviewed by:	phk
Submitted by:	Soren S. Jorvang <soren@dt.dk>
1998-04-22 06:28:18 +00:00
Robert Nordier
be1f43797a Spelling/typo fix: (proccessed). 1998-04-20 20:57:16 +00:00
Robert Nordier
cf2484d78c Spelling/typo fixes: (proccessed, og). 1998-04-20 20:55:43 +00:00
Nate Williams
d0c0b545a7 - Argh, fix stupid logic error in the laststate/state fix previously. That's
what I get for trying to do too many things at once.
1998-04-20 16:24:03 +00:00
Bruce Evans
02bbe20fc1 Don't build files at install time (just to be consistent; the problem
is almost harmless here).

Submitted by:	Arne Henrik Juul <arnej@stud.math.ntnu.no>
PR:		6330
1998-04-20 15:28:02 +00:00
Nate Williams
2d4c8d9d6c - Don't try and keep track of the previous state, since the kernel may
change it w/out informing the program.  Instead, use the (now available)
  previous state returned by the kernel to make intelligent card
  removal/insertion decisions.
1998-04-20 15:24:28 +00:00
Dag-Erling Smørgrav
4970253b4f fd(4) referenced in HISTORY has nothing to do with floppy disks;
changed to fdc(4).
1998-04-20 11:34:47 +00:00
Jordan K. Hubbard
4f43ad3744 Note usage of Linux PLIP peer. 1998-04-20 06:18:36 +00:00
Nate Williams
8ff8eb13f7 MF22: Finish fixing 'looping' bug. 1998-04-20 05:42:26 +00:00
Nate Williams
c4bf475b75 - If we see a tuple we don't expect, don't spin forever. Withouth this fix,
I can't run pccardc dumpcis on my Wavelan card. :(

Obtained from:	PAO
1998-04-19 18:41:45 +00:00