jruoho
bacb261ac9
Xref param(3).
2011-04-08 07:55:04 +00:00
jruoho
5ae9d52443
Briefly summarize <sys/param.h>.
2011-04-08 07:47:42 +00:00
jruoho
d21d7bda46
Put back the example (removed in the revision 1.3).
2011-04-08 06:55:14 +00:00
jruoho
a2963f40dc
Move the round(3) checks from 't_libm' to their own 't_round'
...
for consistency. Add -Wfloat-equal and fix comparisons.
2011-04-08 06:49:20 +00:00
jruoho
b63018ec52
Fix build failure on VAX.
2011-04-08 06:37:50 +00:00
jruoho
02dfa85f00
Remove the following (literal) text in the TNF copyrights:
...
* This code is derived from software contributed to The NetBSD Foundation
* by
*
XXX: If these originated from you and you want your name to be mentioned,
please add it.
2011-04-07 18:14:08 +00:00
jruoho
247203635d
Add few naive test cases for msync(2).
2011-04-07 17:38:02 +00:00
jruoho
a301260f35
Improve the test further so that it might trigger more often.
2011-04-07 17:33:11 +00:00
isaki
6291bfee46
Poll the next medium on both drive of #0 and #1 .
2011-04-07 13:38:21 +00:00
matt
bbaf07c722
Add a cp15 trapper to emulate the mrc/mcr instructions for the thread id
...
registers.
2011-04-07 11:02:24 +00:00
matt
f77463e13f
Add a define for pcb_user_pid_rw
2011-04-07 11:01:49 +00:00
matt
3c5c08e46b
Add __lwp_getprivate_fast
2011-04-07 10:20:29 +00:00
matt
a9de2ef0c9
Don't use the pcb anymore since the user read-only thread and process id
...
value is now grabbed from l_private.
2011-04-07 10:07:11 +00:00
matt
b6591ab3ce
Fetch user read-only thread and process id from l->l_private, not the pcb.
...
(need to g/c the pcb field formerly used for this).
2011-04-07 10:03:47 +00:00
plunky
5a4807fa7d
whitespace police
2011-04-07 08:29:50 +00:00
plunky
77d265be45
link libbluetooth tests to the build
2011-04-07 06:24:07 +00:00
plunky
38293af7ee
add tests for the following libbluetooth functions
...
bluetooth(3)
bt_aton()
bt_ntoa()
sdp_data(3)
sdp_data_type()
sdp_data_size()
sdp_get_data()
sdp_get_attr()
sdp_get_uuid()
sdp_get_bool()
sdp_get_uint()
sdp_get_int()
sdp_get_seq()
sdp_get_alt()
sdp_get_str()
sdp_get_url()
sdp_match_uuid16()
sdp_put_data()
sdp_put_attr()
sdp_put_uuid()
sdp_put_uuid16()
sdp_put_uuid2(3)
sdp_put_uuid128()
sdp_put_bool()
sdp_put_uint()
sdp_put_uint8()
sdp_put_uint16()
sdp_put_uint2(3)
sdp_put_uint64()
sdp_put_int()
sdp_put_int8()
sdp_put_int16()
sdp_put_int2(3)
sdp_put_int64()
sdp_put_seq()
sdp_put_alt()
sdp_put_str()
sdp_put_url()
sdp_set_bool()
sdp_set_uint()
sdp_set_int()
sdp_set_seq()
sdp_set_alt()
[all pass on i386]
2011-04-07 06:21:57 +00:00
dyoung
9eb9a91423
Increase SYMTAB_SPACE so that this kernel will build.
2011-04-07 04:02:29 +00:00
dyoung
3f56488c0d
Fix more const pci_attach_args fallout.
2011-04-07 04:01:40 +00:00
matt
14d704c9e9
Add a workaround for older crt0.o that overwrite r2 (tcb pointer).
...
(save tcb pointer using _lwp_setprivate in ld.elf_so and retrieve the tcb
via _lwp_getprivate in libc and use it to restore the value in r2).
2011-04-07 02:19:28 +00:00
matt
558221d2a2
Fix bogus idepth on OEA.
2011-04-07 02:05:02 +00:00
matt
1a61b7e897
Get rid of cpu_lwp_setprivate since it's not needed on powerpc.
2011-04-07 02:04:06 +00:00
joerg
8f1068802c
Compute the build seed using :hash.
2011-04-07 01:40:32 +00:00
joerg
53d81ae021
Add the :hash modifier to compute a 32bit hash of an variable.
...
This uses MurmurHash3 to get a reasonable collission-free hash with
small code. The result is endian neutral.
2011-04-07 01:40:01 +00:00
macallan
713b73c8c5
add mode setting support
...
If we find a monitor via DDC we switch to its preferred mode if it reports one,
otherwise stick with whatever the firmware set up.
2011-04-07 01:20:31 +00:00
macallan
0c7466a2ae
defflag CRMFB_DEBUG
2011-04-07 01:07:31 +00:00
jym
b793e91e75
Be more precise on the chars accepted for xxN in /etc/ifconfig.xxN
...
filenames, and ifconfig_xxN variables inside rc.conf(5).
Should fix PR misc/39376.
2011-04-07 00:22:59 +00:00
jym
d833e65927
Alright, set xvif(4) syntax once and for all. Tested with ipf(4) under
...
XEN3_DOM0 amd64.
Fixes PR misc/39376.
See http://mail-index.netbsd.org/port-xen/2011/04/06/msg006603.html
2011-04-06 23:51:55 +00:00
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