summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
AgeCommit message (Expand)Author
2022-08-16Remove obsolete kern.nselcoll sysctl.Visa Hankala
2022-08-14remove unneeded includes in sys/kernJonathan Gray
2022-07-26Only allow changing the domainname (from empty) before securelevel increase.Theo de Raadt
2022-07-05Remove old poll/select wakeup mechanism.Visa Hankala
2022-03-21Header netinet/in_pcb.h includes sys/mutex.h now. Recommit mutexAlexander Bluhm
2022-03-14Unbreak the tree, revert commitid aZ8fm4iaUnTCc0ulTheo Buehler
2022-03-14pf_socket_lookup() calls in_pcbhashlookup() in the PCB layer. ToAlexander Bluhm
2022-01-25Capture a repeated pattern into sysctl_securelevel_int functionGreg Steuck
2021-12-23Use TAILQ_FOREACH to traverse the disk list in sysctl_diskinit().Alexander Bluhm
2021-12-22While malloc sleeps, the disk list could change during sysctl. ThenAlexander Bluhm
2021-10-30Change hw.perfpolicy=auto by default, at startup. If the system has ACTheo de Raadt
2021-10-24use NULL not 0 for pointer values in kernJonathan Gray
2021-05-04Reorder the integer sysctl functions. Then the traditional 4.4BSDAlexander Bluhm
2021-05-04As the unbouded feature in sysctl_int_bounded() is no longer used,Alexander Bluhm
2021-05-01Update the remaining SYSCTL_INT_READONLY casesgnezdo
2021-04-30Rearrange the implementation of bounded sysctl. The primitiveAlexander Bluhm
2021-04-23Remove the sysctl kern.allowdt code from kernel if dt(4) is notAlexander Bluhm
2021-02-08Revert the convertion of per-process thread into a SMR_TAILQ.Martin Pieuchot
2021-01-17Cache parent's pid as `ps_ppid' and use it instead of `ps_pptr->ps_pid'.mvs
2021-01-09Split hierarchical calls into kern_sysctl_dirsgnezdo
2021-01-09Reduce case duplication in kern_sysctlgnezdo
2020-12-28Analog to the the kern.audio.record sysctl parameter for audio(4)Marcus Glocker
2020-12-07Convert the per-process thread list into a SMR_TAILQ.Martin Pieuchot
2020-11-16Convert hw_sysctl to sysctl_bounded_argsgnezdo
2020-11-16Convert kern_sysctl to sysctl_bounded_argsgnezdo
2020-11-07Convert ffs_sysctl to sysctl_bounded_argsgnezdo
2020-10-19Serialize accesses to "struct vmspace" and document its refcounting.Martin Pieuchot
2020-09-01Remove unused sysctl_int_arr(9)gnezdo
2020-08-23Remove unused debug_syncprt, improve debug sysctl handlingkn
2020-08-22Move sysctl(2) CTL_DEBUG from DEBUG to new DEBUG_SYSCTLkn
2020-08-18Style fixups from hurried commitsgnezdo
2020-08-18Add sysctl_bounded_arr as a replacement for sysctl_int_arrgnezdo
2020-08-01Move range check inside sysctl_int_arrgnezdo
2020-06-22there's not going to be any whole kernel wide network livelocks soon.David Gwynne
2020-05-29rndvar.h not needed hereTheo de Raadt
2020-03-09Return EINVAL for KERN_PROC if the size parameter is 0.Todd C. Miller
2020-01-24New `kern.allowdt' button must be set to open(2) /dev/dt.Martin Pieuchot
2020-01-02Exclude offline cpus in KERN_CPTIME calculation. Without this too highClaudio Jeker
2019-12-11Replace p_xstat with ps_xexit and ps_xsigPhilip Guenther
2019-10-22struct proc: change ps_start from utc time to uptimecheloha
2019-08-21sysctl(2): add kern.utc_offset: successor to the DST/TIMEZONE options(4)cheloha
2019-08-05Allow concurrent reads of the f_offset field of struct file byanton
2019-07-16Prevent integer overflow in kernel and userland when checking mbufAlexander Bluhm
2019-07-12Revert anton@ changes about read/write unlockingsolene
2019-07-12sysctl(2): add KERN_TIMEOUT_STATS: timeout(9) status and statistics.cheloha
2019-07-10Make read/write of the f_offset field belonging to struct file MP-safe;anton
2019-06-16In previous commit I forgot a net unlock if the PCB of the socketAlexander Bluhm
2019-06-13When tcp_close() is running in parallel with fill_file(), the kernelAlexander Bluhm
2019-06-01Revert to using the SCHED_LOCK() to protect time accounting.Martin Pieuchot
2019-05-31Use a per-process mutex to protect time accounting instead of SCHED_LOCK().Martin Pieuchot