Can not set zone-wide rctl for process
807559Nov 9 2006 — edited Nov 15 2006Hi,
When I create a project, I can specify that all processes created in the project should have a max value for certain property (e.g. process.max-data-size). When I create a process in the project, that process gets this rctl value.
However, when I try to set process level rctl during zonecfg, it gives me an error. It would be good to see that zone is at par with project (or higher). Setting zone-wide rctls for processes will really help the administration.
zonecfg:zone1:rctl> set name=process.max-data-size
'process.max-data-size' is not a valid zone rctl name.
Whereas, the following command succeeds and gives me correct result when I start a process in the project.
projadd -K "process.max-data-size=(privileged,100000,deny)" proj3
prctl -P -i process 29824 shows me
<snip>
process.max-data-size privileged 100000 - deny -
Thanks!