summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
AgeCommit message (Expand)Author
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
2016-10-08initialize the port variable before sysctl, since it's also read out.Ted Unangst
2016-10-07introduce a sysctl to hijack dns sockets. when set to a port number,Ted Unangst
2016-10-02Add va_nlink information to struct kinfo_file (so bump the shlib minor)Philip Guenther
2016-09-25Make a move towards ending 4 decades of kernel snooping.Theo de Raadt
2016-09-21sysctl KERN_ARND is no longer used (in ports, it only occurs in fallbackTheo de Raadt
2016-09-18option INSECURE is obsoleteTheo de Raadt
2016-09-07Remove usermount remnants. ok teduMartin Natano
2016-09-04Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernelMartin Pieuchot
2016-08-23rename nfiles to numfiles to avoid shadowing and stretch out the name.Ted Unangst
2016-07-14kern.usermount=1 is unsafe for everyone, since it allows any non-pledgedTheo de Raadt
2016-05-27W^X violations are no longer permitted by default. A kernel log messageTheo de Raadt
2016-05-23remove the sysctl kern.random counters, since none of the remainingTheo de Raadt
2016-05-21Cleanup some of the DUID code and refactor for readability.Joel Sing
2016-05-04Make KERN_FILE_BYPID return ESRCH when PID not found, both in sysctl andVadim Zhukov
2016-04-25boom goes the dynamiteTed Unangst
2016-02-29delete the kern.emul/KERN_EMUL sysctl bits since there are noChristian Weisgerber
2015-12-05Make sure we use the same cpu numbering for the kern.cptime2 sysctl as weMark Kettenis
2015-11-01refactor pledge_*_check and pledge_fail functionsSebastien Marie
2015-10-25Fold "malloc" into "stdio" and -- recognizing that no program so far hasTheo de Raadt
2015-10-09Rename tame() to pledge(). This fairly interface has evolved to be moreTheo de Raadt
2015-09-28track sizes for free in sysctl_diskinit(); ok krwTheo de Raadt
2015-09-13Rename __sysctl syscall to just sysctl, as the userland wrapper is no longerPhilip Guenther
2015-09-11Convert _TM_ flags to TAME_ flags, collapsing the entire mappingTheo de Raadt
2015-09-11Only include <sys/tame.h> in the .c files that need itPhilip Guenther
2015-09-10sizes for free(); ok sthenTheo de Raadt
2015-09-03Fix !INET6 build.Martin Pieuchot
2015-08-28Rework the UNIX domain socket garbage collector, including ideas fromPhilip Guenther
2015-08-22Move to tame(int flags, char *paths[]) API/ABI.Theo de Raadt
2015-08-03Unfortunately netstat did not show sockets without file descriptorsAlexander Bluhm
2015-07-19tame(2) is a subsystem which restricts programs into a "reduced featureTheo de Raadt
2015-05-18For each file in sysctl(KERN_FILE_BYFILE), FILLIT() calls fill_file(),Alexander Bluhm
2015-03-28Replace the hand-crafted list of datagram unix domain sockets withAlexander Bluhm
2015-02-11Extend struct kinfo_file a bit so that netstat has all the info it needs.Claudio Jeker
2015-02-11Prefer arg != 0 over arg for non-boolean. nitted kettenis@Philip Guenther
2015-02-11sysctl({CTL_KERN, KERN_FILE, KERN_FILE_BYFILE}) previously requiredPhilip Guenther
2015-02-09Change the way stackgap_random is applied. Instead of applying it within theMiod Vallat
2015-01-20Move ps_strings "after" the random stackgap. This makes its location aMark Kettenis
2015-01-13Add dmesg -s support, to view the output of rc(8) system startup messages.Marco Pfatschbacher
2014-12-12sysctl kern.global_ptrace.Ted Unangst
2014-12-12sysctl_proc_vmmap(): Allow retrieving "self" VM mapping without privilege.Masao Uebayashi