Skip to content
Snippets Groups Projects
  1. May 23, 2013
  2. May 19, 2013
  3. May 15, 2013
  4. May 14, 2013
  5. May 07, 2013
  6. May 06, 2013
  7. May 03, 2013
  8. May 02, 2013
  9. Apr 30, 2013
    • Al Tobey's avatar
      Use /proc/mounts instead of mount(8) · c6119da3
      Al Tobey authored
      Specifically, Ubuntu Precise's cgroup-lite script uses mount -n
      to mount the cgroup filesystems so they don't appear in mtab, so
      detection always fails unless the admin updates mtab with /proc/mounts.
      
      /proc/mounts is valid on just about every Linux machine in existence and
      as a bonus is much easier to parse.
      
      I also removed the regex in favor of a more accurate parser that should
      also support monolitic cgroup mounts (e.g. mount -t cgroup none /cgroup).
      c6119da3
  10. Apr 29, 2013
  11. Apr 23, 2013
    • Tianon Gravi's avatar
      Update FindCgroupMountpoint to be more forgiving · e4133407
      Tianon Gravi authored
      On Gentoo, the memory cgroup is mounted at /sys/fs/cgroup/memory, but the mount line looks like the following:
      memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
      
      (note that the first word on the line is "memory", not "cgroup", but the other essentials are there, namely the type of cgroup and the memory mount option)
      e4133407
  12. Apr 22, 2013
  13. Apr 21, 2013
  14. Apr 18, 2013
  15. Apr 09, 2013
  16. Apr 03, 2013
    • Dominik Honnef's avatar
      replace unreachable returns with panics · 22f1cc95
      Dominik Honnef authored
      Not only is this a more common idiom, it'll make finding bugs easier,
      and it'll make porting to Go 1.1 easier.
      
      Go 1.1 will not require the final return or panic because it has a
      notion of terminating statements.
      22f1cc95
  17. Apr 02, 2013
  18. Mar 31, 2013
  19. Mar 30, 2013
  20. Mar 29, 2013
  21. Mar 28, 2013
Loading