Commit Graph

201758 Commits

Author SHA1 Message Date
njoly
6e845fb5bc mkdep(1) needs cc(1). Make testcase check for them. 2011-06-14 11:44:25 +00:00
kefren
9b733c1c9d * add no-default-route option into configuration file and check it before
rejecting default-route
* exit process in case of error into the main loop
* complete FSM for RTM_CHANGE
* Check if we overflow pollfd array
2011-06-14 11:28:51 +00:00
kefren
298f340a61 Use IN_LOOPBACKNET where is the case
Don't forget to freeifaddrs() in case of error
Update a couple of debug messages
2011-06-14 11:23:02 +00:00
matt
0065d26e0b Add latent support for __HAVE_CPU_UAREA_ROUTINES 2011-06-14 07:53:29 +00:00
wiz
8e12ffad8d Mark up NULL. 2011-06-14 07:49:09 +00:00
matt
4a0f52049b struct device * -> device_t 2011-06-14 06:47:52 +00:00
matt
eeac0b0545 Make startlwp and upcallret common instead of having 3 mostly identical copies. 2011-06-14 05:50:24 +00:00
matt
4ed8a65b0d Include <uvm/uvm.h> instead of <uvm/uvm_extern.h> since we are using more
uvm functions.
2011-06-14 05:49:14 +00:00
jruoho
837886fd82 Add some. 2011-06-14 05:43:37 +00:00
matt
b418df248c A small bit of constification 2011-06-14 05:35:08 +00:00
matt
d8a675c3cd print out the first 4 arguments to the kernel from the bootloader.
Add a definition of the uboot bootinfo structure.
2011-06-14 05:32:59 +00:00
matt
19f44ab3a2 Allow use of pigz when compressing kernels. 2011-06-14 05:31:33 +00:00
matt
ab1bb25144 Fix mm_md_direct_mapped_phys 2011-06-14 05:30:40 +00:00
jruoho
519d4f3013 Avoid ATF_REQUIRE() inside a child process. 2011-06-14 05:28:00 +00:00
jruoho
280c25b2f3 Test that assert(3) works. 2011-06-14 05:25:20 +00:00
jruoho
4c45d59aa4 Add few basic tests for the getlogin(2) family. 2011-06-14 03:50:47 +00:00
matt
ad2e914428 Update KDB_NUMREGS to match what gdb6 is using for PPC.
Patch taken from PR/43196
2011-06-14 03:28:32 +00:00
matt
643b4a3d8b Add mm_md_kernacc and now kmem tools work again. 2011-06-14 03:12:43 +00:00
jruoho
3b469f3ce9 Remove the cases that cause integer overflow on e.g. i386. 2011-06-14 02:45:58 +00:00
jruoho
5c64bfa640 The NaN case for strtold(3) was fixed for x86. Adjust for the expected
failures (known failures include again the special case of qemu/amd64).
2011-06-14 02:37:31 +00:00
matt
306494e25a Note use of direct-mapped uareas. 2011-06-14 02:11:47 +00:00
rmind
3f1c6aa712 Update getnewvnode(9) description. 2011-06-14 00:56:02 +00:00
rmind
60e221031b VOP_LEASE(9) was removed long ago. Misc improvement. 2011-06-14 00:22:45 +00:00
rmind
1d2a79ab46 Describe ubc_purge(9). 2011-06-14 00:19:20 +00:00
rmind
15de01ccb7 Xr uvm_km(9) 2011-06-14 00:18:00 +00:00
rmind
eb51bf5884 uvm_map_lock_entry: fix the order of locking. Spotted by yamt@.
Also, keep uvm_map_unlock_entry() symmetric.
2011-06-13 23:19:40 +00:00
matt
5ca5a72bf6 Deal with PCU state when performing coredumps. As the kernel moves each LWP
into LSSUSPENDED state, have that LWP save its PCU state for the coredump and
release its PCU status since its probably going to be exiting very soon.
Make pcu_save_all tolerate for being called for non-curlwp if that lwp belongs
to the same process, has a state of LSSUSPENDED, and no PCUs are in use.

