Commit Graph

197699 Commits

Author SHA1 Message Date
christos 15f35154fe fix typo 2011-02-04 23:31:23 +00:00
christos afbb9156b8 Fix CVE-2011-0539:
Legacy certificates generated by OpenSSH might contain data
from the stack thus leaking confidential information.
2011-02-04 22:11:09 +00:00
christos 410e789874 bump libc for arc4random_{buf,uniform} 2011-02-04 22:09:17 +00:00
christos 6f31775ce6 bump for arc4random_{buf,uniform} 2011-02-04 22:07:41 +00:00
christos a52c04784a add arc4random_{buf,uniform}, from OpenBSD. 2011-02-04 22:07:07 +00:00
pooka 74135a6c04 Allow to specify -d hostpath offset,size with disklabel. 2011-02-04 20:06:23 +00:00
pooka 5cae2aa40c test case for PR kern/44515 2011-02-04 19:58:10 +00:00
pooka bcbc24966e convert tests from oldstyle dd rif/rof to newstyle dd | rump.dd 2011-02-04 19:44:00 +00:00
pooka 37c4e1235f Remove the rif/rof options and add rump.dd. This makes usage
consistent with other rump clients.  Copying between kernels is
done using the host pipe, e.g.:

  dd if=foo rof=bar skip=1 seek=1 => dd if=foo skip=1 | rump.dd of=bar seek=1

Also, the pipe idiom extends to copying between different rump
kernels, e.g.:

  env RUMP_SERVER=unix://srv1 rump.dd if=thefile \
      | env RUMP_SERVER=unix://srv2 rump.dd of=thefile

Pipe approach suggested by yamt (thanks!)
2011-02-04 19:42:12 +00:00
christos 41ed061fdf PR/44514: Andrey Simonenko: Buffer underflow in RPC library for non-blocking
TCP sockets
2011-02-04 17:38:15 +00:00
christos 4a4722163b knf - no functional changes 2011-02-04 17:36:54 +00:00
wiz b7b9012e09 Fix typo, already reported to roy@ 2011-02-04 16:30:32 +00:00
roy fb4dded9da Note import of dhcpcd-5.2.11 2011-02-04 15:11:12 +00:00
roy 0ce325d8e4 Work with the new routing. 2011-02-04 15:09:22 +00:00
roy 9bcc7aaf5d sync 2011-02-04 15:03:14 +00:00
roy d70ff484b5 Import dhcpcd-5.2.11
Change from dhcpcd-5.2.10 is a fix for the new routing sockets.
2011-02-04 15:00:22 +00:00
skrll ad381910bd mask should really be unsigned. it doesn't actually matter. 2011-02-04 14:51:02 +00:00
skrll 08c49536c4 Another change to suit my eye. 2011-02-04 14:35:30 +00:00
martin 82fe9809af Use RT_ROUNDUP() and friends from sys/route.h instead of homegrown
variants.
2011-02-04 14:31:23 +00:00
phx 1b0c8eddf4 Supported installation medium: FTP and NFS. 2011-02-04 12:23:08 +00:00
skrll cce7c5f4e3 A better workaround hack for PR 41448
Bound the wait loop
2011-02-04 11:00:30 +00:00
skrll df404cfbc6 Replace multiple spaces with <tab> 2011-02-04 10:56:03 +00:00
pooka 8f6aa33e32 attach the compat_50_routedomain to make it actually work 2011-02-04 09:57:53 +00:00
mrg f1ac58b963 in xcall(), use a (static) errbuf if we timeout, so we can build the whole
message up for a single call to printf_nolog().  this should get rid of
these messages that report no cpus answered.  eg:

	xcall(cpu0,0xf000868c): couldn't ping cpus:
vs
	xcall(cpu0,0xf000868c): couldn't ping cpus: cpu1
2011-02-04 09:23:00 +00:00
skrll 79aeb20cc3 Commit a hack workaround for PR 41448.
Not sure if this has any negative effects, but I'd rather have a system
that reboots than has working audio.
2011-02-04 07:44:53 +00:00
yamt 224617538d add:
./usr/lib/librumpfs_zfs_g.a
	./usr/lib/librumpkern_solaris_g.a
