summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-09close_getchr() is now a noopTheo de Raadt
2015-11-09use STDERR_FILENO instead of 2Theo de Raadt
2015-11-09do not need wrappers around O_RDONLY and suchTheo de Raadt
2015-11-09syncTheo de Raadt
2015-11-09Remove -h from the command line options.YASUOKA Masahiko
diff from Benjamin Baier
2015-11-09queue(3) instead of homegrown queues and lists. This also fixesTodd C. Miller
some potential memory leaks in error paths. OK guenther@
2015-11-09Cache the result of cpuid leaf function $0x1 from the host's boot CPUMike Larkin
during locore, information based on this will be returned to guest VMs issuing cpuid instructions later, under certain circumstances.
2015-11-09Bring GPT validity checking into line with kern/subr_disk.c . InKenneth R Westerback
particular don't attempt to calcuate the header checksum using a size that will cause a crash. Tested & ok yasuoka@
2015-11-09kenjiro cho points out that requeue is hard to support on queueDavid Gwynne
disciplines while i was simply concerned with the safety of the mbuf, requeue is weird when it comes to how statistics are supposed to be handled and ultimately isnt worth it. this removes hfsc_requeue.
2015-11-09EPT paging permission bits for amd64, will be used in subsequent pmapMike Larkin
changes for vmm.
2015-11-09regenMike Larkin
2015-11-09Allocate a currently unused vendor ID for our vmm's pchb.Mike Larkin
discussed with deraadt
2015-11-09rework the start routines to avoid IF_PREPEND.David Gwynne
IF_PREPEND assumes the underlying send queue is priq, while hfsc may be enabled on it. the previous code pattern to DEQUEUE, try and encap the mbuf on the ring, and if that failed cos there was no space it would PREPEND it. now it checks for space on the ring before it attempts to DEQUEUE. failure to encap means the mbuf is now unconditionally dropped.
2015-11-09rework the code to avoid IF_PREPEND.David Gwynne
IF_PREPEND assumes the underlying send queue is using priq, so if you're using hfsc things dont work well. part of this shuffle moved the defragmentation of the mbuf to using m_defrag instead of hand rolled code. tested by several people on tech@
2015-11-09Add user "_vmd" for forthcoming vmd daemonMike Larkin
ok deraadt@
2015-11-09Start moving some vmm things into the tree. First up is binutils so we willMike Larkin
be able to use the virtualization instructions. ok'ed a long time ago, I forgot who, but deraadt@ ok'ed it again anyway.
2015-11-08-c before -H, in SYNOPSIS and usage();Jason McIntyre
2015-11-08pull initialization up before poosible goto bad, from Mark LatimerTed Unangst
2015-11-08Revert 1.2 and 1.3 in order to go back to the default upstream behaviourMiod Vallat
of registering an explicit dependency upon libstdc++.so when linking a shared library with c++. The explicit dependency had been reverted a long time ago when most of our platforms were still usinc gcc 2.95, in order to have the same behaviour between g++ 2.95 and g++ 3.3, for the sake of ports. However, when we started using gcc 4, the default behaviour was not modified, and nowadays, it's g++ 3 which differs from g++ 4. By reverting to the original behaviour, g++ 3 is on par with g++ 4 again.
2015-11-08Add "ssh-keyscan -c ..." flag to allow fetching certificates insteadDamien Miller
of plain keys; ok markus@
2015-11-08Merge NetBSD 1.145:Miod Vallat
When issuing a non-dma command, make sure to set the "remaining length of command to be transfered via dma" (sc_cmdlen) to zero upfront, otherwise we might get confused on command completition interrupt (no dma active but still data left to transfer).
2015-11-08remove slogin links; ok deraadt markus djmJason McIntyre
2015-11-08fix OOB read in packet code caused by missing return statementDamien Miller
found by Ben Hawkes; ok markus@ deraadt@
2015-11-08keep all the setperf timeout(9) handling in one place; ok tedu@Christian Weisgerber
2015-11-08whitespaceJasper Lievisse Adriaanse
2015-11-08Handle additional RSN element group ciphers.Stefan Sperling
ok mpi@
2015-11-08Update section and table numbers inside comments in the RSN code toStefan Sperling
the 802.11-2012 standard. ok mpi@
2015-11-08Make sure we use a sigjmp_buf in the sigsetjmp() part of the test.Miod Vallat
2015-11-08Tweak a reallocarray call to be more overflow-resistant. From Theo Buehler.mmcc
ok nicm@
2015-11-08Set the effective gid to kmem so the fchown of kvm_bsd.db is allowedTodd C. Miller
by pledge(2). This requires pledge "id" but that can be dropped immediately after the setegid() call. From Theo Buehler
2015-11-08Quiet silly clang analyzer warning in calloc() usage.Todd C. Miller
2015-11-08inet(4), not inet(3);Jason McIntyre
2015-11-08Always claim to support sector mode for eMMC. Allows BeagleBone BlackJonathan Gray
boards with Micron eMMC to work. The Micron eMMC seems to adhere to the spec which states: "If there is no indication by a host to a memory that the host is capable of handling sector type of addressing the higher than 2GB of density of memory will change its state to Inactive (similarly to a sit- uation in which there is no common voltage range to work with)" From Ian Sutton with feedback from uwe@
2015-11-08groupling tests that now passMarc Espie
2015-11-08stop pointing people to the gnu and less sites; ok nicmJason McIntyre
2015-11-08Remove support for LESSGLOBALTAGS, we do not have global(1) (standardNicholas Marriott
ctags(1) support remains). ok tedu
2015-11-08Make "machine disk" show some info for EFI instead of info for BIOS.YASUOKA Masahiko
2015-11-08Make the variables be "const" and fix white space.YASUOKA Masahiko
2015-11-07add missing NAME entries;Jason McIntyre
2015-11-07Ensure the safety of isprint()'s argument. Suggested by guenther@ a fewmmcc
weeks ago.
2015-11-07Use linkat() instead of link() so that hardlinks of symlinks workPhilip Guenther
ok millert@
2015-11-07Make it clearer that warningf()'s first argument determines whether themmcc
lineno is printed. ok nicm@
2015-11-07Spell `unused' correctly.Miod Vallat
2015-11-07replace save() with estrdup() and make estrdup() exit like all the otherTed Unangst
ecalloc, etc. functions do. ok mmcc nicm
2015-11-07delete custom charset tables and just use ctype. init utf_mode from LC_CTYPETed Unangst
ok nicm
2015-11-07Modernization, no functional change intended:Ingo Schwarze
Use the POSIX function getline(3) rather than the slightly dangerous BSD function fgetln(3).
2015-11-07Disable red-zone since EFI is running with a different ABI.YASUOKA Masahiko
This may fixes the issue when loading a compressed kernel on macbook reported by gonzalo, jung, Joel Roberts, Bryan Vyhmeist and many.
2015-11-07Emulate loops performed in the software crypto driver more closelyMike Belopuhov
2015-11-07Update copyright informationMike Belopuhov
2015-11-07Pass AES_GMAC context as a void pointer to cut down on casts in xform.cMike Belopuhov