Make the MD coredump code use pcu_save_all(l) since it'll need to save all
the PCU state anyways and can take advantage of the above tests.
2011-06-13 21:32:42 +00:00
matt
580e4af787 Use ptoa(x) instead of x << PGSHIFT 2011-06-13 21:19:38 +00:00
matt
022e55668b Add __HAVE_CPU_UAREA_ROUTINES support so that uareas will be direct-mapped.
(This avoids the nasty tlb recursion problem on ibm4xx as well on mpc85xx).
2011-06-13 21:19:01 +00:00
matt
9a80b9608f If uvm_fault returns EACCES, convert it to EFAULT. 2011-06-13 21:12:50 +00:00
wiz
8ea06c6ede Sort sections. Remove trailing whitespace. 2011-06-13 20:41:00 +00:00
spz
e7c9ab5a50 note the update of openssl 2011-06-13 19:49:34 +00:00
spz
82dcaa0984 - fix a typo in libcrypto.pl
- refresh manpages
2011-06-13 18:53:31 +00:00
nonaka
a5706f7ee2 Removed non-existent wsfont_getflg() functions.
Const'fy name in struct wsdisplay_font.
Fixed some typo.
2011-06-13 15:24:21 +00:00
matt
6baf0c0946 bump SYMTAB_SPACE 2011-06-13 14:20:37 +00:00
spz
9574586d3a fix AES-NI (using David Woodhouse's patch for OpenSSL 1.0.0) & re-enable
inclusion of AES-NI capability
builds, but is untested due to lack of hardware
2011-06-13 14:19:48 +00:00
plunky
c84ce3700e because we use --sysroot, force the default paths to be normal
while here, enable tls support
2011-06-13 12:29:16 +00:00
roy
0d0d433bb6 Import openresolv-3.4.2 2011-06-13 11:09:38 +00:00
roy
01c853e7fd Sync 2011-06-13 11:07:50 +00:00
roy
d8775c93d6 Import openresolv-3.4.2 with the following fix:
* Use printf(1) correctly
2011-06-13 11:05:19 +00:00
jruoho
5fcd9d30f3 Call _PDC only after AcpiInitializeObjects(ACPI_FULL_INITIALIZATION). 2011-06-13 09:37:23 +00:00
spz
f946e5a9cd remove unhelpful '.file' paths, just name the file itself 2011-06-13 06:22:08 +00:00
uch
d1d54b9b66 include uvm_page.h for vm_physmem[] 2011-06-13 05:23:33 +00:00
tls
ceba797a83 Fix Xen kernel builds (pmap_is_curpmap can't be static) 2011-06-13 04:30:40 +00:00
dholland
e9b3916bd6 When converting from pages to kilobytes, cast the return value of
getpagesize() to size_t. For some reason getpagesize() is defined to
return int, and several of the page counts we get come back from the
kernel as int32_t; in LP64 without the cast the byte count will be
computed in a 32-bit value and for large processes will overflow and
become negative... and then remain negative when divided by 1024 to
convert to kilobytes.

Fixes a problem I hit the other day where I saw negative RSS, which
turns out also to be PR 40642.

Note: other logic in here will break down when we first get >2TB
processes... and int32 page counts will break on >8TB processes. But
hopefully we won't see any of that for a few years yet.
2011-06-13 03:42:15 +00:00
mrg
42abd36401 catch up with the userland copy:
>revision 1.6
>date: 2011/03/23 20:54:35;  author: martin;  state: Exp;  lines: +2 -2
>Avoid using %g7

fixes rump on sparc, at least somewhat.
tested that normal kernels runs fine this with this change, too.
2011-06-13 03:23:53 +00:00
pgoyette
813683b4ac Include required file for xen acpi 2011-06-13 00:53:15 +00:00
uebayasi
189ed13db8 Typos. 2011-06-13 00:17:15 +00:00
mrg
d195617017 convert to device_t and CFATTACH_DECL_NEW.
now my ofppc system has none left.
2011-06-12 21:28:26 +00:00
plunky
33a7866d10 reinstate ssp:raw test, slightly differently.. this one is built
with -fstack-protector-all and tests that the compiler built in
stack protection works, by poking directly outside the buffer
2011-06-12 21:12:46 +00:00