2011-02-04 07:32:37 +00:00
wiz 3e5e970356 Fix typo, from Henning Petersen in PR 44510. 2011-02-04 07:26:17 +00:00
uwe eacbbab1d6 Use __INTR_MASK_EXCEPTION_UNBLOCK combo. 2011-02-04 04:14:25 +00:00
uwe 03df7cc50d Since __INTR_MASK + __EXCEPTION_UNBLOCK is common sequence, provide
__INTR_MASK_EXCEPTION_UNBLOCK combo version that does stc/ldc just once.
2011-02-04 04:13:52 +00:00
uwe 9ed9e8742f __EXCEPTION_ENTRY - "tst" already does logical AND, so shave off extra
"mov" and "and" and just test PSL_MD bit directly.

While here - shuffle around instructions to construct PSL_MD to break
dependencies.

While still here - only interrupt vector uses SSR and SPC as function
args, so don't bother saving them here in r4 and r5.  Other vectors
don't need them and interrupt vector can just as well "stc" them
directly before exceptions are enabled.
2011-02-04 03:23:33 +00:00
matt 90a7a07b86 Use RT_ROUNDUP instead of a private copy since that's what the kernel uses.
(t_getaddrinfo passes for both i386 (compat_netbsd32) and amd64 with this
change).
2011-02-04 02:01:12 +00:00
rmind 3bb326c464 Fix sun2 builds. Noted by joerg@. 2011-02-04 00:19:51 +00:00
uwe 9d18d32a41 Branch with delay slot executes delay slot even if branch is not
taken, so adjust next_pc logic accordingly.  Fixes SIGILL
(breakpoint's "trapa" causes an illegal slot instruction exception)
when stepping through such branches.
2011-02-04 00:05:29 +00:00
pooka ff4f0c61df fix KASSERT snafu. spotted by tests, as usual. 2011-02-03 22:16:11 +00:00
njoly 7f5841a8aa Regen for Nvidia devices addition. 2011-02-03 22:04:09 +00:00
njoly d5d37e5239 Add a few Nvidia devices. 2011-02-03 22:03:09 +00:00
joerg 13011308e4 Explicitly initialize ucontext before calling getmcontext. 2011-02-03 21:45:31 +00:00
phx a9bb5cb76e Reworked preparation instructions and installation via altboot. 2011-02-03 21:04:52 +00:00
skrll d0958cfd17 Replace -1 with HP700CF_IRQ_UNDEF 2011-02-03 20:37:09 +00:00
drochner 0bac615281 fix some merge botch and enable cryptodev support on NetBSD again 2011-02-03 19:44:05 +00:00
pooka 34e15b860b commit works better when you cvs add first 2011-02-03 17:21:17 +00:00
pooka 6e2c74cec3 + tests/usr.bin
+ tests/usr.bin/rump_server
2011-02-03 15:39:50 +00:00
pooka f43ab2f10c add tests for the -d functionality of rump_server(1) 2011-02-03 15:38:18 +00:00
pooka 1e892b4a1f * open backend device once when the rumpblk is registered instead of
every time the virtual device is opened.  this takes care of e.g.
  a midlife chmod crisis
* when mapping initial windows, consistently look at host size and
  host offset.  otherwise we might end up in a situation with 0
  initial windows mapped, and that will cause a crash later.
2011-02-03 15:36:30 +00:00
pooka a9061c30c5 Create backing image with mode 0644 instead of 0755 & document this. 2011-02-03 11:25:27 +00:00
pooka 53c3cffec5 whoopsie, bump date 2011-02-03 11:21:43 +00:00
pooka ed37916e33 * make it possible to specify an offset in -d
* truncate -d hostpath only if it's a regular file and smaller
  than offset+size
2011-02-03 11:21:16 +00:00
pooka 4dfafdead2 weakalias the "withsize" variant of rump_pub_etfs_register too 2011-02-03 11:01:51 +00:00
pooka c6e13b7874 fix prototype, document RUMP_ETFS_SIZE_ENDOFF 2011-02-03 10:21:58 +00:00
pooka 2f1c12f11d * fix blkno->offset calculation for simulated non-512 devices
* allows transfers only in multiples of block size
* g/c unused struct member
2011-02-03 10:06:06 +00:00