summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2017-06-15report contention on caches global data to userland.David Gwynne
2017-06-15white space tweaks. no functional change.David Gwynne
2017-06-15implement the backend of the sysctls that report pool cache info.David Gwynne
2017-06-14tweak sysctl_string and sysctl_tstring to use size_t for lengths, not intDavid Gwynne
2017-06-13when enabling cpu caches, check the item size against the right thingDavid Gwynne
2017-06-13use size_t for the size of things in memory, not int.David Gwynne
2017-06-12Pledge is fairly done, so the kernel printf's can be converted to log()Theo de Raadt
2017-06-08ASLR, W^X, and guard pages trigger processor traps that result inAlexander Bluhm
2017-06-08make rb_n2e return a struct rb_entry *, not void *David Gwynne
2017-06-08use unsigned long instead of caddr_t to move between nodes and entries.David Gwynne
2017-06-08add RBT_SET_LEFT, RBT_SET_RIGHT, and RBT_SET_PARENTDavid Gwynne
2017-06-07Add an acct(5) flag for pledge violations. Then lastcomm(1) showsAlexander Bluhm
2017-06-07Assert that the KERNEL_LOCK() is held when messing with routing,Martin Pieuchot
2017-06-07Assert that the calling CPU is holding the KERNEL_LOCK() in malloc(9)Martin Pieuchot
2017-06-03Avoid printing garbage when aborting a program that tries to use aTheo Buehler
2017-05-31Add support for EV_RECEIPT and EV_DISPATCH flagsMike Belopuhov
2017-05-31new socketoption SO_ZEROIZE: zero out all mbufs sent over socketMarkus Friedl
2017-05-30getrtable() is now permitted in "stdio". It carries no risk factors.Theo de Raadt
2017-05-27Push the NET_LOCK down into PF_KEY so that it can be treated like PF_ROUTE.Claudio Jeker
2017-05-27Use copyin32(9) to atomically copy the futex from user space.Mark Kettenis
2017-05-27Put an assert that M_PKTHDR is set before accessing m_pkthdr in theAlexander Bluhm
2017-05-27Refactor m_makespace() using MCLGETI to simplify the logic of this function.Claudio Jeker
2017-05-27Kill option KEY, it is a useless knob, nobody uses pfkeyv2 without IPSEC orClaudio Jeker
2017-05-22Drop kernel trace points. The trace facility does not exist on OpenBSD.Visa Hankala
2017-05-21Enable radeondrm(4) on loongson to get accelerated graphicsVisa Hankala
2017-05-18Add a gap of 1MB between the stack and mmap spaces.Mark Kettenis
2017-05-18Do not panic if we find ourself on the sleep queue while being SONPROC.Martin Pieuchot
2017-05-15so_splicelen needs to be protected by the socket lock. We are nowMartin Pieuchot
2017-05-15Enable the NET_LOCK(), take 3.Martin Pieuchot
2017-05-09Convert a splsoftnet()/splx() dance to NET_ASSERT_LOCKED().Martin Pieuchot
2017-05-08add a compile time assertion MSIZE == sizeof(struct mbuf)Ted Unangst
2017-05-06Do not export the protocol PCB pointer from kernel to non-root usersAlexander Bluhm
2017-05-04Also pass the blk offset to disk_unbusy(), so that it can pass it toTheo de Raadt
2017-05-02Stricter pledge for bpf. ok deraadtMartin Natano
2017-04-30Rename Debugger() into db_enter().Martin Pieuchot
2017-04-30Unifdef KGDB.Martin Pieuchot
2017-04-30Return ENOSYS for unsupported operation.Martin Pieuchot
2017-04-29Mark futex(2) as PLEDGE_STDIO like all other thread-related syscalls.Martin Pieuchot
2017-04-28regenMartin Pieuchot
2017-04-28Add futex(2) syscall based on a sane subset of its Linux equivalent.Martin Pieuchot
2017-04-27Enforce that sysctl kern.somaxconn and sominconn can only be setAlexander Bluhm
2017-04-27Unifdef KADB.Martin Pieuchot
2017-04-20only 32 bits of the pledgecode were passed up via ktraceTheo de Raadt
2017-04-20Drop unnecessary headers. This fixes kernel build on platformsVisa Hankala
2017-04-20Tweak lock inits to make the system runnable with witness(4)Visa Hankala
2017-04-20Hook up mutex(9) to witness(4).Visa Hankala
2017-04-20Hook up rwlock(9) to witness(4).Visa Hankala
2017-04-20Hook up mplock to witness(4) on amd64 and i386.Visa Hankala
2017-04-20Add a port of witness(4) lock validation tool from FreeBSD.Visa Hankala
2017-04-18ensure the buffer cache backs off all the way with the correct typeBob Beck