summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2020-04-06Fix single thread behaviour in sleep_setup_signal(). If a thread needs toClaudio Jeker
2020-04-06futex(2): FUTEX_WAIT: rwsleep_nsec(9) at least one nanosecondcheloha
2020-04-05Declare pledgenames[] as const.Visa Hankala
2020-04-03Adjust SMR_ASSERT_CRITICAL() and SMR_ASSERT_NONCRITICAL() so that theVisa Hankala
2020-04-03Take an explicit write reference when associating a thread with a ktraceVisa Hankala
2020-04-02Introduce kqueue_sleep() a wrapper around the tsleep(9) dance.Martin Pieuchot
2020-03-31Move sleep_finish_all() down to where sleep_finish() and all otherClaudio Jeker
2020-03-31Revert previous, syzkaller found a way to trigger the KASSERT().Martin Pieuchot
2020-03-30Document that `a_p' is always curproc by using a KASSERT().Martin Pieuchot
2020-03-27Relax the lockcount assertion in vputonfreelist(). Back when I fixedanton
2020-03-26Revert Rev 1.164. Setting sls_sig to 0 uncovered a bunch of issues when itClaudio Jeker
2020-03-23Check the outcome of ktrstart() and skip tracing if the trace fileVisa Hankala
2020-03-23Prevent tsleep(9) with PCATCH from returning immediately without errorVisa Hankala
2020-03-22remove unused variable; ok beck@ mpi@anton
2020-03-21Stop tracing if vget(9) fails.Martin Pieuchot
2020-03-20futex(2): futex_wait(): ensure timeout is set when calling rwsleep_nsec(9)cheloha
2020-03-20__thrsleep(2): ensure timeout is set when calling tsleep_nsec(9)cheloha
2020-03-20Use atomic operations to update ps_singlecount. This makesClaudio Jeker
2020-03-20__thrsleep(2): fix absolute timeout checkcheloha
2020-03-20kevent(2): tsleep(9) -> tsleep_nsec(9)cheloha
2020-03-20poll(2), ppoll(2), pselect(2), select(2): tsleep(9) -> tsleep_nsec(9)cheloha
2020-03-20nanosleep(2): tsleep(9) -> tsleep_nsec(9)cheloha
2020-03-19Separate variable declaration and assignment. No functional change.anton
2020-03-19Move unveil data structures away from the proc.h header into theanton
2020-03-18regenanton
2020-03-18Unlock flock(2).anton
2020-03-18Restart child process scan in dowait4() if single_thread_wait() sleeps.Visa Hankala
2020-03-16Keep track of traced child under a list of orphans while they are beingMartin Pieuchot
2020-03-15Fix memory corruption with kern.witness.locktrace.Visa Hankala
2020-03-13Initialize sls_sig to 0 and not 1. sls_sig stores the signal number of aClaudio Jeker
2020-03-13In order to unlock flock(2), make writes to the f_iflags field of structanton
2020-03-13Simplify logic, the "netboot" interface is always related to `bootdv'.Martin Pieuchot
2020-03-13Rename "sigacts" flag field to avoid conflict with the "process" one.Martin Pieuchot
2020-03-12Revert previous. Something in it causes unexpected slowdown.Visa Hankala
2020-03-12Enable caching when turning a synchronous write into a delayed write.Visa Hankala
2020-03-11Fix unlimited recursion caused by local outbound bcast/mcast packetAlexandr Nedvedicky
2020-03-11Move the sigprop definition and the other bits under SIGPROP intoClaudio Jeker
2020-03-10regenanton
2020-03-10Unlock fcntl(2).anton
2020-03-09Return EINVAL for KERN_PROC if the size parameter is 0.Todd C. Miller
2020-03-05The 'lock spun out' db_printf needs a newline. All other MP_LOCKDEBUGClaudio Jeker
2020-03-04Make an assertion free from side effects. The intention was probably toanton
2020-03-04Grab a reference for the shared memory segment before calling uvm_map()anton
2020-03-02Fix use of WITNESS_UNLOCK() in rw_exit_read() and rw_exit_write().Visa Hankala
2020-03-02msleep() and rwsleep() allow to release the lock when going toAlexander Bluhm
2020-03-01Do not reparent a traced child to ourself inside wait(2).Martin Pieuchot
2020-02-28Revert previous, diff contains an obvious bug.Martin Pieuchot
2020-02-26Release the file descriptor table lock before calling closef()Visa Hankala
2020-02-25Start the SMR thread when all CPUs are ready for scheduling. ThisVisa Hankala
2020-02-25Keep function definitions in a single place.Martin Pieuchot