summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_racct.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/kern/kern_racct.c b/sys/kern/kern_racct.c
index 29e5884..5778bfe 100644
--- a/sys/kern/kern_racct.c
+++ b/sys/kern/kern_racct.c
@@ -777,6 +777,11 @@ racct_set(struct proc *p, int resource, uint64_t amount)
}
void
+racct_set_force(struct proc *p, int resource, uint64_t amount)
+{
+}
+
+void
racct_sub(struct proc *p, int resource, uint64_t amount)
{
}
@@ -793,6 +798,13 @@ racct_get_limit(struct proc *p, int resource)
return (UINT64_MAX);
}
+uint64_t
+racct_get_available(struct proc *p, int resource)
+{
+
+ return (UINT64_MAX);
+}
+
void
racct_create(struct racct **racctp)
{
OpenPOWER on IntegriCloud