summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-05-11delete SROP mitigation debug code; it worksTheo de Raadt
2016-05-11remove hppa64 port, which we never got going beyond broken single users.Theo de Raadt
hppa reverse-stack gives us a valuable test case, but most developers don't have a 2nd one to proceed further with this. ok kettenis
2016-05-11syncTheo de Raadt
2016-05-11Add on alerts rather than ignoring them if the event has already beenNicholas Marriott
queued, for example bell and activity together. From Marcel Lippmann via Romain Francoise.
2016-05-11add OpenBSD 6.1 packages keyChristian Weisgerber
2016-05-11fix compile issues in MD sigreturn(2)Peter Hessler
OK deraadt@
2016-05-11fix sigcookie value, address was off due to trapframe nestingTheo de Raadt
notice by miod
2016-05-11mention ca option in listen directiveJoerg Jung
same spelling fix from jmc and gilles ok gilles
2016-05-11signify should refer to the future keyTheo de Raadt
2016-05-11add openbsd 6.1 base keyTheo de Raadt
2016-05-11syncTheo de Raadt
2016-05-11crank to 6.0-betaTheo de Raadt
2016-05-11Add the sigcontext cookie clearing block, which was missed in the previousTheo de Raadt
commit.
2016-05-11Add RETURN VALUES section and .Xr to memmem(3).Ingo Schwarze
From Michal Mazurek <akfaew at jasminek dot net>. OK tedu@
2016-05-11convert bcopy to memcpy. ok dlg millertTed Unangst
2016-05-11Use round_blocksize() to determine the maximum hardware block size (inAlexandre Ratchov
bytes) then, adjust the block size accordingly. Fixes zaudio(4) not starting when large blocks are requested. Found and reported by Andre Smagin <as at smagin.com>, thanks.
2016-05-11Another attempt to make the mips64 pmap MP-safe. Now at leastVisa Hankala
pmap_enter(9), pmap_remove(9) and pmap_page_protect(9) should be safe to use without the kernel lock. No objection from deraadt@
2016-05-11Add an efibind.h for arm; from FreeBSD.Mark Kettenis
2016-05-11Move EFI header files to a location where they can be used on otherMark Kettenis
architectures besides amd64. ok deraadt@, krw@
2016-05-11Allow top(1) to filter process args if they are being displayed.Edd Barrett
OK tedu@, deraadt@, and with input from Michal Mazurek. Thanks
2016-05-11Dont reuse "mult" local variable. Use separate variable for hardwareAlexandre Ratchov
block size multiplier (in bytes) and for the driver block size multiplier (in frames). No behaviour change.
2016-05-11remove uatraps from "all" as wellJonathan Gray
ok beck@
2016-05-11Alas all good things come to an end. The U of A traplist is going away asBob Beck
the University of Alberta moves away from running a spamd fronted MX, so there is no more source for this traplist anymore.
2016-05-10If sendsyslog(2) is called with LOG_CONS before syslogd(8) has beenAlexander Bluhm
started and before init(8) has opened the console, the kernel could crash as the console device has not been initialized. Open /dev/console in the kernel before starting init(8) and keep it open. This way sendsyslog(2) can be called early in the system. OK beck@ deraadt@
2016-05-10the bpf_mtap functions take const struct mbuf *s nowDavid Gwynne
2016-05-10make the bpf tap functions take const struct mbuf *David Gwynne
this makes it more obvious that the bpf code should only read packets, never modify them. now possible because the paths that care about M_FILDROP set it after calling bpf_mtap. ok mpi@ visa@ deraadt@
2016-05-10Do not close the stdio file desciptors in init(8), but dup2(2) themAlexander Bluhm
from /dev/null. The code is taken from daemon(3). Also move this operation to the beginning. OK millert@ deraadt@
2016-05-10Fix operator precedence error; OK guenther@ millert@Tim van der Molen
2016-05-10SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookieTheo de Raadt
inside the sigcontext. sigreturn(2) checks syscall entry was from the exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, and clears it to prevent sigcontext reuse. not yet tested on landisk, sparc, *88k, socppc. ok kettenis
2016-05-10The hppa trapframe PC is marked (in the low two bits) to indicate aTheo de Raadt
userland addressspace address. Those bits should be masked to callers of the PROC_PC() macro. ok kettenis
2016-05-10go deeper in Term::ReadKey, we don't need smart guesses.Marc Espie
okay afresh@/millert@
2016-05-10Fill Xen hypercall page with int3's like the hypervisor does.Mike Belopuhov
Idea from deraadt@ and mlarkin@.
2016-05-10Enable separate compilation while keeping internal interfaces hidden.Ingo Schwarze
Simplifies the build system and prevents modules from stomping on each other's static symbols. Based on a hint from guenther@, using feedback from kettenis@ and deraadt@.
2016-05-10Enable the readline(3) regression test provided by Bastian Maerkisch,Ingo Schwarze
all bugs tested so far have been fixed.
2016-05-10adapt to recently changed internal interface of read_getcmd()Ingo Schwarze
2016-05-10make qla_iocb_seg structs 4 byte aligned and use htolem32 to set it.David Gwynne
shaves ~256 bytes off of qla_put_data_seg on sparc64 ok kettenis@ jmatthew@
2016-05-10Fix next_history() and previous_history():Ingo Schwarze
* The meaning of "next" and "previous" is exchanged in readline(3) with respect to editline(3); this part of the patch from Bastian Maerkisch. * next_history() can move beyond the newest entry; issue pointed out by Bastian Maerkisch, fix by me. While here, make the documentation of ed-next-history, ed-prev-history, H_NEXT, and H_PREV more precise. OK czarkoff@.
2016-05-10move some argument checking from vmmaction() to start_vm()Mike Larkin
from a diff posted to tech@ by Fabien Siron, thanks.
2016-05-10Fix history_get():Ingo Schwarze
* Respect history_base. * Bail out early for arguments that are too small. * Select entry by readline offset, not by editline event number. * Restore history cursor in case of failure. This fixes the test_remove() regression test. Based on a patch from Bastian Maerkisch <bmaerkisch at web dot de>. Dmitrij Czarkoff pointed out a flaw in it that i fixed. OK czarkoff@.
2016-05-10typo in commentMike Larkin
2016-05-10FFS2 does lazy inode initialization, so try harder to avoid usingKenneth R Westerback
random data on the disk as an inode. Thus avoiding crashes when translating a bogus filehandle to a vnode. Yes, I'm looking at you, NFS! Adapted from a diff by Christos Zoulas via NetBSD, pointed out by kurt@. ok beck@
2016-05-10make bpf_mtap callers set the M_FILDROP flag if they care about it.David Gwynne
ok mpi@
2016-05-10Oops: the caching of TCB address in single-threaded processes on archs withPhilip Guenther
slow TCB_GET (alpha, arm, mips64, sh) was broken when I switched CPP symbols.
2016-05-10In a signal handler use snprintf()+local buffer instead of asprintf+freePhilip Guenther
2016-05-10Test that various calls can be interrupted in a non-threaded process,Philip Guenther
then dlopen() libpthread and do that again in a second thread, and then verify that they're all correctly acting as cancellation points.
2016-05-10rename an unused field in struct kinfo_file (it related to systrace..)Theo de Raadt
2016-05-09libc stub is gone, so update the description to cover the remaining usePhilip Guenther
2016-05-09Remove sigreturn declaration and the now-unused libc syscall stubPhilip Guenther
2016-05-092nd identical definition of PROC_PC macro is not neededTheo de Raadt
from miod
2016-05-09in the http redirect example, also include the requested url insteadT.J. Townsend
of just going to the home page. requested by and ok beck