summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
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
2018-02-28Revert the change that postpones CPUs until after mounthook activities.Patrick Wildt
2018-02-26Serialize access to UID data with a rwlock.Martin Pieuchot
2018-02-26Fix a TOCTOU race that causes signals to be delivered more than once.Martin Pieuchot
2018-02-21Call socreate() before falloc() in sys_socket().Martin Pieuchot
2018-02-20Make ddb's "show all locks" command show spinlocks in additionVisa Hankala
2018-02-20Introduce enternewpgrp() & enterthispgrp(), from FreeBSD via guenther@.Martin Pieuchot
2018-02-19Grab solock() inside soconnect2() instead of asserting for it to be held.Martin Pieuchot
2018-02-19Change some returns into gotos, will help keeping the unlocking pathMartin Pieuchot
2018-02-19Include <sys/mutex.h> directly instead of relying on other headers toMartin Pieuchot
2018-02-19Directly include sys/mplock.h when needed instead of depending onJonathan Gray
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot