aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_rctl.c
Commit message (Expand)AuthorAgeFilesLines
* Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (1 of many)Pawel Biernacki2020-02-151-5/+10
* call racct_proc_ucred_changed() under the proc lockAndriy Gapon2018-04-201-2/+5
* sys/kern: adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
* sys/kern: spelling fixes in comments.Pedro F. Giffuni2016-04-291-1/+1
* Get rid of rctl_lock; use racct_lock where appropriate. The fast pathsEdward Tomasz Napierala2016-04-211-68/+44
* kern_rctl: Fix resource leak in error pathConrad Meyer2016-04-201-0/+1
* Fix debugging printf.Edward Tomasz Napierala2016-04-191-2/+3
* Allocate RACCT/RCTL zones without UMA_ZONE_NOFREE; no idea why it was thereEdward Tomasz Napierala2016-04-151-2/+2
* Sort variable declarations.Edward Tomasz Napierala2016-04-151-34/+30
* Fix overflow checking.Edward Tomasz Napierala2016-04-121-8/+2
* Make it possible to tweak RCTL throttling sysctls at runtime.Edward Tomasz Napierala2016-04-081-17/+110
* Add four new RCTL resources - readbps, readiops, writebps and writeiops,Edward Tomasz Napierala2016-04-071-22/+192
* Use proper locking macros in RACCT in RCTL.Edward Tomasz Napierala2016-04-051-38/+44
* Add configurable rate limit for "log" and "devctl" actions.Edward Tomasz Napierala2016-04-021-3/+14
* Refactor; no functional changes.Edward Tomasz Napierala2016-03-311-24/+24
* Fix overflows, making it impossible to add negative amounts using rctl(8).Edward Tomasz Napierala2016-03-311-1/+9
* Fix the way RCTL handles rules' rrl_exceeded on credenials change.Edward Tomasz Napierala2016-01-261-0/+5
* Tweak comments.Edward Tomasz Napierala2015-12-131-1/+1
* Speed up rctl operation with large rulesets, by holding the lockEdward Tomasz Napierala2015-11-151-13/+34
* Make naming more consistent; no functional changes.Edward Tomasz Napierala2015-11-081-4/+4
* Speed up rctl(8) rule retrieval; the difference shows mostly in "rctl -n",Edward Tomasz Napierala2015-11-081-17/+29
* Add kern.racct.enable tunable and RACCT_DISABLED config option.Edward Tomasz Napierala2015-04-291-0/+69
* Add CPU percentage limit enforcement to RCTL. The resouce name is "pcpu".Edward Tomasz Napierala2012-10-261-0/+48
* Stop treating system processes as special. This fixes panicsEdward Tomasz Napierala2012-04-171-25/+1
* Enforce upper bound on the input buffer length.Edward Tomasz Napierala2012-04-171-0/+3
* Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs.Ed Schouten2011-11-071-1/+1
* Fix another bug introduced in r225641, which caused rctl to access certainEdward Tomasz Napierala2011-10-031-11/+16
* In order to maximize the re-usability of kernel code in user space thisKip Macy2011-09-161-11/+11
* Fix whitespace.Edward Tomasz Napierala2011-09-071-1/+1
* Work around a kernel panic triggered by forkbomb with an rctl ruleEdward Tomasz Napierala2011-09-061-0/+11
* Since r224036 the cputime and wallclock are supposed to be in seconds,Edward Tomasz Napierala2011-09-041-2/+2
* Rename resource names to match these in login.conf.Edward Tomasz Napierala2011-07-141-15/+15
* Style fix - macros are supposed to be uppercase.Edward Tomasz Napierala2011-07-071-6/+6
* Remove definitions for RACCT_FSIZE and RACCT_SBSIZE - these two are ratherEdward Tomasz Napierala2011-05-271-2/+0
* Change the way rctl interfaces with jails by introducing prison_racctEdward Tomasz Napierala2011-05-031-58/+37
* Rename a misnamed structure field (hr_loginclass), and reorder priv(9)Edward Tomasz Napierala2011-04-101-19/+19
* Add rctl. It's used by racct to take user-configurable actions basedEdward Tomasz Napierala2011-03-301-0/+1850