One can now specify "sysctl.x.y" attributes where x.y is a kernel variable.
authorMarc Fiuczynski <mef@cs.princeton.edu>
Wed, 5 Nov 2008 22:17:22 +0000 (22:17 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Wed, 5 Nov 2008 22:17:22 +0000 (22:17 +0000)
commit1dc6738f3328e06b287b297ec3da98af5b4428f8
tree0af8137ff2d0fcd13a2b3b8c4901247ffc499d24
parent04eba4a374e20a75f5013d3ed4fa0b8c20269858
One can now specify "sysctl.x.y" attributes where x.y is a kernel variable.

sm.py searches for these slice attributes and adds them to the rspec.

sliver_vs.py processes these in set_resources(), but only if the new
"setup" argument to set_resources() is set to True.  By default
setup=False and should only be set to true when setting up a vserver,
as done in util-vserver-pl/python/vserver.py:__do_chcontext().  The
reason being is that it needs to write /proc/sys/x/y while within the
setup phase of a vserver context when capability checking is disabled.
sliver_vs.py
sm.py