summaryrefslogtreecommitdiff
path: root/usr/src/lib/libproc/common/libproc.h
diff options
context:
space:
mode:
authorrd117015 <none@none>2007-02-20 10:39:20 -0800
committerrd117015 <none@none>2007-02-20 10:39:20 -0800
commit532877c46d04a2d0b254f9b5797720078adcea07 (patch)
tree6a099b60988ee5b9c2a654492f35be5dce1ffee8 /usr/src/lib/libproc/common/libproc.h
parent0a9f9c2a7d4d961e3ed3221accb2c04919531d23 (diff)
downloadillumos-gate-532877c46d04a2d0b254f9b5797720078adcea07.tar.gz
PSARC 2006/554 setproject(3PROJECT) defining, and enhancing behaviour
6194864 simultaneous setproject()'s on the same project can fail to set rctl 6449567 setproject(3PROJECT) deletes resource controls set through prctl(1M) 6450539 projmod(1M) does not provide a mechanism to refresh "in-core" enforced resource controls 6491754 project.max-contracts should not allow basic privileges 6491804 task.final project property is not honoured if pools are not enabled
Diffstat (limited to 'usr/src/lib/libproc/common/libproc.h')
-rw-r--r--usr/src/lib/libproc/common/libproc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/lib/libproc/common/libproc.h b/usr/src/lib/libproc/common/libproc.h
index 07e58fa05c..d12fda05e3 100644
--- a/usr/src/lib/libproc/common/libproc.h
+++ b/usr/src/lib/libproc/common/libproc.h
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -325,6 +325,8 @@ extern int pr_getrlimit(struct ps_prochandle *,
int, struct rlimit *);
extern int pr_setrlimit(struct ps_prochandle *,
int, const struct rlimit *);
+extern int pr_setprojrctl(struct ps_prochandle *, const char *,
+ rctlblk_t *, size_t, int);
#if defined(_LARGEFILE64_SOURCE)
extern int pr_getrlimit64(struct ps_prochandle *,
int, struct rlimit64 *);