summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
AgeCommit message (Expand)Author
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
2017-04-05timeval has trailing padding on powerpc and m88k, so memset it beforePhilip Guenther
2017-04-05Here at OpenBSD we change ABIs at the fling of a hat. Just in case aTheo de Raadt
2017-03-07Enforce that tcbtable and udbtable must be accessed with the NET_LOCK().Martin Pieuchot
2017-01-21p_comm is the process's command and isn't per thread, so move it fromPhilip Guenther
2016-11-11Export p_cpuid via sysctl for all processes; ok guentherMike Belopuhov
2016-11-07Split PID from TID, giving processes a PID unrelated to the TID of theirPhilip Guenther
2016-10-24move the mbstat structure to percpu countersDavid Gwynne
2016-10-22Factor out pr->ps_vmspace into a local variable for fill_kproc()Philip Guenther
2016-10-08upon further review, port numbers go all the way up to ushort maxTed Unangst