147413 Commits

Author SHA1 Message Date
jnemeth
13eb323a11 Coverity CID 3447: Add extraneous checks to shut up Coverity. 2006-05-23 22:35:20 +00:00
peter
a3fa0e8e3f Initialize h4 and h6 to NULL.
Fixes a panic reported by Mipam on -current-users.
2006-05-23 22:24:32 +00:00
jnemeth
34d9535669 Coverity CID 829: Possible dereference of NULL pointer. 2006-05-23 21:52:55 +00:00
bouyer
b06932d37f Add a network backend driver for Xen3. This will appear as a xvif pseudo
device in kernel config files.
2006-05-23 21:10:42 +00:00
bouyer
a4fe55530f Don't forget to softintr_disestablish() when destroying a xvif. 2006-05-23 21:09:37 +00:00
bouyer
237137c875 Add needed framework for backend drivers.
As we want some control on the name the backend driver will have we
can't use autoconf(9) here. Instead backend drivers registers to
xenbus, which will call a create callback when a new device is there.
Backend devices won't have a "struct device" in xenbus, use a void pointer
instead.
2006-05-23 21:07:56 +00:00
gdamore
86b54ed307 Increase size of embedded symbol table. 2006-05-23 20:28:05 +00:00
mrg
512fbc0a03 - include <stdlib.h> and <string.h> where appropriate
- s/void volatile/void/ for a funtion return type
2006-05-23 20:11:10 +00:00
mrg
0f0f2b4e93 in _rtld_bind() initialise new_value for GCC4. 2006-05-23 16:27:41 +00:00
rpaulo
f6e31a1aa2 Fix carp_stats() prototype location.
Noticed by Iain Hibbert.
2006-05-23 14:31:11 +00:00
rpaulo
ff3f0e34cc In ip6_savecontrol(), ignore IPv4 packets.
From JINMEI Tatuya (KAME). Should fix PR 33269.
2006-05-23 14:20:56 +00:00
mrg
5eebeb71e5 generate options.h like we do for gcc4/backend. so far only seems to
be strictly necessary for powerpc so allow the old MI defs.mk to be
used if a MD one does not exist.  when all platforms are regenerated
this support can be removed along with libobjc4/defs.mk.
2006-05-23 10:59:03 +00:00
mrg
445a28d54e also grab ALL_OPT_FILES from gcc/Makefile for libobjc4. 2006-05-23 10:55:55 +00:00
pavel
8f6c91f9fd Enable the gsip driver. Worked when I (lightly) tested it.
No objections on port-sgipips@.
2006-05-23 08:18:35 +00:00
christos
4c1a6c8705 Coverity CID 3671: Cast close to void and don't close negative fds. 2006-05-23 01:36:36 +00:00
uwe
828f707790 Add more "static" so that only j6x0tp_ca (and j6x0tp_debug) are visible. 2006-05-23 01:34:49 +00:00
christos
1dc235cd39 Coverity CID 2448: Remove extra NULL check. 2006-05-23 01:29:31 +00:00
christos
ae76bda7d7 Coverity CID 3227, 3226: Don't leak fd's 2006-05-23 01:23:49 +00:00
christos
ce35e5d7d7 Coverity CID 1567: Don't leak memory. 2006-05-23 01:18:19 +00:00
christos
1c2d89173e Coverity CID 2534: Avoid use after free; this cannot really happen, but
coverity cannot figure it out.
2006-05-23 01:16:33 +00:00
christos
1fc5ea78ff Coverity CID 3184: Don't dereference NULL 2006-05-23 01:11:12 +00:00
christos
d257792f4a Coverity CID 3187: Fix memory leak 2006-05-23 01:07:16 +00:00
christos
e73d73289c Coverity CID 3287: Comment out dead code. 2006-05-23 01:03:16 +00:00
christos
4d02435f76 Coverity CID 3677: Plug memory leak 2006-05-23 00:58:42 +00:00
yamt
be46b8e46c KNF. wrap a long line. 2006-05-23 00:43:30 +00:00
wiz
6f524b4705 Punctuation nit. 2006-05-22 21:55:01 +00:00
kleink
bf44a81954 Clarify that strerror() doesn't return EINVAL but stores in errno;
prompted by Thomas Klausner.
2006-05-22 21:40:33 +00:00
uwe
497c1ccc27 Provide __movmem* aliases to __movstr* functions.
Gcc4 uses movmem, older versions use movstr.
2006-05-22 21:34:08 +00:00
rpaulo
46ecc3073d First round at adapting to our net80211 stack. Unfinished work, but at least
won't make the machine panic.
2006-05-22 21:01:15 +00:00
uwe
9001bc2fd8 G/c #ifdef PIC we inherited from the userland. 2006-05-22 20:56:44 +00:00
he
c6974f26a9 Use the value-returning variants of the 64-bit endian macros instead
of the argument-tweaking variants (e.g. htobe64 instead of HTOBE64).
2006-05-22 20:48:08 +00:00
uwe
24172f6f4d #include <dev/wscons/wsksymvar.h> as gcc4 doesn't like arrays,
pckbd_keydesctab[] in this case, with incomplete element types (older
versions of gcc allow them as long as you don't try to access them).
2006-05-22 20:40:07 +00:00
uwe
5ea47b2f6b That cast doesn't need to add const. 2006-05-22 20:17:03 +00:00
uwe
5efcb4b549 Use proper cast instead of gagging gcc4 with -Wno-pointer-sign. 2006-05-22 20:06:54 +00:00
drochner
eb92277cd7 sprinkle some __noreturn__ attributes, saves gcc4 warnings elsewhere 2006-05-22 19:49:09 +00:00
drochner
2f959928c8 make sure bswap64() returns an uint64_t, not an unsigned long long,
which is incompatible for gcc4 on alpha at least
2006-05-22 16:28:27 +00:00
yamt
7445825948 i386 and xen: move struct user to the highest address in uarea
and reduce UPAGES from 4 to 3 in the case of !NOREDZONE.
2006-05-22 13:44:53 +00:00
yamt
1075c99d89 introduce macros, UAREA_TO_USER and USER_TO_UAREA,
to convert uarea VA into a pointer to struct user and vice versa,
so that MD code can change the layout in uarea.
2006-05-22 13:43:54 +00:00
yamt
b43dc97b09 use consistent order of function specifiers and type specifiers.
(int inline -> inline int)
2006-05-22 12:42:01 +00:00
dan
450da78dd9 the intention of the whole tip-as-cu thing was to allow tip-as-cu and
have a cu command installed, even when the rest of uucp was removed
via MKUUCP=no.  The old uucp-derived cu is no more, and is not
installed in either case.

make it so, by correcting some confusion that had made the non-uucp
tip-as-cu cu conditional on MKUUCP
2006-05-22 12:32:20 +00:00
mrg
d6b63d330d use "j" instead of "ll" for intmax_t and friends.
XXX: we should probably use "j" for all(?) other platforms as well
(just for intmax_t and friends.)
2006-05-22 07:38:41 +00:00
mrg
ad76e73707 apply -Wno-pointer-sign to tp.c. 2006-05-22 07:36:52 +00:00
mrg
13f78de634 add NULLFS and re(4) (both tested.) 2006-05-22 07:20:18 +00:00
uwe
d5328b65a0 Enable -Wold-style-cast for sh3 now that its stadarg.h doesn't use LHS casts. 2006-05-22 00:43:04 +00:00
christos
770d099190 add void casts. 2006-05-22 00:09:34 +00:00
christos
35c4405d50 void casts. 2006-05-22 00:09:08 +00:00
christos
fe6055587f void casts to functions whose return values are ignored. 2006-05-21 23:56:09 +00:00
christos
b0eb4bc8ee Remove packed attributes gcc-4 dislikes. 2006-05-21 23:55:22 +00:00
uwe
943edbd0d8 Nuke va-sh.h. stdarg.h and varargs.h now use __builtin_va_*. 2006-05-21 23:14:13 +00:00
cube
d897e3cfdb Include <sys/kauth.h> because it's needed. 2006-05-21 22:51:27 +00:00