Bruce Evans
ff5250b3e7
Fixed editing error in previous commit (*blush*).
2002-09-17 19:43:53 +00:00
John Polstra
3915eeb59d
Use consistent terminology in the usage message, the man page
...
synopsis, and the man page description ("selector" vs. "sel" and
"addr" vs. "reg").
Fix the usage message and man page synopsis to show that the "value"
argument is not optional.
2002-09-17 18:10:39 +00:00
Mike Barcroft
f1495caf2d
Don't depend on <sys/types.h> pollution in <sys/fcntl.h>.
2002-09-17 17:59:51 +00:00
Juli Mallett
362d62ba07
Rename new PLONG type to PGTOK as the conversion is more important than the
...
size (which is mostly undefined anyway).
Submitted by: bde
2002-09-17 17:13:52 +00:00
Jake Burkholder
9cf08dec12
Fix standard kse breakge of non-x86 platforms. sigh.
...
Pointy hat to: kse
2002-09-17 16:21:48 +00:00
Jacques Vidrine
24280a8fbb
Check for FD_SET overruns.
...
Approved by: peter
2002-09-17 15:52:35 +00:00
John Baldwin
63af7856ee
Only include parent directory Makefile.inc if it exists. Now you can
...
cvs co acpi and build acpi utilities w/o needing the usr.sbin Makefile.inc.
2002-09-17 14:56:23 +00:00
Bruce Evans
803e437fb0
Fixed unsorting of SRCS.
2002-09-17 14:33:23 +00:00
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