Commit Graph

177411 Commits

Author SHA1 Message Date
wiz ce889b3001 Bump date for previous. Sort ERRORS. 2009-01-28 08:57:02 +00:00
lukem afa4cb0e7f Rework how reading keys functions so that key lookups from hash databases
works again.  (I accidentally broke that in rev 1.15)
Fixes problem noted by Masao Uebayashi.
2009-01-28 05:48:49 +00:00
lukem 1a5f8e0d09 update documentation to reflect reality:
* read mode supports -D for btree
* all modes support -U
2009-01-28 05:31:18 +00:00
roy 91a82603f0 dhcpcd-4.0.8 imported 2009-01-28 05:25:19 +00:00
roy 12dbb39b5a Import dhcpcd-4.0.8
Changes since dhcpcd-4.0.7:
 * broadcast address correctly set for hooks
 * respect renewal time if given but rebind time is not
 * nohook 20-resolv.conf works as well as nohook resolv.conf
 * short hostnames are now sent
2009-01-28 04:46:01 +00:00
agc 8da84dc021 Abstract away all the %zu uses, and use a symbolic constant for them.
With thanks to uwe for the information to make this portable.

Expose the ops_memory_t structure, since we're now using it outside
its own source file.

Various cosmetic changes, mainly for debugging purposes.
2009-01-28 01:29:15 +00:00
agc ff02cd3e84 Use some symbolic constants where possible - take some of the magic out
of this.

Make the --list-keys command work again.
2009-01-28 01:24:49 +00:00
njoly f024404c50 Do not call put_type() but use copyout() when returning the message
segments to the user.

ok by rmind.
2009-01-28 00:59:03 +00:00
njoly 73abc6838e Revert the previous packed attribute fix. Instead make netbsd32_time_t
of type netbsd32_int64 which provides a 64-bit value with a 32-bit
alignment.

Suggested by dsl.
2009-01-28 00:43:04 +00:00
njoly f01722c17f Make netbsd32_timespec/netbsd32_timeval structures packed. This fix an
alignment problem between 64-bit kernel and 32-bit userland versions,
which ended in different structure sizes.
2009-01-28 00:02:39 +00:00
christos 97dd172550 add a couple of include files 2009-01-27 22:36:48 +00:00
christos e5b8d3235c remove extra variable 2009-01-27 22:00:12 +00:00
christos decf940784 factor out common reset code. 2009-01-27 21:59:24 +00:00
dyoung 6ebb93d58e Protect against spurious "bnx0: Double mbuf allocation failure!"
panics.

Extract a new function, bnx_add_buf(), from bnx_get_buf().
bnx_add_buf() just tries to add an mbuf to the Rx chain.  bnx_get_buf()
tries to allocate an mbuf, first, and then to add the mbuf to the
chain.  Use bnx_add_buf() to try to put an mbuf that we took off
of the chain back onto the chain, and use bnx_get_buf() everywhere
else.

This change seems to be in keeping with the author's intent, but
it looks like the code broke at some point.

Thanks to Jarle Greipsland, David Dudley, and others for reporting
this bug and for testing patches.
2009-01-27 21:15:38 +00:00
ad 454c144aec Make previous compile. 2009-01-27 21:13:57 +00:00
martin f055e18205 Centralize fpu exception to siginfo code encoding for all m68k archs,
fixes a failure in the lib/libc/ieeefp/except regression test.
2009-01-27 20:30:12 +00:00
martin f7d75c4a14 fix include path in previous 2009-01-27 20:12:19 +00:00
martin 071773c11c Move FPSR_ register bit definitions into their own file 2009-01-27 20:03:12 +00:00
martin 2a9360026c The FE_* constants are used verbatim to set the RND field in the FPCR
register - so FE_UPWARD needs to be 3 and FE_DOWNWARD 2 - otherwise
our libc code for fpsetround(), fpgetround() and __flt_rounds() would
need to be adjust (and become slower). This fixes a failure in the
lib/libc/ieeefp/round regression test.

OK: matt
2009-01-27 19:04:39 +00:00
tnn c7c8fe9828 Fix previous. That should of course be %zu. 2009-01-27 17:15:26 +00:00
christos f6ce57fa5b fix typo. 2009-01-27 16:53:42 +00:00
christos 7842bfc111 check for memcpy too 2009-01-27 16:50:08 +00:00
christos 49d8963a92 we have memcpy and port.h needs it. 2009-01-27 16:22:58 +00:00
christos 55113bafff Attempt to force resets using two more methods:
1. Reset Control register at I/O port 0xcf9
2. Fast A20 and Init register at I/O port 0x92

Requested by ad@
2009-01-27 16:13:13 +00:00
tnn b7888d42fa use %zd for size_t 2009-01-27 15:34:39 +00:00
pooka 8b70996e1b * read TCP sockets in cluster-sized chunks instead of IP_MAXPACKET.
(it might be a better to chain a few clusters into the iov
   instead of just one since we are making the syscall anyway)
