summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/rctl.c
diff options
context:
space:
mode:
authorMenno Lageman <Menno.Lageman@Sun.COM>2009-05-15 23:41:08 -0700
committerMenno Lageman <Menno.Lageman@Sun.COM>2009-05-15 23:41:08 -0700
commit55c01d4fc0ce8d2c59d6ade573e676a70d0a9c8a (patch)
treed5604d0be552d298a35f61b2c0d92952c943ff72 /usr/src/uts/common/os/rctl.c
parent59ebecb81fc63e888d5661392827ec4fa529312d (diff)
downloadillumos-joyent-55c01d4fc0ce8d2c59d6ade573e676a70d0a9c8a.tar.gz
6839350 getrctl(2) should do exactly what it says on the tin
Diffstat (limited to 'usr/src/uts/common/os/rctl.c')
-rw-r--r--usr/src/uts/common/os/rctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/os/rctl.c b/usr/src/uts/common/os/rctl.c
index dee5330bca..bd32159049 100644
--- a/usr/src/uts/common/os/rctl.c
+++ b/usr/src/uts/common/os/rctl.c
@@ -510,7 +510,7 @@ rctl_add_legacy_limit(const char *name, const char *mname, const char *lname,
rctl_add_default_limit(name, qty, RCPRIV_PRIVILEGED, RCTL_LOCAL_DENY);
}
-static rctl_set_t *
+rctl_set_t *
rctl_entity_obtain_rset(rctl_dict_entry_t *rcd, struct proc *p)
{
rctl_set_t *rset = NULL;
@@ -1445,7 +1445,7 @@ tearoff_rewalk_list:
mutex_exit(&set->rcs_lock);
}
-static int
+int
rctl_set_find(rctl_set_t *set, rctl_hndl_t hndl, rctl_t **rctl)
{
uint_t index = hndl % rctl_set_size;