summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-22syncTheo de Raadt
2014-11-22Boiler-plate manpage for memreg(4/sparc) as well.Miod Vallat
2014-11-22the per-cpu storage page does not need to be executable in thisTheo de Raadt
fashion. Anyways, we don't do MP here yet, so #ifdef it all away. with miod
2014-11-22Be more careful draining the error register and reenabling traps in the sun4mMiod Vallat
NMI handler; apparently ROSS modules depend upon this to behave correctly. From NetBSD
2014-11-22Driver for the ECC memory controller found on some sun4m (ss20), so thatMiod Vallat
recoverable memory errors no longer panic the kernel. From NetBSD but the manual page.
2014-11-22Previous diff changed the location of the ACPI S3/S4 trampoline, which hasMike Larkin
a common #defined location for both i386 and amd64. This diff fixes i386 to match. Also fix a tab/space issue in amd64 hibernate_var.h discussed with deraadt
2014-11-22Update to gravely outdated places to visit, from Jack SzmidtTheo de Raadt
2014-11-22restore word zapped in previous, and remove some useless "No" macros;Jason McIntyre
2014-11-22using /dev/random is okTheo de Raadt
2014-11-22{ on seperate line at start of function or I go crazyTheo de Raadt
2014-11-22Do not use PROT_MASK as a non-maskTheo de Raadt
2014-11-22oops, left an old line...Theo de Raadt
2014-11-22Split the MP trampoline into two pages, one for code and one for data/stackMike Larkin
and then protect the code page as RX and the data/stack page as RW (NX). ok deraadt@
2014-11-22/dev/random has created the same effect as /dev/arandom (and /dev/urandom)Theo de Raadt
for quite some time. Mop up the last few, by using /dev/random where we actually want it, or not even mentioning arandom where it is irrelevant.
2014-11-22Delete hogwash about the way randomization was done a long time ago.Theo de Raadt
these days, we are in control of the situation it is just Done Right. ok miod
2014-11-22not compiled before commitTheo de Raadt
2014-11-22Fixed uninitialized pointer (and other struct entries while at it)Tobias Stoeckmann
which is referenced while parsing invalid RCS files. Spotted by jsg. ok deraadt
2014-11-22Remove SCCS support. For this to work, we would need "get", which we don'tTobias Stoeckmann
even have in ports. XSI functionality of POSIX, therefore optional. ok deraadt, schwarze, tedu
2014-11-22Switch to using MI installboot, after a conversation with stsp. He willTheo de Raadt
need this soon. install tested by jsg
2014-11-22spell PROT_EXEC correctlyTheo de Raadt
2014-11-22mop up a barely started project... getting in the way of grepping the tree!Theo de Raadt
2014-11-22Fix incorrect escape.Anthony J. Bentley
2014-11-22use size_t where appropriate. ok deraadt reykTed Unangst
2014-11-21mask off high bits from 'c', before operation, otherwise the packingTheo de Raadt
logic writes balony. Hunting with tedu, mlarkin, and final bit spotted by naddy in freebsd's version.
2014-11-21MPE support, begone. ok teduTheo de Raadt
2014-11-21white space begoneTheo de Raadt
2014-11-21remove pointless if_var.h and socketvar.h includes; ok deraadtMike Belopuhov
2014-11-21a long time ago, DISPLAY and UNDISPLAY required special treatment, as theyMarc Espie
were displayed "on the fly". But prepare+log means the display happens later in any case, so they can be done as part of regular plist. Also, mark known manpage dirs for even more verbiage reduction...
2014-11-21space needed between macro args and punctuation;Jason McIntyre
2014-11-21add ERRORS, HISTORY, AUTHORS, Copyright year, and some missing macros;Ingo Schwarze
ok tedu@ on a previous version
2014-11-21Let crypt_checkpass() set EACCES after bcrypt_checkpass() failure;Ingo Schwarze
ok tedu@
2014-11-21We can map 'fuse ROM' area with read only.Kenji Aoyama
2014-11-21remove unused #defines and labels.Mike Larkin
ok deraadt, guenther
2014-11-21Initialize the xrun attribute to SIO_IGNORE in sio_sun_getpar(). FoundAlexandre Ratchov
by stu@, thanks!
2014-11-21Don't forget to transmit the xrun attribute in GETPAR messages. FoundAlexandre Ratchov
by stu@, thanks.
2014-11-21libraries shouldnt print to stderr when things dont go their way.David Gwynne
switch fprintf(stderr) over to event_warn() on malloc failure. fix up an errant newline in an existing event_warn while there. originally i just wanted to delete the fprintf diff from nicm@ who is away from a keyboard right now so cant commit guenther@ agrees with the idea
2014-11-21somebody permitted simple_locks back into uvm. they will be referred toTed Unangst
the bureau of party loyalty for reeducation.
2014-11-21simple lock is long deadTed Unangst
2014-11-21Since we enable NX in locore now, no need to do it again later in theMike Larkin
bootstrap sequence ok deraadt@
2014-11-21evbuffer_read will return 0 one an end of file condition.David Gwynne
2014-11-21Remove the README. It history from more than 20 years ago, and whileTheo de Raadt
interesting it has no impact on the maintainance of this stuff. ok tobias
2014-11-21Add NX (if available) to the mid-level page tables (PDE, etc).Mike Larkin
ok deraadt@
2014-11-21Kill kv_executable flag. We no longer allow requests for PROT_EXECTheo de Raadt
mappings via this interface (nothing uses it, in any case) ok uebayasi tedu
2014-11-21change prototype for crypt_newhash. the login_cap_t is a holdover from itsTed Unangst
pwd_gensalt origins, but a string argument works equally work and is more friendly to consumers beyond local user accounts. ok deraadt
2014-11-21We repeatedly observed assertion crashes in the low-level terminalIngo Schwarze
output handler because the high level terminal formatters could be tricked into setting the left margin further to the right than the right margin. Today, jsg@ found more of these with afl. Change the internal interface between both levels, aiming for simplicity and robustness of the code. Treat both margins as *independent* settings: Now, termp.offset is the requested left margin, and termp.rmargin is the available space. Let the lower level cope with that case of insufficient space. Obviously, high level code that does centering or flush right still has to do careful checks, so i did a full audit of margin settings in the terminal formatters. Fixes crashes caused by excessively long title or date strings in the man(7) footer, operating system or date strings in the mdoc(7) footer, volume strings in the man(7) or mdoc(7) header, and a few cases related to some non-prologue macros.
2014-11-21fix NULL pointer dereference crash on invalid timestampDamien Miller
found using Michal Zalewski's afl fuzzer
2014-11-20partial_where points into the buffer that begins with buffer_startTodd C. Miller
so we need to use memmove() to handle the overlap. Sourceware PR 11456 OK deraadt@
2014-11-20One of these optimized stubs creates some incredibly subtle damage,Theo de Raadt
causing as(1) to create a wrong nop-sled for text segment aligns. Revert, until it is found and fixed.
2014-11-20A little too agressive reordering. Must initialize the client structKenneth R Westerback
before filling it in with read_client_conf(). Fixes seg fault when lease {} statement is used. Problem reported by Alessandro de Laurenzis via misc@. Thanks!
2014-11-20Oops, make sure camellia is compiled on platforms without an arch-specificMiod Vallat
Makefile.inc (i.e. landisk and m88k)