Poul-Henning Kamp
22bd43ccda
Move a few ancient minor-number definitions for tapedrives to the
...
only driver which uses them. Remove the rest.
2002-05-14 06:57:02 +00:00
Hajimu UMEMOTO
210b1d8a55
Sync with reality.
...
IPV6CTL_MAPPED_ADDR was obsoleted by IPV6CTL_V6ONLY.
MFC after: 2 days
and approved by re
2002-05-14 05:32:23 +00:00
Kenneth D. Merry
9460610494
string cleanup:
...
- fix a potential overrun made worse by rev 1.5 of camlib.h
- change strncpy() and strcpy() calls to strlcpy()
- use sizeof(string[]) instead of STRING_LEN to avoid future problems
- get rid of an unused variable
Thanks to BDE for pointing out some of the problems.
MFC after: 2 weeks
2002-05-14 04:32:02 +00:00
David E. O'Brien
4e3e26a2ed
Merge c-common.c rev 1.10 into GCC 3.1
...
Clarify that the "yields only last 2 digits of year in some locales" warning
does not apply to BSD.
Submitted by: ache
2002-05-14 01:53:53 +00:00
David E. O'Brien
8a75a69eaf
If you want to not warn on K&R main(); this is how it should be implemented.
2002-05-14 01:44:02 +00:00
David E. O'Brien
d600c96632
Tweak the include dirs w/o incurring extra warnings
2002-05-14 01:18:51 +00:00
Brian Somers
cb36028eff
Mention the ``end of output'' for each periodic script.
...
Submitted by: David Wolfskill <david@catwhisker.org>
PR: 37036
MFC after: 1 week
2002-05-14 01:15:35 +00:00
David E. O'Brien
014585d125
unexpand -a everything
2002-05-14 01:09:03 +00:00
David E. O'Brien
ee6b45631e
Quote {CC} so ccache can be used.
2002-05-14 01:00:25 +00:00
Brian Somers
a43e859d63
Calculate the number of open links properly when deciding on whether to
...
just send PROTO_IP packets when we've got only one link up in multi-link
mode.
Problem noted by: Adrian Close <adrian@fernhilltec.com.au>
MFC after: 1 week
2002-05-14 00:59:28 +00:00
David E. O'Brien
ddd36f9fac
First pass of style(9) for #define's.
2002-05-14 00:53:08 +00:00
David E. O'Brien
a353d6a0f1
Merge choose-temp.c rev 1.2 (use /tmp 1st, and then /var/tmp) into GCC 3.1.
2002-05-14 00:33:44 +00:00
David E. O'Brien
2e0c661e02
Add framework for our kernel printf enhancements.
2002-05-14 00:30:25 +00:00
Jake Burkholder
5893472b2d
Use the right byte order for unaligned stores. <blush>.
2002-05-13 22:48:01 +00:00
David Malone
d0b3489447
Make a link from fr_FR.ISO8859-1 to fr_FR.ISO8859-15.
...
Submitted by: wollman
2002-05-13 21:30:23 +00:00
Warner Losh
e9f49c9c96
BDE and I have had a chance to hash this out:
...
o Use splnet() instead of splclock().
o Use splnet() instead of splimp().
Reviewed by: bde
2002-05-13 21:17:33 +00:00
Brian Somers
e0ae8e1950
Fix a syntax error
2002-05-13 20:25:47 +00:00
Jordan K. Hubbard
ebfbe4e7fb
Add wicontrol to boot floppy until such time as this support is part
...
of ifconfig.
PR: misc/21886
2002-05-13 20:16:06 +00:00
Jacques Vidrine
02a3169302
Resolve conflicts after import of ISC BIND 8.3.2-T1B documentation.
2002-05-13 19:35:44 +00:00
Jacques Vidrine
733fb0d8d3
This commit was generated by cvs2svn to compensate for changes in r96539,
...
which included commits to RCS files with non-trunk default branches.
2002-05-13 19:33:58 +00:00
Jacques Vidrine
6e0927100d
Import of ISC BIND 8.3.2-T1B documentation.
2002-05-13 19:33:58 +00:00
Jacques Vidrine
8803a0eeb7
Resolve conflicts after import of ISC BIND 8.3.2-T1B.
2002-05-13 19:33:23 +00:00
Jacques Vidrine
c4dd49b64d
Import of ISC BIND 8.3.2-T1B.
2002-05-13 19:31:58 +00:00
Jacques Vidrine
0f9cfbb030
This commit was generated by cvs2svn to compensate for changes in r96536,
...
which included commits to RCS files with non-trunk default branches.
2002-05-13 19:31:58 +00:00
Ruslan Ermilov
475ab3cda6
Align CLEANFILES with revision 1.25 changes.
2002-05-13 16:16:00 +00:00
Ruslan Ermilov
26aace39ab
Fixed CLEANFILES after bsd.lib.mk sweep.
2002-05-13 15:48:05 +00:00
Ruslan Ermilov
2020063860
Fixed CLEANFILES after bsd.lib.mk sweep.
2002-05-13 15:28:00 +00:00
Ruslan Ermilov
12e0852a7a
CLEANFILES are too long for libc.
2002-05-13 15:23:56 +00:00
Ruslan Ermilov
cdcafd0335
Fixed CLEANFILES.
2002-05-13 15:21:51 +00:00
Bruce Evans
74f168bf7a
Fixed a semantic error. va_arg(ap, u_short) is nonsense except on i386's
...
with 16-bit ints, since u_short is promoted when it is passed to a
varargs function. gcc now warns about this. We always pass small
integers (this is well obuscated), so there are no conversion problems.
Fixed a related style bug (bogus cast).
2002-05-13 14:34:47 +00:00
Bruce Evans
5d81c9882f
Don't include <stddef.h> "For offsetof". This is not even wrong in
...
-current, since offsetof() is defined a header under /sys so that
system sources don't need to have this wrong include.
This bug was only detected because my version of <stddef.h> has some
spelling fixes (s/field/member/g) and gcc is now sensitive to the spelling
of arg names in macros as required by standards (ISO C90 6.8.3...).
2002-05-13 14:11:33 +00:00
Poul-Henning Kamp
fd3eff9c02
Add __divdi3() and __moddi3() to libstand. We will need them for UFS2.
...
Sponsored by: DARPA & NAI Labs.
2002-05-13 13:31:20 +00:00
Ruslan Ermilov
8f08b6b2ee
Ensure manpages are built with the all-man in the
...
NOMANCOMPRESS && !MANFILTER && !MANBUILDCAT case.
PR: bin/37360
Prodded by: cjc
2002-05-13 13:04:46 +00:00
Bruce Evans
a8fae7e580
Fixed syntax errors (tokens after #endif).
2002-05-13 12:55:30 +00:00
Bruce Evans
a10e4c9532
Fixed syntax errors (garbage after #endif; just editing errors in this
...
case). These errors and related style bugs swere cloned from ufs
shortly after they were committed to ufs. They were mostly fixed in
ufs long ago.
2002-05-13 12:39:46 +00:00
Ruslan Ermilov
1e27d2dc60
MAN[1-9] -> MAN.
2002-05-13 12:11:54 +00:00
Ruslan Ermilov
89a600f197
Style.
2002-05-13 12:07:57 +00:00
Ruslan Ermilov
ede5bec0ba
NOSHARED is meaningless in the bsd.lib.mk context.
2002-05-13 12:00:45 +00:00
Bruce Evans
f5d3fceede
Fixed a syntax error (a label not followed by a statement).
2002-05-13 11:53:40 +00:00
Ruslan Ermilov
7893b524b9
SOBJS are not used here for a long time, and were just
...
pessimising the `install'.
2002-05-13 11:51:11 +00:00
Poul-Henning Kamp
e6d8584942
Remove unneeded include.
...
Sponsored by: DARPA & NAI Labs.
Submitted by: mckusick
2002-05-13 11:42:27 +00:00
Ruslan Ermilov
423e9124d9
Mark all internal libraries with INTERNALLIB.
2002-05-13 11:24:03 +00:00
Ruslan Ermilov
46f8fdc34e
Removed now unused INTERNALSTATICLIB.
...
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
2002-05-13 11:09:07 +00:00
Ruslan Ermilov
2a53f3fb35
Major cleanup of bsd.lib.mk.
...
Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB.
INTERNALLIB now means to build static library only and don't install
anything. Added a NOINSTALLLIB knob for libpam/modules. To not
build any library at all, just do not set LIB.
2002-05-13 10:53:24 +00:00
Luigi Rizzo
4b9840932d
Add ipfw hooks to ether_demux() and ether_output_frame().
...
Ipfw processing of frames at layer 2 can be enabled by the sysctl variable
net.link.ether.ipfw=1
Consider this feature experimental, because right now, the firewall
is invoked in the places indicated below, and controlled by the
sysctl variables listed on the right. As a consequence, a packet
can be filtered from 1 to 4 times depending on the path it follows,
which might make a ruleset a bit hard to follow.
I will add an ipfw option to tell if we want a given rule to apply
to ether_demux() and ether_output_frame(), but we have run out of
flags in the struct ip_fw so i need to think a bit on how to implement
this.
to upper layers
| |
+----------->-----------+
^ V
[ip_input] [ip_output] net.inet.ip.fw.enable=1
| |
^ V
[ether_demux] [ether_output_frame] net.link.ether.ipfw=1
| |
+->- [bdg_forward]-->---+ net.link.ether.bridge_ipfw=1
^ V
| |
to devices
2002-05-13 10:37:19 +00:00
Joerg Wunsch
8a0ba81859
style(9) changes before further editing that region:
...
. add unnecessary parenthesis around return values
. put body of an "if" statement onto a line of its own
2002-05-13 10:28:20 +00:00
Luigi Rizzo
2f8707ca5d
Remove custom definitions (IP_FW_TCPF_SYN etc.) of TCP header flags
...
which are the same as the original ones (TH_SYN etc.)
2002-05-13 10:21:13 +00:00
Luigi Rizzo
ed81aa8668
Handle symbolic names for common ethernet types (ip, arp etc.)
...
Remove custom definitions (IP_FW_TCPF_SYN etc.) of TCP header flags
which are the same as the original ones (TH_SYN etc.)
2002-05-13 10:19:59 +00:00
Poul-Henning Kamp
05f4ff5da1
Remove register keyword.
...
Sponsored by: DARPA & NAI Labs.
Submitted by: mckusick
2002-05-13 09:22:31 +00:00
Ruslan Ermilov
07cf219647
Removed the a.out compatibility cruft.
...
libgnumalloc.so.2 and libresolv.so.2 should be put under
lib/compat/compat2?/ but I don't have the 2.x releases.
2002-05-13 09:01:18 +00:00