summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_resource.c5
-rw-r--r--sys/sys/resourcevar.h4
2 files changed, 3 insertions, 6 deletions
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c
index a6c1b3b..ec2d6b6 100644
--- a/sys/kern/kern_resource.c
+++ b/sys/kern/kern_resource.c
@@ -1169,11 +1169,6 @@ lim_rlimit(struct proc *p, int which, struct rlimit *rlp)
p->p_sysent->sv_fixlimit(rlp, which);
}
-/*
- * Find the uidinfo structure for a uid. This structure is used to
- * track the total resource consumption (process count, socket buffer
- * size, etc.) for the uid and impose limits.
- */
void
uihashinit()
{
diff --git a/sys/sys/resourcevar.h b/sys/sys/resourcevar.h
index 2d1c0ee..67af9b6 100644
--- a/sys/sys/resourcevar.h
+++ b/sys/sys/resourcevar.h
@@ -80,7 +80,9 @@ struct plimit {
};
/*-
- * Per uid resource consumption
+ * Per uid resource consumption. This structure is used to track
+ * the total resource consumption (process count, socket buffer size,
+ * etc) for the uid and impose limits.
*
* Locking guide:
* (a) Constant from inception
OpenPOWER on IntegriCloud