Commit Graph

147190 Commits

Author SHA1 Message Date
mrg 06b50ed8b9 don't try to switch a char and have a case of EOF - use an int. 2006-05-18 18:42:59 +00:00
christos 747c268e1c Add __weak_reference macro in a way that it works with both gcc < 4 and
gcc == 4. Suggested by dsl.
2006-05-18 17:55:38 +00:00
christos 96473fa808 change __weak_extern to __weak_reference so that gcc4 works. 2006-05-18 17:54:19 +00:00
elad 79156a7347 update entry for elad-kernelauth noting it was merged and when. pointed
out by cube@ - thanks!
2006-05-18 17:39:42 +00:00
elad 56a6a2b09b don't break lkms; pointed out by hannken@ and he@, thanks! 2006-05-18 17:35:49 +00:00
elad b6894eda07 CTLFLAG_IMMEDIATE doesn't do what I thought it did. from yamt@, thanks! 2006-05-18 17:33:18 +00:00
riz 64cde4117b Use PRIu64 to format uint64_t quantities, instead of %llu, in
newly-introduced code.

XXX more %llu cleanup is needed throughout netstat code.
2006-05-18 17:19:22 +00:00
chap a24d299bb5 Add compat_30.8 man page, incorporating suggestions
by <wiz> and <pavel>.
2006-05-18 17:08:04 +00:00
cube 8ea8897b84 Fix a typo, too. Ah, people scrutinising source-changes. 2006-05-18 17:06:33 +00:00
thorpej 9e4cb79390 More cleanup. 2006-05-18 16:35:33 +00:00
thorpej eff718846c Move all of the locking compatibility definitions into prop_object_impl.h. 2006-05-18 16:23:55 +00:00
thorpej 1eaa09f21d Minor cleanup. 2006-05-18 16:11:33 +00:00
cube b44ed53c3a There is a precise syntax for CHANGES entries, and they're added at the
end of the file, not at the top.  [hi elad!]
2006-05-18 15:38:00 +00:00
tsutsui 373ffecde6 Add bus_space_*_stream_N() macros, which are identical with non-stream ops. 2006-05-18 15:37:05 +00:00
christos ca130c6a90 Explicitly mention that telldir values are only valid for the lifetime of
the DIR pointer. Pointed out by Klaus Klein.
2006-05-18 15:30:36 +00:00
tsutsui 68617d79ff Enable options MIIVERBOSE. 2006-05-18 14:45:28 +00:00
yamt b861e24c71 - fix some leaks in nfsd, introduced by kauth changes.
- simplify code.
- add some assertions.
- wrap some long lines.
- remove an unnecessary ";".
2006-05-18 12:44:45 +00:00
yamt b5420599d2 timers_alloc: use PR_WAITOK. 2006-05-18 10:09:12 +00:00
yamt 635dba4477 - nfs_export_unmount: don't forget to free exports.
- rename clear_exports for consistency.
2006-05-18 10:07:34 +00:00
liamjfoy 4876c304b1 Integrate Common Address Redundancy Procotol (CARP) from OpenBSD
'pseudo-device	carp'

Thanks to: joerg@ christos@ riz@ and others who tested
Ok: core@
2006-05-18 09:05:49 +00:00
thorpej 3e69f1b2a5 - Add prop_array_equals(), prop_dictionary_equals(), and
prop_dictionary_keysym_equals(), and prop_object_equals() functions.
- Use realloc() where it makes sense.  There will be more changes in this
  area.
- Add a _prop_object_type structure that is used internally to keep
  information about the object types.  Decreases the footprint of the
  objects slightly by replacing several pointers with just one.
2006-05-18 03:05:19 +00:00
rpaulo 25ff2bc882 Replace the way we calculate the standard deviation with the unbiased form
for non-related samples. There are several websites that explain why we
should use this form instead of the normal formula to compute the std. dev.
(Wikipedia is one of them).
Also, ping(8) (where this "new" formula came from) already does it this way
so, I'm trying to score some extra points by making both utilities behave
the same way.

