summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-11-25improve keyboard boot info; Daniel DickmanTheo de Raadt
2013-11-25obvious cast for isblank()Theo de Raadt
2013-11-25improve -Q usage and such. One usage change is that the option is nowTheo de Raadt
case-sensitive ok dtucker markus djm
2013-11-25variety of unsigned char casts (or conversions) for ctypeTheo de Raadt
ok krw
2013-11-25use an unsigned char instead, to avoid lots of castsTheo de Raadt
2013-11-25rename magicnumber to globalsleepaddrTed Unangst
2013-11-25replace an Ed mistakenly removed in -r1.186;Jason McIntyre
2013-11-25Remove VMEM_WARNING, reminded by espie@Stuart Henderson
2013-11-25Document which keys need to be hold to enter the Open Firmware with aMartin Pieuchot
standard PC keyboard. From Daniel Dickman (didickman at gmail.com).
2013-11-25miod@ increased the datasize of VAX from 40MB to 128MB. Now VAX canjuanfra
use .xz files with big dictionaries like the other platforms. ok brad@ sthen@
2013-11-25use u_char for buffers in yylex, for ctype callsSebastian Benoit
found by millert@, from deraadt@
2013-11-25use u_char for buffers in yylex, for ctype callsSebastian Benoit
found by millert@, ok deraadt@
2013-11-25use u_char for buffers in yylex, for ctype callsSebastian Benoit
found by millert@, ok deraadt@
2013-11-25netstat -Ar leaked some kernel pointers to unprivileged users. UseAlexander Bluhm
hideroot to show them only to root. OK deraadt@
2013-11-25Use iswupper() for wide characters, not isupper(); ok deraadtStefan Sperling
2013-11-25disable %n in printf(9); there is no need for it in the kernel besidesDamien Miller
making format-string vulnerabilities exploitable; inspired by similar change made by Kees Cook to Linux; ok deraadt@
2013-11-24most obvious unsigned char casts for ctypeTheo de Raadt
ok jca krw ingo
2013-11-24Increase NMBCLUSTERS a bit. Riding upon the kernel memory saved by the pmapMiod Vallat
changes.
2013-11-24Increase MAXDSIZ to 128MB, and BRKSIZ to 16MB, now that we can afford this.Miod Vallat
Also double DFLDSIZ.
2013-11-24Rework pmap to use dynamic P0 and P1 region allocation, instead of allocatingMiod 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-24more ctype cleanupsTheo de Raadt
checked by jca
2013-11-24Add comments to ACS table matching terminfo(5).Nicholas Marriott
2013-11-24Clean 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-24Replace the swapdev CIRCLEQ with a TAILQ and replace the manually rolledJoel Sing
list traversals with LIST_FOREACH. ok beck@ krw@
2013-11-24I2C driver for am335x, ported from netbsd, not enabled yet.Raphael Graf
"Commit the driver code" deraadt@
2013-11-24add 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-24simplify 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-24Replace ## by # in format.Nicholas Marriott
2013-11-24more unsigned char casts for ctypeTheo de Raadt
ok jca
2013-11-24fairly obvious ctype cleanup dealing with argvTheo de Raadt
ok jca
2013-11-23fix format string; OK deraadt@Gleydson Soares
2013-11-23yet more unsigned char casts for ctypeTheo de Raadt
checked by jca
2013-11-23remove redundant check, and be a bit more careful about queue namingTheo de Raadt
discussion with jca ok millert guenther
2013-11-23Verify that the directory entry being looked at is entirely present inPhilip 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-23obvious unsigned char cast for ctypeTheo de Raadt
ok jca
2013-11-23remove unused macro; ok jcaTheo de Raadt
2013-11-23unsigned char casts for ctypeTheo de Raadt
ok jca
2013-11-23unsigned char casts for ctypeTheo de Raadt
ok jca
2013-11-23send a extra space to the bit bucketTheo de Raadt
2013-11-23obvious unsigned casts for ctypeTheo de Raadt
2013-11-23obvious unsigned char casts for ctypeTheo de Raadt
2013-11-23unsigned char casts for ctype; ok jcaTheo de Raadt
2013-11-23- use a flag file to recognize a successfull autoinstaller runRobert 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-23With -k, kill window after using it to work out -c path. Reported byNicholas Marriott
jmacristovao at gmail dot com.
2013-11-23Run doshutdownhooks() and config_suspend() even when boot() is called whileMasao Uebayashi
cold != 0. Indent and make hppa/hppa64 boot() closer to others. OK kettenis@
2013-11-23task_add(NULL, blah) is a fault, fix by using task_add(systq, blah).David Gwynne
reported by josh grosse on misc@
2013-11-22The getopt() prototype and externs don't belong in stdlib.h. BerkeleyTodd 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-22Handle empty current directory more gracefully.Nicholas Marriott
2013-11-22regenMark Kettenis
2013-11-22Another AMD Family 15h Models 10h-1Fh device.Mark Kettenis