[lxc-devel] [lxc/lxc] e8b181: cgroup: rename container specific cgroup functions

GitHub noreply at github.com
Fri Sep 21 14:54:26 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: e8b181f5257f8216c1f66b366660030a210360c4
      https://github.com/lxc/lxc/commit/e8b181f5257f8216c1f66b366660030a210360c4
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup.h
    M src/lxc/criu.c
    M src/lxc/start.c

  Log Message:
  -----------
  cgroup: rename container specific cgroup functions

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 292b3910d565e02910a89becbde6d0d9c8ce26bb
      https://github.com/lxc/lxc/commit/292b3910d565e02910a89becbde6d0d9c8ce26bb
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M configure.ac
    M src/lxc/initutils.c

  Log Message:
  -----------
  cgroups: switch to lxc.payload as default pattern

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: eb6971363b98012bf654f8c3ddeb250bba858c30
      https://github.com/lxc/lxc/commit/eb6971363b98012bf654f8c3ddeb250bba858c30
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup.c
    M src/lxc/cgroups/cgroup.h

  Log Message:
  -----------
  cgroups: s/fullcgpath/container_full_path/g

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: c72d45f71f15e30ee0a593cb3aeb1dc636de3dd2
      https://github.com/lxc/lxc/commit/c72d45f71f15e30ee0a593cb3aeb1dc636de3dd2
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M src/lxc/cgroups/cgroup.c

  Log Message:
  -----------
  cgroups: add missing string.h include

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: bb221ad14f7d796860650c17a33ac8031953b47e
      https://github.com/lxc/lxc/commit/bb221ad14f7d796860650c17a33ac8031953b47e
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup.c
    M src/lxc/cgroups/cgroup.h

  Log Message:
  -----------
  cgroups: s/base_cgroup/container_base_path/g

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: d39e9d8b046477e1f0ae0ed9a693bb075ece5950
      https://github.com/lxc/lxc/commit/d39e9d8b046477e1f0ae0ed9a693bb075ece5950
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup.c
    M src/lxc/cgroups/cgroup.h

  Log Message:
  -----------
  cgroups: add monitor_cgroup member

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: e09b62f9435cb5c48c866975ef889929925ae9a6
      https://github.com/lxc/lxc/commit/e09b62f9435cb5c48c866975ef889929925ae9a6
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup.c
    M src/lxc/cgroups/cgroup.h

  Log Message:
  -----------
  cgroups: add monitor_full_path member

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 6439f06e788014cfeda5feb86e4347370502b538
      https://github.com/lxc/lxc/commit/6439f06e788014cfeda5feb86e4347370502b538
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup.h

  Log Message:
  -----------
  cgroups: add monitor_create()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 72068e74704e8e83cf3147c65519f353212d0811
      https://github.com/lxc/lxc/commit/72068e74704e8e83cf3147c65519f353212d0811
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/start.c

  Log Message:
  -----------
  cgfsng: add cgfsng_monitor_create()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 634ab5ed7df9554adce05f047ee728c9c8111850
      https://github.com/lxc/lxc/commit/634ab5ed7df9554adce05f047ee728c9c8111850
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M src/lxc/cgroups/cgroup.h

  Log Message:
  -----------
  cgroups: add monitor_enter()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: eeef32bbda51c47e69a7316c6e9977ddef823bb4
      https://github.com/lxc/lxc/commit/eeef32bbda51c47e69a7316c6e9977ddef823bb4
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/start.c

  Log Message:
  -----------
  cgfsng: cgfsng_monitor_enter()

brauner at wittgenstein|~
> sudo systemctl status lxc at c1
lxc at c1.service - LXC Container: c1
   Loaded: loaded (/lib/systemd/system/lxc at .service; disabled; vendor preset: enabled)
   Active: active (running) since Tue 2018-09-11 10:42:22 CEST; 38s ago
     Docs: man:lxc-start
     man:lxc
  Process: 29855 ExecStart=/usr/bin/lxc-start -n c1 -p /run/lxc/c1.pid (code=exited, status=0/SUCCESS)
    Tasks: 18 (limit: 4915)
   Memory: 32.1M
   CGroup: /system.slice/system-lxc.slice/lxc at c1.service
     ├─lxc.monitor
     │ └─c1
     │   └─29870 [lxc monitor] /var/lib/lxc c1
     └─lxc.payload
       └─c1
         ├─init.scope
         │ └─29878 /sbin/init
         └─system.slice
           ├─console-getty.service
           │ └─30028 /sbin/agetty -o -p -- \u --noclear --keep-baud console 115200,38400,9600 linux
           ├─cron.service
           │ └─30019 /usr/sbin/cron -f
           ├─dbus.service
           │ └─30020 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
           ├─networkd-dispatcher.service
           │ └─30016 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers
           ├─rsyslog.service
           │ └─30017 /usr/sbin/rsyslogd -n
           ├─system-container\x2dgetty.slice
           │ ├─container-getty at 0.service
           │ │ └─30027 /sbin/agetty -o -p -- \u --noclear --keep-baud pts/0 115200,38400,9600 vt220
           │ ├─container-getty at 1.service
           │ │ └─30030 /sbin/agetty -o -p -- \u --noclear --keep-baud pts/1 115200,38400,9600 vt220
           │ ├─container-getty at 2.service
           │ │ └─30026 /sbin/agetty -o -p -- \u --noclear --keep-baud pts/2 115200,38400,9600 vt220
           │ └─container-getty at 3.service
           │   └─30029 /sbin/agetty -o -p -- \u --noclear --keep-baud pts/3 115200,38400,9600 vt220
           ├─systemd-journald.service
           │ └─29976 /lib/systemd/systemd-journald
           ├─systemd-logind.service
           │ └─30018 /lib/systemd/systemd-logind
           ├─systemd-networkd.service
           │ └─29996 /lib/systemd/systemd-networkd
           ├─systemd-resolved.service
           │ └─30014 /lib/systemd/systemd-resolved
           └─systemd-udevd.service
             └─29986 /lib/systemd/systemd-udevd

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 2d172fc734963f00afe59740e96832d2325b0537
      https://github.com/lxc/lxc/commit/2d172fc734963f00afe59740e96832d2325b0537
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M src/tests/cgpath.c

  Log Message:
  -----------
  tests: adapt cgroup tests to new layout

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: d28779d94c596149608b0fa161fc6ec369baa898
      https://github.com/lxc/lxc/commit/d28779d94c596149608b0fa161fc6ec369baa898
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgfsng: add missing __cgfsng_ops__ attributes

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: ea0f0c849ad612abb092c8c2fd1d574af02d3dba
      https://github.com/lxc/lxc/commit/ea0f0c849ad612abb092c8c2fd1d574af02d3dba
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2018-09-21 (Fri, 21 Sep 2018)

  Changed paths:
    M configure.ac
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup.c
    M src/lxc/cgroups/cgroup.h
    M src/lxc/criu.c
    M src/lxc/initutils.c
    M src/lxc/start.c
    M src/tests/cgpath.c

  Log Message:
  -----------
  Merge pull request #2606 from brauner/2018-09-09/cgroup_escape

cgroups: scoping for cgroup v2


Compare: https://github.com/lxc/lxc/compare/e52f28afad66...ea0f0c849ad6
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the lxc-devel mailing list