Thanks to wrtstuden@ for the initial clarification.
2006-05-18 02:14:22 +00:00
perseant 758cf626b4 Don't duplicate the LFS_STARVED_FOR_SEGS check (an oversight that came
in with rev 1.210).
2006-05-18 00:57:13 +00:00
rpaulo 83dc99da2a There are no broadcast addresses in IPv6, so, kill a leftover from the
ping(8) man page.
2006-05-18 00:50:08 +00:00
drochner b5a3ca8ded remove a typecast in a macro which is used on the LHS. gcc4 doesn't like it 2006-05-17 21:35:45 +00:00
drochner 8c3c619453 Define some fixed bus addresses as "Unsigned Long" instead of
"Long Long" -- gcc4 propagates the "long long" along the way and
complains about mismatches to "long".
This is the same on alpha, but the conflict is unnecessary, so avoid it.
2006-05-17 21:32:59 +00:00
christos 441afb8953 Add regression tests from PR/24324 by Arne H Juul 2006-05-17 21:12:23 +00:00
christos cfd3aebca4 PR/24324: Arne H Juul: Re-implement seekdir/telldir using a pointer of
locations per directory instead of a global hash table to avoid memory
leak issues, and incorrect results.
2006-05-17 20:36:50 +00:00
christos 54595e9946 rename dd_rewind to dd_internal so that it can be re-used to implement
telldir/seekdir/rewinddir differently. While there change the prototype
to telldir to take a non-const DIR, per:
http://www.opengroup.org/onlinepubs/009695399/basedefs/dirent.h.html
2006-05-17 20:32:19 +00:00
perseant 48e300c97f Don't be quite so eager to error out from lfs_putpages() when pages are
busy; if we've sensed a possible 3-way deadlock and are not the pagedaemon,
relock and try again.
2006-05-17 19:47:09 +00:00
riz 737a435e3a Mark specific manpages, catpages, and info files as "gcccmds", so that
a "distribution" build with MKGCCCMDS=no and any of MKCATPAGES, MKMAN, and
MKINFO set to yes can still succeed.

Tested with two distribution builds of i386; one with MKGCCCMDS=no and
one without.
2006-05-17 19:41:34 +00:00
drochner 65f32e5703 Make the optimizer use unsigned numbers as the kernel does.
While it is not agreed on that purely unsigned arithmetics is nice,
different behaviour of optimized and unoptimized code is less desirable.
2006-05-17 17:48:36 +00:00
drochner 9b1794e109 libpcap is at 0.9.4, and so are we
tcpdump ts at 3.9.4 (we are behind here)
2006-05-17 17:36:32 +00:00
tsutsui d6eeae4a4e Add definitions for the PCI timeout and retry register. 2006-05-17 17:31:55 +00:00
christos 2f5d3a02e9 Remove csu hack. It was not a gcc issue. 2006-05-17 17:09:43 +00:00
christos 065d43d6c4 Revert previous changes which are unnecessary now the _DYNAMIC is marked
weak.
2006-05-17 17:08:54 +00:00
christos e08e654f06 Mark _DYNAMIC to have attribute __weakref__, so that gcc-4 does not optimize
&_DYNAMIC == NULL away. From Matt Thomas.
2006-05-17 17:08:07 +00:00
christos f32828209d Back out accidental commit that changed -I- 2006-05-17 17:02:16 +00:00
christos 6f1784f6d3 Fool gcc to compare against a null variable instead of the NULL constant
so that it does not optimize the &_DYNAMIC == NULL away. Idea from Matt.
2006-05-17 17:01:12 +00:00
christos 86c6d5fcc9 mention i386 csu issue. 2006-05-17 16:42:59 +00:00
christos 94b00d6e09 Avoid weak symbol related bug with _DYNAMIC not being referenced in the
code at all for gcc-4. Fixes statically linked binaries, but the fix is
bogus.
2006-05-17 16:39:25 +00:00
tron 6f601486c0 Put "mm_malloc.h" into GCC 4.x specific set. 2006-05-17 15:07:05 +00:00
christos 2854829efb Remove dup Hitler fortune. One of the two fortunes I moved yesterday, was
already in the offensive set. From a NetBSD fan who prefers to be anonymous.
2006-05-17 14:47:58 +00:00
tron b1a151a8e4 Add lmtemp(4) manual page. 2006-05-17 14:05:52 +00:00
gdamore 4ce6c587eb Move comment with caveats about this driver, and make it more prominent, as
requested by simon@.
2006-05-17 07:11:48 +00:00
gdamore 2dc15aaa84 Initial swag at flash device support. Only read/write supported, and only
read is tested now.  (I don't have a recovery option if I clobber flash on
write, so I'm loathe to test write access right now.)
2006-05-17 06:42:06 +00:00
mrg 93f5fae775 generate arm (little endian) mknative files. "evbarm" release builds,
but this is 100% untested yet.
2006-05-17 05:52:38 +00:00
mrg e172949eb7 regenerate 2006-05-17 05:33:36 +00:00
mrg 2a25c77f5b turn on -Wno-pointer-sign for label.c. 2006-05-17 05:24:25 +00:00
mrg c1c5286e41 make xscale_pmnc_write() return void, rather than returning an
uninitialised value that is not used by any caller.
2006-05-17 05:16:09 +00:00