summaryrefslogtreecommitdiffstats
path: root/sys/compat/freebsd32
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/compat/freebsd32
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/compat/freebsd32')
-rw-r--r--sys/compat/freebsd32/syscalls.master15
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/compat/freebsd32/syscalls.master b/sys/compat/freebsd32/syscalls.master
index 31a67b6..8a4cadf 100644
--- a/sys/compat/freebsd32/syscalls.master
+++ b/sys/compat/freebsd32/syscalls.master
@@ -965,3 +965,18 @@
523 AUE_NULL NOPROTO { int getloginclass(char *namebuf, \
size_t namelen); }
524 AUE_NULL NOPROTO { int setloginclass(const char *namebuf); }
+525 AUE_NULL NOPROTO { int rctl_get_racct(const void *inbufp, \
+ size_t inbuflen, void *outbufp, \
+ size_t outbuflen); }
+526 AUE_NULL NOPROTO { int rctl_get_rules(const void *inbufp, \
+ size_t inbuflen, void *outbufp, \
+ size_t outbuflen); }
+527 AUE_NULL NOPROTO { int rctl_get_limits(const void *inbufp, \
+ size_t inbuflen, void *outbufp, \
+ size_t outbuflen); }
+528 AUE_NULL NOPROTO { int rctl_add_rule(const void *inbufp, \
+ size_t inbuflen, void *outbufp, \
+ size_t outbuflen); }
+529 AUE_NULL NOPROTO { int rctl_remove_rule(const void *inbufp, \
+ size_t inbuflen, void *outbufp, \
+ size_t outbuflen); }
OpenPOWER on IntegriCloud