Hajimu UMEMOTO
f26b2d5bf2
- increment interface output counter. sync w/ netbsd-current
...
- increase if_oerrors. sync w/netbsd
Obtained from: KAME
2002-09-17 14:25:19 +00:00
Katsushi Kobayashi
a9c9b6989c
Firewire device support for Apple eMac with PPC kernel.
...
Contributed by Peter Grehan <grehan@freebsd.org>
2002-09-17 12:50:43 +00:00
Sheldon Hearn
46cdd3078f
Regen:
...
* Hart: rev 332 of pcidevs.txt (2002-09-09)
2002-09-17 11:47:53 +00:00
Poul-Henning Kamp
1e77ed827e
Add /dev/soekris-errled device to control the Error-LED on Soekris cards/boxes.
...
# turn LED off
echo '0' > /dev/soekris-errled
# turn LED on
echo '1' > /dev/soekris-errled
# flash LED (5 hz)
echo 'f' > /dev/soekris-errled
# flash LED (4/2 = 2 hz), syntax: "f[1-9]" -> .5 -> 4.5 Hz
echo 'f4' > /dev/soekris-errled
# flash digits 1,3 and 7, syntax: "d[1-9]*"
echo 'd137' > /dev/soekris-errled
Characters not understood are ignored.
2002-09-17 11:47:38 +00:00
Maxim Sobolev
563a9b6ecb
Remove __RCSID().
...
Submitted by: bde
2002-09-17 11:31:41 +00:00
Maxim Konovalov
48eaac247f
Fix vsnprintf(3) memory leak for size == 0.
...
PR: bin/36175
Obtained from: OpenBSD
Reviewed by: silence on -audit
MFC after: 5 days
2002-09-17 11:28:24 +00:00
Maxim Konovalov
1cf4349926
Explicitly clear M_FRAG flag on a mbuf with the last fragment to unbreak
...
ip fragments reassembling for loopback interface.
Discussed with: bde, jlemon
Reviewed by: silence on -net
MFC after: 2 weeks
2002-09-17 11:20:02 +00:00
Maxim Konovalov
e079ba8d93
In rare cases when there is no room for ip options ip_insertoptions()
...
can fail and corrupt a header length. Initialize len and check what
ip_insertoptions() returns.
Reviewed by: archie, silence on -net
MFC after: 5 days
2002-09-17 11:13:04 +00:00
Maxim Sobolev
3ac0ac9ea8
Don't reference cpu_fxsr unless CPU_ENABLE_SSE is defined. This fixes kernel
...
in !CPU_ENABLE_SSE case.
2002-09-17 11:12:10 +00:00
Hajimu UMEMOTO
368d90d1ca
reject private IPv4 addrs
...
Obtained from: KAME
2002-09-17 10:56:52 +00:00
Hajimu UMEMOTO
ce9d7b2f1a
- reject SIOCSIFADDR if embedded address is in private address range
...
- reject packets from private address range. from hitachi
Obtained from: KAME
2002-09-17 10:45:51 +00:00
Bruce Evans
4555d538fd
Re-axe.
2002-09-17 10:03:24 +00:00
Bruce Evans
dcfd61e65c
Make `as' compile before it is axed. It still uses the archaic BSD
...
interface setbuffer(), and emulates setbuffer() on USG systems using a
#define of setbuffer() in terms of setvbuf(). The #define is correctly
ifdefed in some places but was not correctly ifdefed here -- i.e., BSD
was essentially configured as USG here. This became fatal when <stdio.h>
was de-__P(())ified without testing. This file gets included before
<stdio.h>, so the #define now affects (and breaks)
`setbuffer<left parentheses>' in <stdio.h> where it didn't affect
`setbuffer<whitespace>'.
2002-09-17 10:01:02 +00:00
Bruce Evans
a042737eae
Un-axe this so that it can be fixed before it is axed.
2002-09-17 09:57:07 +00:00
Peter Wemm
a359c2a45c
The previous commit also removed the addition of userland include files to
...
the kernel #include path. While this was not ready at the time (sorry
folks!), it is a good thing. I think all the loose ends have been tied up
on at least for i386 (LINT compiles) and alpha.
2002-09-17 09:07:06 +00:00
Peter Wemm
d223099401
Make netatm/spans compile in the kernel without depending on userland
...
include files to provide functions for kernel source (spans_kxdr.c)
2002-09-17 08:57:52 +00:00
Don Lewis
4f0ef11192
Update man page to reflect current implementation.
...
List all of the error returns shown in the example code in the ERRORS
section.
2002-09-17 08:31:43 +00:00
Don Lewis
691d7d0915
Fix a hard sentence break.
2002-09-17 08:24:15 +00:00
Peter Wemm
2480d1854f
Add stub function for cpu_set_upcall_kse()
2002-09-17 07:49:40 +00:00
Peter Wemm
28487340f2
#if 0 out the following functions:
...
cpu_export_context()
cpu_set_args()
cpu_free_kse_mdstorage()
cpu_export_context()
2002-09-17 07:47:10 +00:00
Peter Wemm
b069d4207c
Make this compile after the last kse commit.
2002-09-17 07:44:28 +00:00
Peter Wemm
acaa156683
Argh. I've been reading makefiles for too long. Change comment to a
...
C-style comment.
2002-09-17 07:41:30 +00:00
Peter Wemm
1e19df3303
Stub out the calls to get_mcontext and set_mcontext which only exist on
...
i386. This stuff should not be prototyped in MD inludes if the interface
is expected to be MI.
2002-09-17 07:40:15 +00:00
Peter Wemm
8da4b35652
Add i386 to the list of architectures that libc_r is broken on. This
...
effectively removes pppctl from the build for now. It only compiles on
alpha now (now ironic).
2002-09-17 07:32:36 +00:00
Peter Wemm
1822cdcafe
It seems I accidently committed a change that removed the userland includes
...
from the kernel build. This broke linux_genassym on the alpha. For the
kernel, the correct place to get offsetof() is not in /usr/include/stddef.h
but rather <sys/types.h>
2002-09-17 07:22:23 +00:00
Peter Wemm
6064ca520a
Bandaid to stop failing on non-i386 platforms.
...
Add a big ugly #warning as a reminder.
2002-09-17 06:22:51 +00:00
Bill Fenner
40cfbfd508
Make _fetch_connect() always set the error code.
...
Tell ftp that _fetch_connect() always sets the error code (http already knew)
2002-09-17 05:54:33 +00:00
Mike Barcroft
117f87fe9f
Include <sys/types.h> directly rather than depending on <sys/fcntl.h>
...
to include it. This could be avoided by adding the necessary typedefs
here, or by making users of <sys/file.h> include <sys/types.h> first.
2002-09-17 05:14:09 +00:00
Mike Barcroft
f0771a984f
pid_t will be shared with at least <fcntl.h>.
2002-09-17 05:05:14 +00:00
Alexander Kabaev
c62e08e3ac
Bmake bits for GCC 3.2.1-prerelease libstdc++.
...
Connect two new source and one header file to the build.
Approved by: obrien
2002-09-17 04:23:29 +00:00
Alexander Kabaev
f92e37bda1
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.8 printf format error fixes
Approved by: obrien
2002-09-17 04:16:58 +00:00
Alexander Kabaev
acfad454a6
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.2 Localize the version number
Approved by: obrien
2002-09-17 04:15:43 +00:00
Alexander Kabaev
f40fb3f3fd
Use the stock 3.2.1-prerelease file.
...
Approved by: obrien
2002-09-17 04:14:38 +00:00
Alexander Kabaev
b8bb8eab99
Merge FreeBSD modifications into gcc 3.2.1-prerelease:
...
1.2 framework for our kernel printf enhancements
1.3 suppress prototype warning for K&R main
Approved by: obrien
2002-09-17 04:10:25 +00:00
Alexander Kabaev
ec07fe3019
This commit was generated by cvs2svn to compensate for changes in r103449,
...
which included commits to RCS files with non-trunk default branches.
2002-09-17 04:04:15 +00:00
Alexander Kabaev
10882802bb
Gcc 3.2.1-prerelease libf2c bits from the FSF anoncvs repo gcc-3_2-branch on 16-Sep-2002 13:23:11 EDT.
2002-09-17 04:04:15 +00:00
Alexander Kabaev
25fc1bebd3
This commit was generated by cvs2svn to compensate for changes in r103447,
...
which included commits to RCS files with non-trunk default branches.
2002-09-17 04:04:04 +00:00
Alexander Kabaev
20250742da
Gcc 3.2.1-prerelease C++ support bits from the FSF anoncvs repo gcc-3_2-branch on 16-Sep-2002 13:23:11 EDT.
2002-09-17 04:04:04 +00:00
Alexander Kabaev
2e88fa161b
This commit was generated by cvs2svn to compensate for changes in r103445,
...
which included commits to RCS files with non-trunk default branches.
2002-09-17 04:03:37 +00:00
Alexander Kabaev
acabf91c96
Gcc 3.2.1-prerelease from the FSF anoncvs repo gcc-3_2-branch on 16-Sep-2002 13:23:11 EDT.
2002-09-17 04:03:37 +00:00
Jennifer Yang
4a03a8a8c7
Tempary fix for inet6. The final fix is to change in6_pcbnotify to take pcbinfo instead
...
of pcbhead. It is on the way.
2002-09-17 03:19:43 +00:00
Jonathan Mini
7630ea31ed
Use a weak symbol for signalcontext().
2002-09-17 03:15:47 +00:00
Jonathan Mini
1d6e1c66b2
Add signalcontext(), which adds a signal frame to a ucontext_t.
2002-09-17 03:11:07 +00:00
Juli Mallett
760bbf7d6d
Conglomerate printing of ps_pgtok'd data into a PLONG type. I couldn't think
...
of a better name, except PINT, but I decided to go with assuming LONG to
be safe, rather than assuming INT.
2002-09-17 02:52:44 +00:00
David E. O'Brien
c696fb50b3
BANG! BANG! BANG! Put these bits out of their misery.
...
Murdered by members of: a.out.die.die.die
ELF is the 1 true path now. So make good on the src/Makefile threat that
building a.out will not be supported post 4.x. These bits should either
resurface as a port, or a new port using the latest Binutils bits. The
later will not support our SunOS-style shared a.out libs; but we shouldn't
need such support by this point in time.
2002-09-17 01:54:56 +00:00
Peter Wemm
66422f5b7a
Initiate deorbit burn for the i386-only a.out related support. Moves are
...
under way to move the remnants of the a.out toolchain to ports. As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL. It has already lasted WAY beyond
that.
Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.
Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
David E. O'Brien
4e6ef0845d
Disable building of the a.out gas and ld. They will become ports.
2002-09-17 01:43:21 +00:00
Bruce A. Mah
cf2f853a12
New release note: SA-02:39.
2002-09-16 23:02:37 +00:00
Bill Fenner
e5b04cee36
Fix documentation of clnt_control()'s CL{GET|SET}_{VERS|XID} to
...
reflect that they actually require a u_int32_t *, which is not
necessarily the same as an unsigned long *.
2002-09-16 21:45:37 +00:00
Bill Fenner
bfe95ccc17
xids are u_int32_ts, which are not necessarily the same size as time_ts or
...
unsigned longs. This fixes "ypbind -S ... -m" on sparc64.
2002-09-16 21:39:42 +00:00