199656 Commits

Author SHA1 Message Date
christos
962e9ad63f fix long double infinity. 2011-04-06 21:55:36 +00:00
christos
3b8a1d51ed CVE-2011-0997 dhclient: insufficient sanitization of certain DHCP
response values. Apply patch by hand from the 3.1-ESV-R1 release.
2011-04-06 20:24:16 +00:00
jruoho
93c4b96c53 Fix and improve as per suggestions from njoly@. 2011-04-06 19:09:16 +00:00
phx
e08320b5eb Enable all known RTC drivers. The correct RTC will automatically be chosen as
an I2C device, depending on the NAS model.
2011-04-06 18:12:15 +00:00
jruoho
64cf2356be Add a test case for the segfault reported in PR lib/43964. 2011-04-06 17:41:27 +00:00
jruoho
710017dde4 As per PR lib/44818, remove 'lib/libpthread/t_status'. It takes two minutes
to rewrite this properly if someone misses this.
2011-04-06 16:04:16 +00:00
tsutsui
c2d1bbc260 Move intr_init() (which initializes evcnt(9) for interrupts)
from early machdep.c:mach_init() to autoconf.c:cpu_configure().

evcnt_init() isn't called yet when mach_init() is invoked from locore.S
and interrupts won't be enabled before cpu_configure(9).

Problem reported by Erik Bertelsen on port-pmax:
http://mail-index.NetBSD.org/port-pmax/2011/04/06/msg000093.html
2011-04-06 15:31:08 +00:00
tsutsui
56f894e4bc Make this compile with options DEBUG. (PRId64 for time_t) 2011-04-06 14:51:12 +00:00
tsutsui
3a5aec4b4e Sync with mipsX_subr.S:
>> Rename kernel_tlb_miss to kern_tlb_miss (everything else kern_xxx)
2011-04-06 14:12:36 +00:00
tsutsui
a46a76ec3e Sync with locore_mips1.S:
>> Load pc into ta0 instead of ra and then saving to ta0.
2011-04-06 14:04:32 +00:00
tsutsui
fb48dc859c Fix build error in previous:
>> ../arch/mips/mips/locore.S:632: Error: register value used as expression
2011-04-06 13:30:33 +00:00
jruoho
c212c60925 Mark this also as expected failure. 2011-04-06 10:06:49 +00:00
jruoho
9827f0b4f3 Formally verify the numerous bugs in humanize_number(3).
From PR lib/44097, by yamt@.
2011-04-06 10:04:53 +00:00
jruoho
e254abd58b A test case for PR lib/44057. 2011-04-06 09:35:49 +00:00
roy
57772bc81d import dhcpcd-5.2.12 2011-04-06 09:11:08 +00:00
roy
e21138bdbf Sync 2011-04-06 09:09:05 +00:00
roy
a2af890d85 Import dhcpcd-5.1.12 with the following changes:
* 20-resolv.conf now uses the correct variable for $IF_METRIC
* Exclude interface values when dumping the lease
* Parse static value subnet_mask when it exists instead of deriving from
  ip address
* logger calls now resemble dhcpcd calls to syslog(3)
* Reject offered IP address if INADDR_BROADCAST or INADDR_ANY
* Change the route if source address has changed
* Note the address we are requesting in the broadcast log entry
* When operating on one interface, respect the timeout for in dhcpcd.conf
* Escape | and & characters before passing the value to the shell
  Ensure we set a valid hostname, DNS domain and NIS domain.
  Document the need for input validation in dhcpcd-run-hooks(8).
  Fixes CVE-2011-996
  Based on a patch to dhcpcd-3 by Marius Tomaschewski <mt@suse.de>
