From: Daniel Wagner <[email protected]>

Hi,

Here is the RFC of the cgroup stuff we were discussing at our F2F. 
This version is functional. You just need the kernel patch as well.

Make sure that the controller ist not mounted when ConnMan starts. E.g.
systemd likes to mount it on startup, e.g. do following

sudo umount /sys/fs/cgroup/net_sock

cheers,
daniel

v2: - use socket cgroup controller
    - some bug fixes
    - include Jukka's patches
v1: - split patches a bit more
    - fix commit messages
v0: - initial version

cheers,
daniel

Daniel Wagner (8):
  cgroup: Add cgroup infrastructure
  cgroup: Mount cgroup controller
  cgroup: Add support for managing cgroups per interface
  cgroup: Add support for assigning PIDs to cgroups
  gdbus: Add GetConnectionUnixProcessID support
  device: Create/destroy when a new interface appears/disappears
  session: Get PID of session
  session: Assign session to cgroup

Jukka Rissanen (5):
  inet: Add functions to setup fwmark to routing table
  inet: Add function to setup default route to a routing table
  device: Add fw marker setter and getter
  device: Set the fwmark for a device
  ipconfig: Set a default route to a routing table

 Makefile.am    |   2 +-
 gdbus/gdbus.h  |   6 +
 gdbus/object.c |  89 +++++++++++++++
 src/cgroup.c   | 339 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/connman.h  |  11 ++
 src/device.c   |  66 +++++++++++
 src/inet.c     | 140 ++++++++++++++++++++++++
 src/ipconfig.c |   5 +-
 src/main.c     |   2 +
 src/session.c  |  54 +++++++++
 10 files changed, 712 insertions(+), 2 deletions(-)
 create mode 100644 src/cgroup.c

-- 
1.7.12.rc1.16.g05a20c8

_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to