summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
AgeCommit message (Expand)Author
2024-01-19Backout priterator() for walking allprocess list.Alexander Bluhm
2024-01-18Use solock() instead of netlock within fill_file(). This makes allVitaliy Makkoveev
2024-01-15Introduce priterator(), the `ps_list' iterator. Some of `allprocess'Vitaliy Makkoveev
2024-01-10Split UDP PCB table into IPv4 and IPv6.Alexander Bluhm
2023-10-01Add sysctl hw.ucomnames to list 'fixed' paths to USB serialKenneth R Westerback
2023-09-16Allow counters_read(9) to take an optional scratch buffer.Martin Pieuchot
2023-07-16Make the mbstat preserve the same size which is actually used. AlsoYASUOKA Masahiko
2023-07-07Expand the counters in struct mbstat from u_short to u_long. UseAlexander Bluhm
2023-07-02all platforms, kernel: remove __HAVE_CLOCKINTR symbolScott Soule Cheloha
2023-05-21In sysctl_hwchargestop() check that hw_battery_setchargestop is setClaudio Jeker
2023-05-18Backout sysctl(2) unlocking. Lock order issue was triggered in UVMVitaliy Makkoveev
2023-05-17Implement battery management sysctl. This will provide a set of sysctlsMark Kettenis
2023-05-04Push kernel lock deep down to sys_sysctl(). At least network subset ofVitaliy Makkoveev
2023-01-22Move SS_CANTRCVMORE and SS_RCVATMARK bits from `so_state' to `sb_state' ofVitaliy Makkoveev
2023-01-21Introduce per-sockbuf `sb_state' to use it with SS_CANTSENDMORE.Vitaliy Makkoveev
2023-01-14sysctl(2): KERN_CPUSTATS: zero struct cpustats before copyoutScott Soule Cheloha
2022-11-07introduce a new kern.autoconf_serial sysctl that can be used by userlandRobert Nagy
2022-11-05clockintr(9): initial commitScott Soule Cheloha
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