summaryrefslogtreecommitdiffstats
path: root/sys/kern/syscalls.master
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2011-03-30 17:48:15 +0000
committertrasz <trasz@FreeBSD.org>2011-03-30 17:48:15 +0000
commit2f99052d800b2fbdeb6cd69bde81a6750d069286 (patch)
tree78b8ca334c1e0966031441c8f920e6d36aac7eae /sys/kern/syscalls.master
parent3656a76a3a199d2f7ae4e5758864d147ac0e6b3c (diff)
downloadFreeBSD-src-2f99052d800b2fbdeb6cd69bde81a6750d069286.zip
FreeBSD-src-2f99052d800b2fbdeb6cd69bde81a6750d069286.tar.gz
Add rctl. It's used by racct to take user-configurable actions based
on the set of rules it maintains and the current resource usage. It also privides userland API to manage that ruleset. Sponsored by: The FreeBSD Foundation Reviewed by: kib (earlier version)
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r--sys/kern/syscalls.master15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index b204254..e209731 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -929,5 +929,20 @@
523 AUE_NULL STD { int getloginclass(char *namebuf, \
size_t namelen); }
524 AUE_NULL STD { int setloginclass(const char *namebuf); }
+525 AUE_NULL STD { int rctl_get_racct(const void *inbufp, \
+ size_t inbuflen, void *outbufp, \
+ size_t outbuflen); }
+526 AUE_NULL STD { int rctl_get_rules(const void *inbufp, \
+ size_t inbuflen, void *outbufp, \
+ size_t outbuflen); }
+527 AUE_NULL STD { int rctl_get_limits(const void *inbufp, \
+ size_t inbuflen, void *outbufp, \
+ size_t outbuflen); }
+528 AUE_NULL STD { int rctl_add_rule(const void *inbufp, \
+ size_t inbuflen, void *outbufp, \
+ size_t outbuflen); }
+529 AUE_NULL STD { int rctl_remove_rule(const void *inbufp, \
+ size_t inbuflen, void *outbufp, \
+ size_t outbuflen); }
; Please copy any additions and changes to the following compatability tables:
; sys/compat/freebsd32/syscalls.master
OpenPOWER on IntegriCloud