summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
2023-02-11__syscall() is no longer neccessary since the system calls which neededTheo de Raadt
2023-02-10Adjust knote(9) APIVisa Hankala
2023-02-10Remove explicit rejection of zero duid in disk_map() added in 1.262.Miod Vallat
2023-02-09Delay setting the timestamp in the ktrace header until we've grabbedPhilip Guenther
2023-02-04kernel: stathz is always non-zero after cpu_initclocks()Scott Soule Cheloha
2023-02-04timecounting: remove incomplete PPS supportScott Soule Cheloha
2023-02-02Move the rest of common socket initialization within soalloc().Vitaliy Makkoveev
2023-01-31On systems without xonly mmu hardware-enforcement, we can still mitigateTheo de Raadt
2023-01-27Push solock() down to sogetopt(). It is not required for the most cases.Vitaliy Makkoveev
2023-01-27Replace selinfo structure by klist in sockbuf. No reason to keep it,Vitaliy Makkoveev
2023-01-24ptrace reads/writes memory using uvm_io, which generates an temporaryTheo de Raadt
2023-01-23Move SS_ISSENDING flag to `sb_state'. It should belong to the sendVitaliy Makkoveev
2023-01-23In somove() rename `state' variable to `rcvstate' to make code moreVitaliy Makkoveev
2023-01-22Move SS_CANTRCVMORE and SS_RCVATMARK bits from `so_state' to `sb_state' ofVitaliy Makkoveev
2023-01-21Introduce per-sockbuf `sb_state' to use it with SS_CANTSENDMORE.Vitaliy Makkoveev
2023-01-16Currently we disable kbind(2) for static program from libc.a'sPhilip Guenther
2023-01-14sysctl(2): KERN_CPUSTATS: zero struct cpustats before copyoutScott Soule Cheloha
2023-01-13Since the signal trampoline is now execute-only we no longer write itMark Kettenis
2023-01-12Use solock() instead solock_shared() within sys_getsockopt(). OtherwiseVitaliy Makkoveev
2023-01-09setthrname() should return EINVAL, not ENAMETOOLONG, when thePhilip Guenther
2023-01-07regenPhilip Guenther
2023-01-07Add {get,set}thrname(2) for putting thread names in the kernel andPhilip Guenther
2023-01-06Replace last user of copystr() with strlcpy(). NFCIMiod Vallat
2023-01-05after a few trap.c were fixed to fault with the right access, theTheo de Raadt
2023-01-02Add tfind_user(), for getting a proc* given a user-space TID andPhilip Guenther
2023-01-01copyright++;Jonathan Gray
2022-12-31timeout: rename "timeout_at_ts" to "timeout_abs_ts"Scott Soule Cheloha
2022-12-31sysctl_clockintr: clear "sum" with memset before copyout(9)Scott Soule Cheloha
2022-12-29Add ktrace struct tracepoints for siginfo_t to the kernel side ofPhilip Guenther
2022-12-27Fix array bounds mismatch with clang 15Patrick Wildt
2022-12-26Replace two (void)copystr(..., NULL) with equivalent (void)strlcpy() calls.Miod Vallat
2022-12-23wrap a line betterTheo de Raadt
2022-12-21The location of the aux info vector is now cached in ps_auxinfo of structClaudio Jeker
2022-12-21fix a mangled commentTheo de Raadt
2022-12-19Add WTRAPPED opiton for waitid(2) to control whether CMD_TRAPPEDPhilip Guenther
2022-12-17regen after minherit(2) unlockKlemens Nanni
2022-12-17Unlock minherit(2)Klemens Nanni
2022-12-13timecounting: add getbinruntime(), getnsecruntime()Scott Soule Cheloha
2022-12-12Revert sb_state changes to unbreak tree.Theo Buehler
2022-12-11This time, socket's buffer lock requires solock() to be held. As a part ofVitaliy Makkoveev
2022-12-07Document 'uidinfo' structure locks.Vitaliy Makkoveev
2022-12-07If the called of ypconnect(2) is root, the socket should acquire aTheo de Raadt
2022-12-05zap a pile of dangling tabsTheo de Raadt
2022-12-05Avoid event counter re-insert in evcount_percpu()Visa Hankala
2022-11-30Use shared socket/net lock for IP socketsKlemens Nanni
2022-11-30regenVitaliy Makkoveev
2022-11-30Unlock getsockopt(2) and setsockopt(2). Unlock them both because atVitaliy Makkoveev
2022-11-28Simplify return path of (*pr_ctloutput)() return value in sogetopt().Vitaliy Makkoveev
2022-11-26Merge uipc_bind() with unp_bind(). Unlike other unp_*() functions,Vitaliy Makkoveev
2022-11-23cache ps_auxinfo inside the kernel, to avoid codedump() reading theMoritz Buhl