Commit Graph

211855 Commits

Author SHA1 Message Date
abs
5659783547 Whatever "-Wl,--fatal-warnings" get-out-of-jail-free card gcc-4.5 gets,
give the same treatment to gcc-4.1.
2012-06-25 16:48:55 +00:00
abs
315046f892 Casting an uint32_t pointer to (long *) may have been acceptable
in the eighties but that time has long past. Minimally invasive
fix using a temporary long variable, so while we can still overflow
at least we're less broken.
2012-06-25 16:47:03 +00:00
christos
f20c6fee98 rename rfc6056.h to portalgo.h 2012-06-25 15:30:16 +00:00
christos
84f52095ad rename rfc6056 -> portalgo, requested by yamt 2012-06-25 15:28:38 +00:00
christos
f0966fe6ed moved to portalgo.h 2012-06-25 14:47:55 +00:00
reinoud
67d81114c7 Implement dummy `cpu_mcontext_validate' to make it compile again. This
function needs to be implemented in the target secton one day for extra
security.
2012-06-25 14:43:54 +00:00
jnemeth
55657a2741 PR/46601 - Jim Bernard -- add support for rc_directories 2012-06-25 07:22:45 +00:00
isaki
9cdd524924 Rewrite fpu_int().
Especially, remove the special treatment when |x| < 1
because it forgets to consider FPCR round mode.
See PR/46627 for the detail.  Thanks Y.Sugahara for advice.
2012-06-25 04:52:23 +00:00
riastradh
360ba4cb54 Omit outdated cryptographic claims as noted in PR 44160.
Interested readers can follow the references or read Wikipedia; this
is the wrong place to explain cryptographic hash functions and give
security advice.
2012-06-25 02:32:12 +00:00
jym
23a2531c0e Enable the map/unmap recursive mapping functions for all Xen ports for
save/restore.

For an unknown reason (to me) Xen refuses to update VM translations
when the entry is pointing back to itself (which is precisely
what our recursive VM model does). So enable the functions that take
care of this, which will avoid all sort of memory corruption upon restore
leading domU to trample upon itself.

Save/restore works again for amd64. The occasional domU frontend corruption is
still present, but is harmless to dom0. Now we have a working shell and
ddb inside domU, that helps debugging a tiny bit.

XXX pull-up to -6.
2012-06-24 18:31:52 +00:00
alnsn
2db61b9b19 Add missing $NetBSD$. 2012-06-24 17:28:09 +00:00
mlelstv
da501d22d0 Add more debugging, fix filehandle usage, login negotiation and session
shutdown.
Add #ifdef'd code to send negotiation parameters in hex instead of base64,
so it works against older Linux targets.
2012-06-24 17:01:35 +00:00
kardel
b01c74c514 PR/44647: commit fix proposed by Takahiro HAYASHI
verified to be working in -current and also helps NetBSD-6 BETA2
2012-06-24 16:24:34 +00:00
christos
3d365e7447 fix old style definitions; XXX: gcc should have picked them up but it did not. 2012-06-24 15:26:02 +00:00
jym
39b8d4bd9a Update comment: we stopped using xcall to sync PTP between CPUs.
pmap_kpm_sync_xcall => xen_kpm_sync
2012-06-24 13:56:10 +00:00
mlelstv
af909e1586 use first successful connection to a ISNS server 2012-06-24 13:08:38 +00:00
drochner
2c8471c744 stopgap fix for recursive locking on suspend/resume
(This can be simplified imo because interrupts should be disabled
at this point.)
2012-06-24 10:06:34 +00:00
jdc
e7e6a0e935 Note that the PHY instance changes when a MII transceiver is connected. 2012-06-24 09:38:54 +00:00
jdc
b67baf6e3e PR kern/46424
Revert the part of revision 1.77 that altered the PHY attachment order.
2012-06-24 09:37:28 +00:00
kiyohara
41f4d38cf3 Flush current empty descriptor in emac_rxeob_intr(). 2012-06-24 08:39:39 +00:00
riastradh
3c457d56bb Take the kernel lock in atapibusdetach just like atapibuschilddet.
Fixes kassert in scsipi_lookup_periph when I press the power button
on one of my laptops (and maybe another one) to power it off.

ok mrg
2012-06-24 07:48:01 +00:00
wiz
0d00d3b578 Bump date for previous. 2012-06-23 23:41:25 +00:00
jdf
8efbef4b63 Clarify use of the union option for mount, as proposed in PR 45919.
Text proposed by apb.
2012-06-23 23:17:46 +00:00
jdf
17ec07bc2d * Remove spurious period in name section
* remove spurious argument to Nm macro
Patch supplied by Bug Hunting.
2012-06-23 20:49:14 +00:00
wiz
e04232a5fa Remove superfluous word. 2012-06-23 20:29:06 +00:00
abs
796b9786c8 Document DIOCTUR (test unit ready) 2012-06-23 19:14:34 +00:00
martin
6817543049 Do not assign to a const pointer, but set the value of the target variable
instead. Makes sysinst at least start up again.
2012-06-23 17:49:58 +00:00
jdc
e6facd19bf Fix multicast filter set up: we need to byte-swap the hash before writing to
the chip.  While here, remove open-coded copy of ether_crc32_le().
2012-06-23 17:21:12 +00:00
christos
a9706a560c Trying to print a function pointer as a string is likely to cause tears.
While here, don't match on the unit either
2012-06-23 14:06:02 +00:00
minoura
37abe35e51 Change to the 2-clauses license. 2012-06-23 08:48:15 +00:00
dholland
069a188b26 "appeared in", not "appeared on". 2012-06-23 05:47:50 +00:00
christos
deb57840fd new ip6 sysctls 2012-06-23 03:16:03 +00:00
christos
443eb0a284 4 new sysctls to avoid ipv6 DoS attacks from OpenBSD 2012-06-23 03:13:41 +00:00
wiz
2c4ba053cf Replace nonexistant Lx macro. Use full NetBSD version for Nx. 2012-06-22 22:54:26 +00:00
wiz
0355356981 Fix macro. Replace another one (there is no .Lx). Use full NetBSD version. 2012-06-22 22:54:09 +00:00
wiz
10258cb7fe Remove trailing whitespace. Sort errors. Bump date for previous. 2012-06-22 22:49:03 +00:00
wiz
efd86e84be Remove trailing whitespace. Use more markup. Bump date for previous. 2012-06-22 22:48:37 +00:00
khorben
f4b7eefb95 Disable azalia(4) now that hdaudio(4) was switched on
ok bouyer@
2012-06-22 22:38:39 +00:00
abs
04c1553d52 - Replace the CD_NAME definition with a CD_NAMES comma separate list,
the default remains "cd0a", but i386 sets "cd0a", "mcd0a" while vax
  takes "cd0a", "racd0a"
- Add get_default_cdrom() to disks.c, which is called in init(). This
  checks the contents of hw.disknames against CD_NAMES. The first one
  found (minus partition letter) is picked, otherwise the first entry
  in CD_NAMES is used
The primary beneficiary is vax systems with an MSCP but no SCSI CD
drive, which now default to (a valid) racd0a rather than an invalid
cd0a.  The obvious example being simh-vax
2012-06-22 20:54:39 +00:00
abs
351c7b5d8f - Add racd* devices for MSCP based CD-ROM drives (RRD40s), as opposed
to mixing them in with the ra* disks, modelled loosely on how MSCP
  rx* floppies are handled
- racd* defaults to the same single iso9660 partition as cd*
- Cleanup config option handling slightly so any combination of ra*,
  rx* (and now raccd*) can be defined without build errors.
- Avoid ugly printf when disks have all zero disklabel magic number
2012-06-22 20:42:22 +00:00
abs
86aebb49c7 Switch -current vax back to gcc 4.1 to match netbsd-6 - until someone has
time to look at the gcc 4.5 codegen issues we should at least have a usable
-current for vax.
2012-06-22 20:32:34 +00:00
christos
6072f3e5f9 add recvmmsg test 2012-06-22 18:54:00 +00:00
christos
ddf0ca0911 mention {send,recv}mmsg 2012-06-22 18:47:09 +00:00
christos
291dafda34 tests for recvmmsg 2012-06-22 18:45:23 +00:00
christos
b45bdefd7f add {send,recv}mmsg 2012-06-22 18:30:22 +00:00
christos
0826c9ae0a {send,recv}mmsg glue 2012-06-22 18:28:38 +00:00
christos
e77423410d regen 2012-06-22 18:27:25 +00:00
christos
7bee3146e4 Add {send,recv}mmsg from Linux 2012-06-22 18:26:35 +00:00
christos
bda667f3a1 remove unintended commit (this was to avoid a bug in the hme driver which
I have not been able to reproduce)
2012-06-22 15:09:36 +00:00
christos
40114b997c PR/46602: Move the rfc6056 port randomization to the IP layer. 2012-06-22 14:54:34 +00:00