Daniel P. Berrange f3662737b1 Do proper escaping of cgroup resource partitions
If a user cgroup name begins with "cgroup.", "_" or with any of
the controllers from /proc/cgroups followed by a dot, then they
need to be prefixed with a single underscore. eg if there is
an object "cpu.service", then this would end up as "_cpu.service"
in the cgroup filesystem tree, however, "waldo.service" would
stay "waldo.service", at least as long as nobody comes up with
a cgroup controller called "waldo".

Since we require a '.XXXX' suffix on all partitions, there is
no scope for clashing with the kernel 'tasks' and 'release_agent'
files.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2013-04-26 13:52:02 +01:00
..
2013-03-22 13:05:46 +01:00
2013-03-22 12:45:14 +01:00
2013-01-11 11:03:23 +00:00
2012-12-21 11:17:13 +00:00
2013-01-14 13:25:47 +00:00
2013-01-14 13:25:47 +00:00
2013-02-12 09:00:15 -07:00
2013-02-01 16:01:45 -07:00
2013-04-15 17:35:31 +01:00
2013-04-15 17:35:31 +01:00
2012-04-19 10:21:43 -04:00
2012-12-21 11:19:49 +00:00
2013-03-27 16:20:03 -06:00
2013-01-11 11:03:22 +00:00
2012-12-21 11:17:13 +00:00
2013-03-20 19:37:00 +08:00
2013-01-17 16:39:10 -07:00
2013-01-16 11:02:58 +00:00
2013-03-12 18:07:11 +00:00
2013-04-12 16:55:45 -04:00
2013-04-12 16:55:45 -04:00
2013-04-15 23:07:08 +08:00
2013-04-23 07:10:56 +02:00
2013-04-23 07:10:56 +02:00
2013-04-08 13:18:07 -06:00
2012-12-21 11:19:49 +00:00
2013-02-27 11:49:03 +01:00
2012-12-21 11:19:50 +00:00