runc/libcontainer/cgroups/fs
Wang Long ce9951834c cgroup: using WriteCgroupProc to write the specified pid into the cgroup's cgroup.procs file
cgroupData.join method using `WriteCgroupProc` to place the pid into
the proc file, it can avoid attach any pid to the cgroup if -1 is
specified as a pid.

so, replace `writeFile` with `WriteCgroupProc` like `cpuset.go`'s
ApplyDir method.

Signed-off-by: Wang Long <long.wanglong@huawei.com>
2016-09-21 10:57:03 +00:00
..
apply_raw.go move m.GetPaths out of the loop 2016-09-13 12:19:48 +00:00
apply_raw_test.go libcontainer: cgroups: fs: add cgroup path safety unit tests 2016-02-14 00:37:21 +11:00
blkio.go libcontainer: cgroups: don't Set in Apply 2016-01-12 10:06:35 +11:00
blkio_test.go Move the cgroups setting into a Resources struct 2015-12-16 15:53:31 -05:00
cpu.go cgroup: using WriteCgroupProc to write the specified pid into the cgroup's cgroup.procs file 2016-09-21 10:57:03 +00:00
cpu_test.go Add unit test for setting the CPU RT sched cgroups values at apply time 2016-07-04 13:11:53 +01:00
cpuacct.go Rename parent and data 2015-11-05 19:12:53 +08:00
cpuset.go Allow cgroup creation without attaching a pid 2016-07-20 13:49:48 -07:00
cpuset_test.go Move the cgroups setting into a Resources struct 2015-12-16 15:53:31 -05:00
devices.go Skip updates on parent Devices cgroup 2016-07-25 10:30:46 -07:00
devices_test.go Add test 2016-07-28 17:14:51 -07:00
freezer.go libcontainer: cgroups: don't Set in Apply 2016-01-12 10:06:35 +11:00
freezer_test.go Move the cgroups setting into a Resources struct 2015-12-16 15:53:31 -05:00
fs_unsupported.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
hugetlb.go libcontainer: cgroups: don't Set in Apply 2016-01-12 10:06:35 +11:00
hugetlb_test.go Move the cgroups setting into a Resources struct 2015-12-16 15:53:31 -05:00
memory.go Remove kmem Initialization check 2016-08-01 09:47:34 -07:00
memory_test.go Remove kmem Initialization check 2016-08-01 09:47:34 -07:00
name.go Move the process outside of the systemd cgroup 2016-02-19 11:26:46 -08:00
net_cls.go fix setting net_cls classid 2016-07-11 05:00:35 +08:00
net_cls_test.go fix setting net_cls classid 2016-07-11 05:00:35 +08:00
net_prio.go libcontainer: cgroups: don't Set in Apply 2016-01-12 10:06:35 +11:00
net_prio_test.go Move the cgroups setting into a Resources struct 2015-12-16 15:53:31 -05:00
perf_event.go Rename parent and data 2015-11-05 19:12:53 +08:00
pids.go libcontainer: cgroups: deal with unlimited case for pids.max 2016-03-18 08:46:24 +11:00
pids_test.go libcontainer: cgroups: add tests for pids.max == "max" 2016-03-18 08:46:24 +11:00
stats_util_test.go Add limit value to memory stats 2016-02-03 11:54:09 -08:00
util_test.go Move the cgroups setting into a Resources struct 2015-12-16 15:53:31 -05:00
utils.go Removing unused variable for cgroup subsystem 2016-06-12 12:35:49 +05:30
utils_test.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00