summaryrefslogtreecommitdiff
path: root/sys/kern
AgeCommit message (Expand)Author
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
2022-11-19Push kernel lock into pru_control() aka. in6_control() / in_control()Klemens Nanni
2022-11-17stack growth from setrlimit was never updated to set UVM_ET_STACK onTheo de Raadt
2022-11-15style(9) fix. No functional change.Vitaliy Makkoveev
2022-11-14Fix tag type and buffer limit in DT_TEXTREL lookup.Visa Hankala
2022-11-13Split out handlers for SOCK_DGRAM unix(4) sockets from SOCK_STREAM andVitaliy Makkoveev
2022-11-11Revert last until we can guarantee gh_guid can't escape to theKenneth R Westerback
2022-11-11timeout(9): remove timeout_set_kclock(), TIMEOUT_INITIALIZER_KCLOCK()Scott Soule Cheloha
2022-11-11Use the first 8 bytes of GPT gh_guid as the default d_uid. gh_guid isKenneth R Westerback
2022-11-10Add mbr_get_fstype() and use it to translate MBR dp_typ fieldsKenneth R Westerback
2022-11-10Put CPUs in the lowest P-state just before the final suspend step. TheMark Kettenis
2022-11-10Add support for per-cpu event counters, to be used for clock and IPIJonathan Matthew
2022-11-10fix build after 1.298Jonathan Gray
2022-11-09Remove kernel lock here since msleep() with PCATCH no longer requires it.Claudio Jeker
2022-11-09Some limited setsockopt/getsockopt are allowed in pledge "stdio".Theo de Raadt
2022-11-09Simplify the overly complex VXLOCK handling in spec_close.Claudio Jeker
2022-11-09timeout(9): remove TIMEOUT_KCLOCK flagScott Soule Cheloha
2022-11-09regenMartin Pieuchot
2022-11-09gpt_get_fstype() doesn't modify its parameter so make saidKenneth R Westerback
2022-11-09Mark sched_yield(2) as NOLOCK.Martin Pieuchot