summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
AgeCommit message (Expand)Author
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
2019-05-22Read and assign the integer value only once. With this sysctl_int() willClaudio Jeker
2019-05-09Add a sysctl accessor to struct pf_status. The pf_status only holds theClaudio Jeker
2019-01-29Add a dedicated sysctl(2) node for witness(4).Visa Hankala
2019-01-19Move boottime into the timehands.cheloha
2018-11-19delete the dns jackport experiment. it has no future.Ted Unangst
2018-11-17Add new KERN_CPUSTATS sysctl(2) so we can identify offline CPUs.cheloha
2018-10-05Revert KERN_CPTIME2 ENODEV changes in kernel and userspace.cheloha
2018-10-04Revert the inpcb table mutex commit. It triggers a witness panicAlexander Bluhm
2018-09-26KERN_CPTIME2: set ENODEV if the CPU is offline.cheloha
2018-09-20As a step towards per inpcb or socket locks, remove the net lockAlexander Bluhm
2018-07-12Add hw.ncpuonline to count the number of online CPUs.cheloha
2018-07-02Update the file reference count field `f_count' using atomic operationsVisa Hankala
2018-07-01Lock the file descriptor table when accessing the `fd_ofileflags' array.Visa Hankala
2018-06-20Unlock sendmsg(2) and sendto(2).Martin Pieuchot
2018-06-19SMT (Simultanious Multi Threading) implementations typically shareMark Kettenis
2018-06-02Move the declarations of the raw ip and ip6 pcb tables into theAlexander Bluhm
2018-05-27Add missing #include "audio.h" needed for the NAUDIO macro.Alexandre Ratchov
2018-05-26Condition the new audio_record_enable pieces on NAUDIO > 0, fixingStuart Henderson
2018-05-26In addition to "on" and "off", allow the audio "record.enable" mixerAlexandre Ratchov
2018-05-16Add kern.witnesswatch sysctl for controlling witness(4). By default,Visa Hankala
2018-05-08Use fd_getfile() in sysctl_file() instead of rewriting it.Martin Pieuchot
2018-05-08Change fd_iterfile() to not return imature fps instead of skipping themMartin Pieuchot
2018-05-08Protect per-file counters and document which lock is used to protectMartin Pieuchot
2018-04-25Introduce fd_iterfile() a new helper function to iterate over `filehead'.Martin Pieuchot
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.Philip Guenther
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-06-20Do not touch file pointers for which FILE_IS_USABLE() is false.Gerhard Roth
2017-06-14tweak sysctl_string and sysctl_tstring to use size_t for lengths, not intDavid Gwynne
2017-06-13use size_t for the size of things in memory, not int.David Gwynne
2017-05-06Do not export the protocol PCB pointer from kernel to non-root usersAlexander Bluhm
2017-04-27Enforce that sysctl kern.somaxconn and sominconn can only be setAlexander Bluhm