Commit Graph

11 Commits

Author SHA1 Message Date
Dongsu Park 821d9f3e00 cg: add a unit test TestUidGid for cgroup_{set,get}_uid_gid() 2017-05-07 12:48:31 +02:00
Dongsu Park 59d0eb5ecc cg: fix a bug in GetUidGid() to call cgroup_get_uid_gid() correctly
GetUidGid() should call cgroup_get_uid_gid() obviously, so that the
caller can get correct UIDs/GIDs.
2017-05-07 12:48:31 +02:00
Vincent Batts 8d4b8d0ebb cg: more golint 2016-11-29 11:38:04 -05:00
Vincent Batts 727ac7a93b cg: halfway to golint 2016-11-29 10:06:09 -05:00
Vincent Batts c2855cec9b controller_data ought to be read-only 2016-11-29 09:24:35 -05:00
Sjon Hortensius 599fa1f9ff 2 Bugfixes plus minor readability fix in main
* correct type of Cgroup.g
* fix GetAllControllers, ECGEOF is indicator of end already reached so
  don't append cd again
2015-12-06 14:09:38 +01:00
Vincent Batts 52eb5335f4 more progress 2013-12-17 17:03:55 -05:00
Vincent Batts 48144689b4 more progress 2013-12-17 16:51:06 -05:00
Vincent Batts eec1be6a82 more progress 2013-12-17 15:51:16 -05:00
Vincent Batts 8a1807ae2f adding cgroup and controller bits, and comments too 2013-12-17 15:33:03 -05:00
Vincent Batts ad7c28995e initial commit 2013-12-17 14:02:14 -05:00