summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sysctl.c
AgeCommit message (Expand)AuthorFilesLines
2020-06-22there's not going to be any whole kernel wide network livelocks soon.dlg1-3/+2
2020-05-29rndvar.h not needed herederaadt1-2/+1
2020-03-09Return EINVAL for KERN_PROC if the size parameter is 0.millert1-2/+2
2020-01-24New `kern.allowdt' button must be set to open(2) /dev/dt.mpi1-5/+8
2020-01-02Exclude offline cpus in KERN_CPTIME calculation. Without this too highclaudio1-3/+6
2019-12-11Replace p_xstat with ps_xexit and ps_xsigguenther1-1/+2
2019-10-22struct proc: change ps_start from utc time to uptimecheloha1-2/+8
2019-08-21sysctl(2): add kern.utc_offset: successor to the DST/TIMEZONE options(4)cheloha1-1/+35
2019-08-05Allow concurrent reads of the f_offset field of struct file byanton1-2/+2
2019-07-16Prevent integer overflow in kernel and userland when checking mbufbluhm1-7/+7
2019-07-12Revert anton@ changes about read/write unlockingsolene1-2/+2
2019-07-12sysctl(2): add KERN_TIMEOUT_STATS: timeout(9) status and statistics.cheloha1-1/+3
2019-07-10Make read/write of the f_offset field belonging to struct file MP-safe;anton1-2/+2
2019-06-16In previous commit I forgot a net unlock if the PCB of the socketbluhm1-2/+5
2019-06-13When tcp_close() is running in parallel with fill_file(), the kernelbluhm1-2/+17
2019-06-01Revert to using the SCHED_LOCK() to protect time accounting.mpi1-3/+1
2019-05-31Use a per-process mutex to protect time accounting instead of SCHED_LOCK().mpi1-1/+3
2019-05-22Read and assign the integer value only once. With this sysctl_int() willclaudio1-3/+7
2019-05-09Add a sysctl accessor to struct pf_status. The pf_status only holds theclaudio1-1/+6
2019-01-29Add a dedicated sysctl(2) node for witness(4).visa1-1/+5
2019-01-19Move boottime into the timehands.cheloha1-2/+2
2018-11-19delete the dns jackport experiment. it has no future.tedu1-11/+1
2018-11-17Add new KERN_CPUSTATS sysctl(2) so we can identify offline CPUs.cheloha1-1/+35
2018-10-05Revert KERN_CPTIME2 ENODEV changes in kernel and userspace.cheloha1-3/+1
2018-10-04Revert the inpcb table mutex commit. It triggers a witness panicbluhm1-26/+11
2018-09-26KERN_CPTIME2: set ENODEV if the CPU is offline.cheloha1-1/+3
2018-09-20As a step towards per inpcb or socket locks, remove the net lockbluhm1-11/+26
2018-07-12Add hw.ncpuonline to count the number of online CPUs.cheloha1-1/+4
2018-07-02Update the file reference count field `f_count' using atomic operationsvisa1-3/+1
2018-07-01Lock the file descriptor table when accessing the `fd_ofileflags' array.visa1-2/+5
2018-06-20Unlock sendmsg(2) and sendto(2).mpi1-1/+3
2018-06-19SMT (Simultanious Multi Threading) implementations typically sharekettenis1-1/+5
2018-06-02Move the declarations of the raw ip and ip6 pcb tables into thebluhm1-5/+1
2018-05-27Add missing #include "audio.h" needed for the NAUDIO macro.ratchov1-1/+3
2018-05-26Condition the new audio_record_enable pieces on NAUDIO > 0, fixingsthen1-2/+9
2018-05-26In addition to "on" and "off", allow the audio "record.enable" mixerratchov1-1/+20
2018-05-16Add kern.witnesswatch sysctl for controlling witness(4). By default,visa1-1/+6
2018-05-08Use fd_getfile() in sysctl_file() instead of rewriting it.mpi1-7/+5
2018-05-08Change fd_iterfile() to not return imature fps instead of skipping themmpi1-4/+2
2018-05-08Protect per-file counters and document which lock is used to protectmpi1-1/+3
2018-04-25Introduce fd_iterfile() a new helper function to iterate over `filehead'.mpi1-18/+5
2018-02-19Remove almost unused `flags' argument of suser().mpi1-12/+12
2018-01-02Stop assuming <sys/file.h> will pull in fcntl.h when _KERNEL is defined.guenther1-1/+2
2017-08-11Remove NET_LOCK()'s argument.mpi1-4/+3
2017-06-20Do not touch file pointers for which FILE_IS_USABLE() is false.gerhard1-1/+2
2017-06-14tweak sysctl_string and sysctl_tstring to use size_t for lengths, not intdlg1-5/+6
2017-06-13use size_t for the size of things in memory, not int.dlg1-4/+5
2017-05-06Do not export the protocol PCB pointer from kernel to non-root usersbluhm1-2/+3
2017-04-27Enforce that sysctl kern.somaxconn and sominconn can only be setbluhm1-5/+21
2017-04-05timeval has trailing padding on powerpc and m88k, so memset it beforeguenther1-1/+2