Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-18 | make pmap_zero_page MP-safe, by using the directmap | Theo de Raadt | |
mpi will investigate speedups after this. ok mpi kettenis | |||
2014-11-18 | drop "pl" from the pool name and use pool_setlowat | Mike Belopuhov | |
2014-11-18 | DTYPE_CRYPTO is not used anymore; ok guenther (a while ago) | Mike Belopuhov | |
2014-11-18 | use siphash for key lookups in all the filesystem hashes. | David Gwynne | |
ok deraadt@ tedu@ | |||
2014-11-18 | unifdef SETUIDSCRIPT and FDSCRIPT. we always use them. ok deraadt | Ted Unangst | |
2014-11-18 | move arc4random prototype to systm.h. more appropriate for most code | Ted Unangst | |
to include that than rdnvar.h. ok deraadt dlg | |||
2014-11-18 | Reduce scope of iovec variables, use mallocarray, and record size for | Ted Unangst | |
free. Change rbuf malloc argument to fullsiz, which then makes clear it's the correct size to pass to free. ok millert | |||
2014-11-18 | file.h doesn't need to include unistd.h | Ted Unangst | |
2014-11-18 | include unistd.h instead of picking it up accidentally. noted by jsg | Ted Unangst | |
2014-11-18 | Use pa_device to ensure each MAC address of a multi port board | Brad Smith | |
is unique; as done by hme(4). ok deraadt@ | |||
2014-11-18 | (except for the arm architectures...) unify the way the ld.script is | Theo de Raadt | |
used and depended, mimicking new changes by guenther to amd64. | |||
2014-11-18 | rename ld.script to same name as other architectures | Theo de Raadt | |
2014-11-17 | Pull in the .openbsd.randomdata sections, assigned to both the data and | Philip Guenther | |
openbsd_randomize segments. While here, make the 'bsd' target depend on the ldscript. problem noted by and ok deraadt@ | |||
2014-11-17 | split the int and long implementations to avoid compiler warnings. | David Gwynne | |
tested by and ok jsg@ | |||
2014-11-17 | Two additional POSIX_MADV_RANDOM conversions | Theo de Raadt | |
2014-11-17 | rearrange fields for better packing. reduces size to 256 on amd64. | Ted Unangst | |
ok deraadt | |||
2014-11-17 | Add quirks for the "Realtek ALC885" found on MacMini3.1, unmutes the | Landry Breuil | |
internal speaker, line input and hp output. Tested on i386/amd64. hints/help & ok ratchov@ | |||
2014-11-17 | Sync our kernel AES code to the one shipped in OpenSSL/LibreSSL. | Mike Belopuhov | |
This includes a commit made by Andy Polyakov <appro at openssl ! org> to the OpenSSL source tree on Wed, 28 Jun 2006 with the following message: "Mitigate cache-collision timing attack on last round." OK naddy, miod | |||
2014-11-17 | More cases of kernel map entries being created as EXEC by default; not | Theo de Raadt | |
just the base permission but the maxprot as well. ok tedu | |||
2014-11-17 | There is no reason for uvm_km_alloc1() to allocate kernel memory | Theo de Raadt | |
that is executable. ok tedu kettenis guenther | |||
2014-11-17 | instead of PROT_MASK, use PROT_READ | PROT_WRITE | PROT_EXEC to | Theo de Raadt | |
show the maxprot available in obreak mappings. (the default remains PROT_READ | PROT_WRITE, so don't be afraid). ok tedu | |||
2014-11-17 | apply siphash to the key selection for the ufs inode hash. | David Gwynne | |
ok tedu@ | |||
2014-11-17 | convert a copystr to strlcpy. | Ted Unangst | |
rearrange things in mountswap to delay malloc and always allocate needed size. | |||
2014-11-16 | Delete a comment that was obsoleted by the switch to UVM | Philip Guenther | |
vmcmd_map_zero() just returns the result of uvm_map(), so make it a tail call | |||
2014-11-16 | Two fixes to make Qemu and VMware xHCI implementations work: | Martin Pieuchot | |
1. Always unmask the slot context for the "Set Address" command. 2. Use the right spl when submitting a transfer to prevent from setting up a timer on an already completed xfer. Analyzed with and ok jsg@ | |||
2014-11-16 | remove now unnecessary casts from hash update calls. | Ted Unangst | |
2014-11-16 | Defining the interface in terms of char * means most callers are | Ted Unangst | |
required to cast their pointers, which is ugly and possibly error prone. accidentally casting an int to a pointer, for example, instead of the address of the int. implicit void * casting is safer. This updates the kernel hash interfaces to use void *. Similar changes are possible for userland. I think it's safe, but there may be some peculiar source compatbility issues there, so let's just do the kernel first. ok dlg millert | |||
2014-11-16 | convert to use sha512 for pf iss. ok deraadt dlg | Ted Unangst | |
2014-11-16 | Replace a plethora of historical protection options with just | Theo de Raadt | |
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h. PROT_MASK is introduced as the one true way of extracting those bits. Remove UVM_ADV_* wrapper, using the standard names. ok doug guenther kettenis | |||
2014-11-16 | mix the rdomain (rtable?) into the hash for tcp iss generation. | David Gwynne | |
ok phessler@ tedu@ | |||
2014-11-16 | Allow the driver to be able to retrieve the MAC address from the ROM | Brad Smith | |
for NS Saturn based boards. From NetBSD ok deraadt@ | |||
2014-11-16 | Rework the __thrsigdivert (aka sigwait()) handling: instead of interfering | Philip Guenther | |
in ptsignal(), which broke ptrace() in various circumstances, act more like sigsuspend() by updating the signal mask and picking off waited for signals when one occurs. Don't always restart when an unwaited-for-but-handled signal occurs, as that screws with both timeout calculation and cancellation. main problem noted by jmatthew@ ok tedu@ | |||
2014-11-16 | Add cas(4). | Brad Smith | |
ok deraadt@ | |||
2014-11-15 | Pull in sys/types.h for the necessary typedefs | Philip Guenther | |
prodded by brad@, ok deraadt@ | |||
2014-11-15 | repair operator precedence in UVM_MAPFLAG() macro; ok tedu | Theo de Raadt | |
2014-11-15 | use siphash in the in_pcb hashing. this mitigates it against flooding | David Gwynne | |
attacks. this is a textbook use of siphash. the idea of using siphash for this came from yasuoka-san, but i had the time to do it. he also tested and tweaked this diff. ok yasuoka@ mikeb@ | |||
2014-11-15 | regen | Brad Smith | |
2014-11-15 | Add Intel QS77 LPC. | Brad Smith | |
2014-11-15 | wire siphash into the build so in_pcb hashes can use it. | David Gwynne | |
ok yasuoka@ mikeb@ | |||
2014-11-15 | hoist the slowdown handling up to the pool_do_get callers. this lets | David Gwynne | |
us handle the slowdown where we already give up pr_mtx and gets rid of an ugly goto. ok tedu@ who i think has more tweaks coming | |||
2014-11-15 | Fix a mistake in a comment. | Doug Hogan | |
Revert NFS_DIRBLKSIZE back to data. This matches an identical comment in another part of this file. | |||
2014-11-15 | add sizes for free(ptr, sizeof(*ptr)). use sizeof(*ptr) for malloc sizes. | Ted Unangst | |
2014-11-14 | prefer sizeof(*ptr) to sizeof(struct) for malloc and free | Ted Unangst | |
2014-11-14 | simplest free(size) | Ted Unangst | |
2014-11-14 | bzero -> memset | Ted Unangst | |
2014-11-14 | enable trunk. | Henning Brauer | |
made possible by the install/upgrade changes by krw and the ifconfig adjustments by me. ok krw reyk | |||
2014-11-14 | regen | Martin Pieuchot | |
2014-11-14 | Some BayTrail IDs, including xhci(4), found in inframare's dmesg on bugs@. | Martin Pieuchot | |
2014-11-14 | implement the atomic_foo things on arm. | David Gwynne | |
testing and ok jsg@ | |||
2014-11-14 | add some more sdtemp devices | Jonathan Gray | |