Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-24 | Rework pmap to use dynamic P0 and P1 region allocation, instead of allocating | Miod Vallat | |
the largest possible page table for every pmap; from NetBSD. This allows the kernel to use much less memory for page tables. Significant differences against the NetBSD code are: - allocation of page table pages is done with a pool instead of allocating whole logical pages from uvm and managing the freelist within pmap, never releasing allocated pages. - try to use pt_entry_t * rather than int * whenever possible. - growth of P0 and P1 regions is allowed to fail, if invoked from pmap_enter with the PMAP_CANFAIL flag. This will stall processes until memory for the page tables can be obtained, rather than panicing, in most cases. - keep management of mappings for managed pages using pv lists tied to the vm_page (using __HAVE_VM_PAGE_MD), rather than a global pv_list head. - bound check against Sysmap[] in pmap_extract() when asked for a kernel address. As a result of this, bsd.rd can now install a working system on a 12MB machine without needing to enable swap. | |||
2013-11-24 | more ctype cleanups | Theo de Raadt | |
checked by jca | |||
2013-11-24 | Add comments to ACS table matching terminfo(5). | Nicholas Marriott | |
2013-11-24 | Clean up the NTFS debug code - use uppercase names for the debug macros, | Joel Sing | |
especially since 'dprintf' now has another meaning (at least outside of the kernel). Tweak the macro syntax so we can avoid having to double bracket all invocations. Also apply a good dose of style(9). ok krw@ | |||
2013-11-24 | Replace the swapdev CIRCLEQ with a TAILQ and replace the manually rolled | Joel Sing | |
list traversals with LIST_FOREACH. ok beck@ krw@ | |||
2013-11-24 | I2C driver for am335x, ported from netbsd, not enabled yet. | Raphael Graf | |
"Commit the driver code" deraadt@ | |||
2013-11-24 | add missing " from a commented-out .Nd line; doesn't affect mandoc output, | Stuart Henderson | |
but it was causing incorrect output from "man -k". | |||
2013-11-24 | simplify determination of OBJDIR to what we actually use. | Marc Espie | |
(prevents some race conditions by just chdir()'ing into the right objdir) problem noticed by theo okay'd by general apathy... | |||
2013-11-24 | Replace ## by # in format. | Nicholas Marriott | |
2013-11-24 | more unsigned char casts for ctype | Theo de Raadt | |
ok jca | |||
2013-11-24 | fairly obvious ctype cleanup dealing with argv | Theo de Raadt | |
ok jca | |||
2013-11-23 | fix format string; OK deraadt@ | Gleydson Soares | |
2013-11-23 | yet more unsigned char casts for ctype | Theo de Raadt | |
checked by jca | |||
2013-11-23 | remove redundant check, and be a bit more careful about queue naming | Theo de Raadt | |
discussion with jca ok millert guenther | |||
2013-11-23 | Verify that the directory entry being looked at is entirely present in | Philip Guenther | |
the read buffer before trying to process it, so that invalidated or bogus offsets can't trigger access past the end of the read buffer. Also, zero out the dirent buffer to avoid leaking stack garbage to userspace. Problem pointed out by Pedro Martelletto (pedro (at) ambientworks.net) ok deraadt@ | |||
2013-11-23 | obvious unsigned char cast for ctype | Theo de Raadt | |
ok jca | |||
2013-11-23 | remove unused macro; ok jca | Theo de Raadt | |
2013-11-23 | unsigned char casts for ctype | Theo de Raadt | |
ok jca | |||
2013-11-23 | unsigned char casts for ctype | Theo de Raadt | |
ok jca | |||
2013-11-23 | send a extra space to the bit bucket | Theo de Raadt | |
2013-11-23 | obvious unsigned casts for ctype | Theo de Raadt | |
2013-11-23 | obvious unsigned char casts for ctype | Theo de Raadt | |
2013-11-23 | unsigned char casts for ctype; ok jca | Theo de Raadt | |
2013-11-23 | - use a flag file to recognize a successfull autoinstaller run | Robert Peichaer | |
- use a shorter constant logfile name - quote From lines and remove ^M in ftp output from logfile - provide the autoinstaller logfile as mail to root with help and positive feedback halex@ krw@ deraadt@ ok halex@ | |||
2013-11-23 | With -k, kill window after using it to work out -c path. Reported by | Nicholas Marriott | |
jmacristovao at gmail dot com. | |||
2013-11-23 | Run doshutdownhooks() and config_suspend() even when boot() is called while | Masao Uebayashi | |
cold != 0. Indent and make hppa/hppa64 boot() closer to others. OK kettenis@ | |||
2013-11-23 | task_add(NULL, blah) is a fault, fix by using task_add(systq, blah). | David Gwynne | |
reported by josh grosse on misc@ | |||
2013-11-22 | The getopt() prototype and externs don't belong in stdlib.h. Berkeley | Todd C. Miller | |
moved them to unistd.h to match POSIX in 1995 but we never did. The exception to this is getsubopt() which POSIX says should be in stdlib.h. The non-standard suboptarg extern remains in the BSD-only section of stdlib.h. Neither getsubopt() nor suboptarg belong in unistd.h or getopt.h. They were only there to allow us to protect all the getopt() bits from being multiply defined. OK guenther@ | |||
2013-11-22 | Handle empty current directory more gracefully. | Nicholas Marriott | |
2013-11-22 | regen | Mark Kettenis | |
2013-11-22 | Another AMD Family 15h Models 10h-1Fh device. | Mark Kettenis | |
2013-11-22 | unsigned char casts for ctype macros | Theo de Raadt | |
ok martynas | |||
2013-11-22 | wrappers for is*/to* that make damn sure their arguments are | Marc Espie | |
cast to unsigned chars. okay deraadt@ | |||
2013-11-22 | remove unused goo, okay guenther@ | Marc Espie | |
2013-11-22 | doc nit okay millert@ | Marc Espie | |
2013-11-22 | unsigned char casts where needed for for ctype.h | Theo de Raadt | |
checked by florian | |||
2013-11-22 | Remove unused proc argument in in6_control(). | Martin Pieuchot | |
ok henning@, mikeb@ | |||
2013-11-22 | Teach kdump(1) about USB, VIDIOC and generic DRM ioctls. | Martin Pieuchot | |
ok deraadt@, guenther@ | |||
2013-11-22 | obvious cast for isspace() | Theo de Raadt | |
2013-11-22 | Comment out more ioctls that are part of the v4l2 API but that we don't | Martin Pieuchot | |
implement. Required to teach kdump(1) about VIDIOC_* ioctls. | |||
2013-11-22 | don't use PAGE_SIZE, it is not portable. Ted can polish this after | Theo de Raadt | |
if he wants, but let us get the tree building. | |||
2013-11-22 | unsigned char cast for some ctype calls | Theo de Raadt | |
ok krw | |||
2013-11-22 | Kirk was being waaaay too chummy with the compiler when he trusted | Philip Guenther | |
it to not optimize away a comparison against NULL-1. Add (unsigned char) casts for some ctype calls. Teach fsck_ext2fs about MAXPARTITIONS, letting it operate on partitions 'i' through 'p'. ok deraadt@ millert@ otto@ | |||
2013-11-22 | Whole bunch of (unsigned char) casts carefully added for ctype calls. | Theo de Raadt | |
Careful second audit by millert | |||
2013-11-22 | Whole bunch of (unsigned char) casts carefully added for ctype calls. | Theo de Raadt | |
Careful second audit by millert | |||
2013-11-22 | Stray missing (long long) on a daddr_t variable being printed. | Kenneth R Westerback | |
ok jsing@ | |||
2013-11-21 | Keep the flow until last IPsec SA is deleted, if the flow is shared by | YASUOKA Masahiko | |
multiple IPsec SAs in NAT-T case. This fixes a problem that L2TP/IPsec connections are disconnected improper in case multiple Windows clients are connected from behind one NAT. ok markus | |||
2013-11-21 | sync | Theo de Raadt | |
2013-11-21 | Fix a big memory leak in libfuse. | Sylvestre Gallon | |
Spotted by sthen@ With some input from stsp@ and tested by mpk@ and sthen@ ok sthen@, stsp@ | |||
2013-11-21 | sync | Theo de Raadt | |