summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
AgeCommit message (Expand)Author
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
2014-12-10convert bcopy to memcpy. ok millertTed Unangst
2014-12-05Allow only root to use KERN_PROC_VMMAP until it is really proven safe.Masao Uebayashi
2014-12-05Introduce a new sysctl to retrieve VM map entriesMasao Uebayashi
2014-11-19missed a file when removing KERN_VNODE.Ted Unangst
2014-11-19delete the KERN_VNODE sysctl. it fails to provide any isolation from theTed Unangst
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
2014-11-03Put the socket splicing fields into a seperate struct sosplice thatAlexander Bluhm
2014-11-01add a few sizes to freeTed Unangst
2014-10-17redo the performance throttling in the kernel.Ted Unangst
2014-10-11back out; does not even compileTheo de Raadt
2014-10-11resurrect a many year old diff. move CPU throttling into the kernel,Ted Unangst
2014-09-15Remove non-standard <sys/dkstat.h> header. It has not contained anythingMiod Vallat
2014-09-04Remove global cp_time[] array; no longer used now that all arches implementMiod Vallat
2014-08-20Bye bye /dev/cryptoMike Belopuhov
2014-08-18dont rely on mbuf.h to provide pool.h.David Gwynne
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2014-07-17zero random buf for sysctl too, just in caseTed Unangst
2014-07-13Introduce PS_NOBROADCASTKILL a process flag that excludes processes fromClaudio Jeker