summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/project.c
diff options
context:
space:
mode:
authorml93401 <none@none>2006-05-17 11:07:16 -0700
committerml93401 <none@none>2006-05-17 11:07:16 -0700
commit19f92332f77c4627ebaf38da6e73e77cde60dc64 (patch)
tree681c65dda545ec1e9865ebc2431f1a5b34adff5d /usr/src/uts/common/os/project.c
parent2cc1776a11b835e5384f8a672a838a2d0055b014 (diff)
downloadillumos-joyent-19f92332f77c4627ebaf38da6e73e77cde60dc64.tar.gz
6294710 rctladm incorrectly claims and reports it can log to syslog for project.cpu-shares
Diffstat (limited to 'usr/src/uts/common/os/project.c')
-rw-r--r--usr/src/uts/common/os/project.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/src/uts/common/os/project.c b/usr/src/uts/common/os/project.c
index 177f9a5d21..ddf0139d2b 100644
--- a/usr/src/uts/common/os/project.c
+++ b/usr/src/uts/common/os/project.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -20,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -733,7 +732,8 @@ project_init(void)
rc_project_cpu_shares = rctl_register("project.cpu-shares",
RCENTITY_PROJECT, RCTL_GLOBAL_SIGNAL_NEVER |
RCTL_GLOBAL_DENY_NEVER | RCTL_GLOBAL_NOBASIC |
- RCTL_GLOBAL_COUNT, FSS_MAXSHARES, FSS_MAXSHARES,
+ RCTL_GLOBAL_COUNT | RCTL_GLOBAL_SYSLOG_NEVER,
+ FSS_MAXSHARES, FSS_MAXSHARES,
&project_cpu_shares_ops);
rctl_add_default_limit("project.cpu-shares", 1, RCPRIV_PRIVILEGED,
RCTL_LOCAL_NOACTION);