summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
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
2017-04-17matthieu@ observes % pax (without any arguments) hits pledge violation,Theo de Raadt
2017-04-16Flip previously warm pages in the buffer cache to memory above the DMABob Beck
2017-04-15After forced unmount of a file system that has other mount pointsAlexander Bluhm
2017-04-14Avoid some false positives with cppcheck. No binary change.Alexander Bluhm
2017-04-13regenPhilip Guenther
2017-04-13Delete the getlogin59 syscall, which was last used one year, two releases,Philip Guenther
2017-04-13Provide mips64 with kernel-facing TCB_{GET,SET} macros that store itPhilip Guenther
2017-04-11Add SIOCATMARK to allow pledge("inet") programs to call sockatmark(3).Alexander Bluhm
2017-04-09Correct wakeup() dance in sensor_task_work()Theo de Raadt
2017-04-08Sensors are run as callbacks inside tasks. During suspend a sensorTheo de Raadt
2017-04-05timeval has trailing padding on powerpc and m88k, so memset it beforePhilip Guenther
2017-04-05Here at OpenBSD we change ABIs at the fling of a hat. Just in case aTheo de Raadt
2017-04-05clear structure on the stack before copying out for sysctl. At presentTheo de Raadt
2017-04-04struct vfsconf is tightly packed, but let's M_ZERO it in case that everTheo de Raadt
2017-04-02Less convoluted code in soshutdown()Theo de Raadt
2017-03-30correct NBPFILTER #ifdef'sTheo de Raadt
2017-03-28Allow the multicast ttl/hops and loop options with the mcast pledge.Alexander Bluhm
2017-03-27If hibernate_alloc() encounters a problem it should undo the partialTheo de Raadt
2017-03-27Reorder FREF() and FRELE() in a way that the the global variableAlexander Bluhm
2017-03-27wrap bpf pledge code in #if BPFFILTERTheo de Raadt
2017-03-26Inside pledge_ioctl, wrap #if's around the complete sub-blocks.Theo de Raadt
2017-03-26For the tape ioctls, recognize that block devices don't exist anymore.Theo de Raadt
2017-03-24There was a race in dosendsyslog() which resulted in a crash.Alexander Bluhm
2017-03-20Initialize the stack buffer used to build the auxiliary vector to zero toMark Kettenis
2017-03-18The "ioctl" pledge which was had functionality split out into "tape",Theo de Raadt
2017-03-17Revert the NET_LOCK() and bring back pf's contention lock for release.Martin Pieuchot
2017-03-14Allow SIOCGIFXFLAGS in pledge("route") along side SIOCGIFFLAGS, neededFlorian Obser
2017-03-13Move PRU_ATTACH out of the pr_usrreq functions into pr_attach.Claudio Jeker
2017-03-11pax conversion was missed; give this another weekTheo de Raadt