summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2018-04-28replace add_*_randomness with enqueue_randomness()Jasper Lievisse Adriaanse
2018-04-28Remove redundant error checkkn
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysVisa Hankala
2018-04-27Move FREF() inside fd_getfile().Martin Pieuchot
2018-04-26Remove solock() surrounding PRU_CONTROL in soo_ioctl().Paul Irofti
2018-04-26Drop into ddb(4) if pmap_tlb_shoot*() take too much time in MP_LOCKDEBUGMartin Pieuchot
2018-04-26Rewrite fdcopy() to avoid memcpy()s.Martin Pieuchot
2018-04-25Teach mtx_enter_try(9) to avoid deadlocks after a panic.Martin Pieuchot
2018-04-25Introduce fd_iterfile() a new helper function to iterate over `filehead'.Martin Pieuchot
2018-04-24Make futex(2) also return ECANCELED in case SA_RESTART was set.Paul Irofti
2018-04-24Validate timespec and return ECANCELED when interrupted with SA_RESTART.Paul Irofti
2018-04-18Do a FREF()/FRELE() dance after fd_getfile() in sys_fcntl().Martin Pieuchot
2018-04-18Call FREF(9) earlier instead of incrementing `f_count' by hand.Martin Pieuchot
2018-04-12Implement MAP_STACK option for mmap(). Synchronous faults (pagefault andTheo de Raadt
2018-04-12Restore the original BSDI $Id$ strings. Those were mangled by CVSVisa Hankala
2018-04-12Use the current reference instead of incrementing `f_count' manually andMartin Pieuchot
2018-04-12Call FREF(9) earlier instead of incrementing `f_count' directly inMartin Pieuchot
2018-04-11The pledge flag for file descriptors opened from /dev/fd was alwaysAlexander Bluhm
2018-04-10Do not call logwakeup(), ending in wakeup_n(), while holding a mutex.Martin Pieuchot
2018-04-10Convert 'struct fileops' definitions to C99.Martin Pieuchot
2018-04-09Revert previous, it introduced a bug found the hardway by landry@.Martin Pieuchot
2018-04-09Do a FREF()/FRELE() dance after fd_getfile() and before calling vref(9)Martin Pieuchot
2018-04-09Call finishdup() instead of rerolling it in dupfdopen().Martin Pieuchot
2018-04-09Call FREF() right after fd_getfile_mode() in sys_ioctl().Martin Pieuchot
2018-04-08AF_LOCAL was a failed attempt (by POSIX?) to seem less UNIX-specific, butPhilip Guenther
2018-04-08Test for preexisting conditions when re-enabling eventsMike Belopuhov
2018-04-06Retain the UF_PLEDGED flag from the original fd during dup(2).Alexander Bluhm
2018-04-03Move FREF()s just after fd_getfile() in sys_kevent(), sys_lseek() andMartin Pieuchot
2018-04-03Add proper FREF()/FRELE() dance in sys_fchdir().Martin Pieuchot
2018-04-03Call FREF() right after fd_getfile() in dodup3().Martin Pieuchot
2018-04-03Silence assertwaitok() if we are in ddb(4).Martin Pieuchot
2018-04-03Deactivate witness(4) checks if we are in ddb(4), when `db_active' is set.Martin Pieuchot
2018-03-29KNF (wrap a long line)Mike Larkin
2018-03-28Call FREF() right after fd_getfile() in getsock().Martin Pieuchot
2018-03-28Call FREF() right after fd_getfile() in sys_flock().Martin Pieuchot
2018-03-28Call FREF() right after fd_getfile*() in pread(), prwrite() & co.Martin Pieuchot
2018-03-27Make sure that programs violating a pledge(2) promise or some memoryMartin Pieuchot
2018-03-27Try harder to execute code protected by mutexes after entering ddb(4).Martin Pieuchot
2018-03-27Use a goto to merge multiple error blocks in sosplice().Martin Pieuchot
2018-03-27Exclude SIGKILL from ptrace(2) interception.Martin Pieuchot
2018-03-24Avoid calling issignal() twice on signal delivery in order notVisa Hankala
2018-03-21Disable the rw lock assertion after panic. Allows reboot from ddb.Alexander Bluhm
2018-03-20Do not panic from ddb(4) when a lock requirement isn't fulfilled.Martin Pieuchot
2018-03-18NULL deref on armv7 performing NFS, within 10 seconds.Theo de Raadt
2018-03-13make m_pullup skip over empty mbufs when finding the payload alignment.David Gwynne
2018-03-12make m_adj keep m_data aligned when removing all the data in an mbuf.David Gwynne
2018-03-08When we are rebooting, do not fail in uvn_io(). The vnodes areAlexander Bluhm
2018-03-07Remounting files systems read-only does not work reliably. ThereAlexander Bluhm
2018-03-05fix a memory leak in readdoslabel()Jonathan Gray
2018-03-01When socket splicing is involved, delay the pool_put() after theAlexander Bluhm