maxim
af06b6a609
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
a841b9cf18
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
55d1f63890
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
sobomax
f4675ef21f
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
ume
4c24b770e7
reject private IPv4 addrs
...
Obtained from: KAME
2002-09-17 10:56:52 +00:00
ume
e26d348adb
- 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
bde
8c5b22b9d1
Re-axe.
2002-09-17 10:03:24 +00:00
bde
09e171ef7f
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
bde
91d09bb4fb
Un-axe this so that it can be fixed before it is axed.
2002-09-17 09:57:07 +00:00
peter
635e994e37
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
0e8125a4f4
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
truckman
82973c0c8b
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
truckman
2f42fd3061
Fix a hard sentence break.
2002-09-17 08:24:15 +00:00
peter
c87022d8e3
Add stub function for cpu_set_upcall_kse()
2002-09-17 07:49:40 +00:00
peter
9e6751d1c3
#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
3fb677c0d5
Make this compile after the last kse commit.
2002-09-17 07:44:28 +00:00
peter
2586a4ce95
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
70885af57c
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
773f571480
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
4f16bebf43
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
4ccabc355a
Bandaid to stop failing on non-i386 platforms.
...
Add a big ugly #warning as a reminder.
2002-09-17 06:22:51 +00:00
fenner
dd87f608a3
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
024665d45e
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
2d57c37ab4
pid_t will be shared with at least <fcntl.h>.
2002-09-17 05:05:14 +00:00
kan
3d3147e47c
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
kan
b804ce4fd3
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
kan
35e670d11c
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
kan
beeedde8dd
Use the stock 3.2.1-prerelease file.
...
Approved by: obrien
2002-09-17 04:14:38 +00:00
kan
ff2e899178
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
kan
54ef6e72a3
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
kan
48f00f4c43
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
kan
dc1db5ec48
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
kan
d28dfe2607
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
kan
a1d331aa1f
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
kan
3669766422
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
e52ed9ae79
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
mini
43aca29e70
Use a weak symbol for signalcontext().
2002-09-17 03:15:47 +00:00
mini
4dbf5221af
Add signalcontext(), which adds a signal frame to a ucontext_t.
2002-09-17 03:11:07 +00:00
jmallett
b561096e47
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
obrien
b58b89fc83
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
a51c9b6627
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
obrien
2a4cb24fb4
Disable building of the a.out gas and ld. They will become ports.
2002-09-17 01:43:21 +00:00
bmah
7f5005b249
New release note: SA-02:39.
2002-09-16 23:02:37 +00:00
fenner
06e2d46968
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
fenner
0f0a53d15f
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
nectar
c715b040b6
Update build infrastructure after import of Heimdal Kerberos 2002/09/16.
2002-09-16 21:10:29 +00:00
nectar
ed53d8e233
Resolve conflicts.
2002-09-16 21:07:11 +00:00
nectar
a876cfedd8
This commit was generated by cvs2svn to compensate for changes in r103423,
...
which included commits to RCS files with non-trunk default branches.
2002-09-16 21:04:40 +00:00
nectar
8707f88659
Import of Heimdal Kerberos from KTH repository circa 2002/09/16.
2002-09-16 21:04:40 +00:00
jmallett
fece93f6bd
Perform keyword.c:1.27 properly, implement -orss in the New World Order of
...
ps(1) formatting, using pgtok() to get the value in K, rather than printing
it in pages. This is consistent with behaviour before keyword.c:1.26 (et al)
which exists in STABLE today, and which uses the same metric as VSZ.
Submitted by: bde
2002-09-16 20:19:51 +00:00