summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2022-03-31Move knote_processexit() call from exit1() to the reaper().Todd C. Miller
2022-03-27sys/vnode.h cleanup for vnode_hold_list, vnode_free_list, struct freelstSebastien Marie
2022-03-25add an exception to the CPU_ID_AA64ISAR0 in pledged applications so thatRobert Nagy
2022-03-21Header netinet/in_pcb.h includes sys/mutex.h now. Recommit mutexAlexander Bluhm
2022-03-18Cleanup reference counting. Remove #ifdef DIAGNOSTIC to keep theAlexander Bluhm
2022-03-18Use the refcnt API with struct plimit.Visa Hankala
2022-03-17Use the refcnt API with struct ucred.Visa Hankala
2022-03-16Remove an unneeded include.Visa Hankala
2022-03-16Use the refcnt API in kqueue.Visa Hankala
2022-03-16Add refcnt_shared() and refcnt_read()Visa Hankala
2022-03-14Unbreak the tree, revert commitid aZ8fm4iaUnTCc0ulTheo Buehler
2022-03-14pf_socket_lookup() calls in_pcbhashlookup() in the PCB layer. ToAlexander Bluhm
2022-03-11Revert part of rev 1.293. Using cursig() to deliver masked signalsClaudio Jeker
2022-03-10Use atomic load and store functions to access refcnt and waitAlexander Bluhm
2022-02-25Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.comPhilip Guenther
2022-02-25add setrtable to pledge("id"). from Matthew MartinTed Unangst
2022-02-25Move pr_attach and pr_detach to a new structure pr_usrreqs that canPhilip Guenther
2022-02-24regenVitaliy Makkoveev
2022-02-24Unlock getsockname(2) syscall. For inet and UNIX sockets it fills passedVitaliy Makkoveev
2022-02-22Since other exported commandnames were increased to 24 and graduated intoTheo de Raadt
2022-02-22Start using new _MAXCOMLEN (a proper string expanded to 24 bytesTheo de Raadt
2022-02-22Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>Philip Guenther
2022-02-21anscestors -> ancestorsJonathan Gray
2022-02-21consisitent -> consistentJonathan Gray
2022-02-21expliclitly -> explicitlyJonathan Gray
2022-02-19The suspend/resume code sleeps-not-allowed phases are protected withTheo de Raadt
2022-02-19tsleep() prints a stack trace when cold==2. The suspend/resume code hasTheo de Raadt
2022-02-17Writes to the ps_flags field of struct process should be atomic.Rob Pierce
2022-02-16return unique errors (I chose some errno values.. ) for the variousTheo de Raadt
2022-02-16Reduce code duplication in socket event filters.Visa Hankala
2022-02-16unifdef PROC_PCJonathan Gray
2022-02-16If the lid is closed, suspend_finish() now returns EAGAIN, so go to the topTheo de Raadt
2022-02-16change MD gosleep() and sleep_finish() to return int, the MI code will beTheo de Raadt
2022-02-15Reintroduce ps state flag 'c' indicating chrooted process (via PS_BITS).Rob Pierce
2022-02-15Since acpitoshiba brightness button processing no longer plays gamesTheo de Raadt
2022-02-15when the MI suspend code encounters problems, we need a way toTheo de Raadt
2022-02-15unifdef TIOCHPCL, 4.3BSD compat ioctlJonathan Gray
2022-02-15MI disable_lid_wakeups() is not needed, x86 systems can do thisTheo de Raadt
2022-02-14Introduce a signal context that is used to pass signal related informationClaudio Jeker
2022-02-14update sbchecklowmem() to better detect actual mbuf memory usage.David Gwynne
2022-02-13Move some MI pieces out of suspend_mp/resume_mpTheo de Raadt
2022-02-13Use knote_modify() and knote_process() in obvious places.Visa Hankala
2022-02-13Rename knote_modify() to knote_assign()Visa Hankala
2022-02-12Reduce code duplication in pipe event filtersVisa Hankala
2022-02-11Inline klist_empty() for more economic machine code.Visa Hankala
2022-02-11the sleep_clocks() hook is not needed because the architectures whichTheo de Raadt
2022-02-10Duplicate "park disk" code, so that the SUSPEND case can be MI, it is onlyTheo de Raadt
2022-02-08The suspend/resume code is a sticky mess of MI, MD, and ACPI sequencing.Theo de Raadt
2022-02-08use sizeof(long) - 1 in m_pullup to determine payload alignment.David Gwynne
2022-02-08poll(2): Switch to kqueue backendVisa Hankala