* don't overwrite the useful error value
2009-01-27 13:40:16 +00:00
skrll fd24e60b98 From OpenBSD:
apparently my understanding of '{FLT,DBL,LDBL}_{MIN,MAX}_EXP' ahs
been wrong and thus proven by many and there change it back to
what it is meaning explained in http://www-ccs.ucsd.edu/c/float.html .
also fix spmath to use it's own consts instead of (now) off by one
float.h values thus to avoid any kind of binary changes.

Fixes regress/lib/libc/ieeefp/nan
2009-01-27 11:49:54 +00:00
pooka afe25e2049 Hold softnet_lock only when we need it. 2009-01-27 11:37:42 +00:00
tsutsui 398fb3fdca - use device_t and cfdata_t
- rename variables for readability after device_t/softc split
- use proper pointer types

No binary changes.
2009-01-27 11:26:15 +00:00
haad a4e585254c Add support for lvm to security script. Backup lvm configuration to /var/backup/lvm with other system backups. Disable lvm check until MKLVM is enabled by default. no objections on tech-userlevel@. 2009-01-27 10:32:18 +00:00
pooka ac23346377 set error if anonmmap fails 2009-01-27 10:05:08 +00:00
pooka bd401b81df Instead of dynamically allocating and freeing the rumpuser async
io descriptors, just allocate an array statically and be happy.

Fixes a problem found by Arnaud Ysmal where a descriptor would be
allocated using kmem_alloc(9) and free'd using free(3).
2009-01-27 09:14:01 +00:00
markd 70250ff52e Add some more Intel G4X class chipsets. Also fix gtt_size for G4X chipsets.
Partially from FreeBSD.   There is still an issue here as G4X chipsets
report an aperture size of 0.
2009-01-27 08:39:33 +00:00
markd 0c11bd236a Add some more Intel G4X class chipsets 2009-01-27 08:34:45 +00:00
markd be346f80ff Add Analog Devices AD1984A and treat like AD1984. 2009-01-27 08:23:00 +00:00
markd 7c98b7ee1a Add i82567LM-3 2009-01-27 08:18:04 +00:00
markd 152cb9db85 regen 2009-01-27 08:07:43 +00:00
markd a62cbc5202 Add Intel 82567LM_3 ethernet 2009-01-27 08:04:54 +00:00
mrg 9163b8603e normalise a comment. 2009-01-27 06:57:59 +00:00
mrg 798e718222 fix a very old resolver bug:
when looping over the current list of sockets we're connected to,
use getpeername() not getsockname() to find out who the remote
end is.  avoid spurious close()s and (rare) failure.

apparently known as ISC bug #18625, and fixed in libbind 6.0
2009-01-27 05:13:23 +00:00
agc ed31bb989a The existing code has problems verifying a signed file which is more
than 8192 bytes long, as the callback data simply assigns any data it
receives to a buffer, and then calls the hash function on that buffer
when EOF is reached.

Use an inefficient temporary workaround for this by holding the memory
in a temporary buffer in the callback argument structure.
2009-01-27 02:25:13 +00:00
pooka 8871312c01 Init rumpspl rwlock spinlock. Otherwise pthread_spin routines just
return EINVAL and result in not protecting what they are supposed
to protect.  This results in the counter value getting corrupted
and asserts firing.

Problem reported by Arnaud Ysmal.

While debugging this, take the opportunity to remove explicit
pthread_t comparisons and put everything under pthread_equal().
2009-01-26 19:34:12 +00:00
skrll 18a365911a Don't corrupt %r4 - it's a callee save.
Fixes regress/lib/csu/initfini on hppa.
2009-01-26 18:39:47 +00:00
tteras 98b638ac57 Argument parsing needs lcconf initialized. 2009-01-26 18:13:06 +00:00
apb 69a442fa50 Define HAVE_STRUCT_DIRENT_D_NAMLEN in config,h, and test it when
deciding whether to use entry->d_namlen or strlen(entry->d_name).
Addresses PR 40477 by Robert Millan.
2009-01-26 17:32:41 +00:00
christos 744913a534 fix defs.h building. 2009-01-26 16:30:14 +00:00
christos b9525db03f PR/40480: George Abdelmalik: Don't redefine _FORTIFY_SOURCE if it is already
defined.
2009-01-26 15:09:56 +00:00
drochner 92b9f070f2 remove stale getdevmajor() declarations, fixes lint(1) warning
reported by Bernd Ernesti
2009-01-26 15:05:56 +00:00
pooka 6aa12aa856 allocate proc_lock 2009-01-26 14:41:28 +00:00
pooka 5885120155 Init pool subsystem iff RUMP_USE_REAL_ALLOCATORS is defined. 2009-01-26 14:35:50 +00:00