2011-04-06 09:06:41 +00:00
jruoho
e21f0b912e As there is PR lib/42587, mark tiny POSIX error as expected failure. 2011-04-06 08:47:55 +00:00
jruoho
6e3ec5b1a3 Fix PR # 41894. 2011-04-06 08:38:43 +00:00
jruoho
e4898fb179 Include stdint(3) for user space. Fixes PR # 39744. 2011-04-06 08:15:44 +00:00
jruoho
2ae856efaa Verify the existence of PR lib/33262. 2011-04-06 07:25:34 +00:00
jruoho
e519fcc23a Add heuristic evaluation of PR kern/30115. 2011-04-06 06:46:14 +00:00
jruoho
03fcec4259 Fix comment due explicit atf_tc_expect_fail(). 2011-04-06 05:56:05 +00:00
matt
8c807efebc minor cleanups. foo -> foo_p. add some whitespace. 2011-04-06 05:53:27 +00:00
jruoho
8cbe414029 Add few simple tests for getrusage(2), including heuristic for PR # 41734. 2011-04-06 05:53:16 +00:00
matt
50afc312ee A little constification.
Add MIPS 1004K entry.
2011-04-06 05:50:39 +00:00
matt
90086ecf83 Use the new COP0* stuff in cpuregs.h 2011-04-06 05:48:35 +00:00
matt
011b9dfc63 slight reordering. no functional change. 2011-04-06 05:47:54 +00:00
matt
e59e9990e5 Add a tiny bit of whitespace. 2011-04-06 05:43:11 +00:00
matt
ff7f1cb0e1 Fix some comments. 2011-04-06 05:42:45 +00:00
matt
7c88f4863a Fix LKM/MODULAR case. 2011-04-06 05:42:21 +00:00
jruoho
789c04236c Note also KASSERTMSG(). Small markup changes. 2011-04-06 05:40:18 +00:00
matt
72dfff31fe Load pc into ta0 instead of ra and then saving to ta0.
misc comments fixes.
2011-04-06 05:39:51 +00:00
matt
1790477f41 Sort LWP fields 2011-04-06 05:38:19 +00:00
matt
0c8ae5bb18 Don't bother saving T8 (MIPS_CURLWP).
Avoid branches when determining delay slot.
2011-04-06 05:37:59 +00:00
matt
0d18afd259 Fix a bug with pmap_remove_all and pmap_deactivate. Should prevent any
pmap_activate from allocating an ASID while doing pmap_remove_all XXX.
2011-04-06 05:35:37 +00:00
matt
4bb672436e Remove dead code.
KNF cleanup.
2011-04-06 05:33:07 +00:00
matt
86cc1c53e6 Change a KASSERT to KASSERTMSG 2011-04-06 05:23:59 +00:00
matt
bd363a3179 Rename kernel_tlb_miss to kern_tlb_miss (everything else kern_xxx)
Don't load k1 in delay slot to MIPS_CURLWP before branching to
kern_gen_exception since that doesn't use the lwp pointer in k1
(since it can the lwp in MIPS_CURLWP instead).  Use nop instead.
Rework tlb_invalid_exception a bit so the result of the tlbp is
done before seeing if the tlb slot was even or odd.  Makes the
routine slightly smaller.
2011-04-06 05:13:36 +00:00
matt
dc2f9d8cf0 Indent delay slots by a space. 2011-04-06 05:07:40 +00:00
jruoho
1640c99fcf Remove redundant memset(3) calls. 2011-04-06 03:47:14 +00:00
dyoung
9aa93a16e8 Fix target 'tags'. 2011-04-06 01:49:23 +00:00
dyoung
4867aaab9f Fix fallout from pci_attach_args constification. 2011-04-06 01:48:43 +00:00
dyoung
b1084717a7 Fix pci_attach_args constification fallout. 2011-04-06 01:44:45 +00:00
dyoung
8080811d3e Fix target 'tags'. 2011-04-06 01:43:13 +00:00
dyoung
67ce16669f Fix fallout of pci_attach_args constification. This should be the last
one for algor.
2011-04-06 01:37:59 +00:00
dyoung
3a4f5f68fa Fix fallout from pci_attach_args constification. 2011-04-06 01:32:06 +00:00
dyoung
4934592d44 Fix target 'tags'. 2011-04-06 01:31:20 +00:00
dyoung
10db401f9d Fix fallout from pci_attach_args constification. 2011-04-06 01:25:18 +00:00
dyoung
92b62812ca Fix target 'tags'. 2011-04-06 01:24:43 +00:00