From: Christian Brauner Date: Mon, 10 Sep 2018 14:28:13 +0000 (+0200) Subject: cgroups: add monitor_enter() X-Git-Tag: lxc-3.1.0~98^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=634ab5ed7df9554adce05f047ee728c9c8111850;p=thirdparty%2Flxc.git cgroups: add monitor_enter() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cgroups/cgroup.h b/src/lxc/cgroups/cgroup.h index ae701122f..16b880942 100644 --- a/src/lxc/cgroups/cgroup.h +++ b/src/lxc/cgroups/cgroup.h @@ -130,6 +130,7 @@ struct cgroup_ops { bool (*data_init)(struct cgroup_ops *ops); void (*destroy)(struct cgroup_ops *ops, struct lxc_handler *handler); bool (*monitor_create)(struct cgroup_ops *ops, struct lxc_handler *handler); + bool (*monitor_enter)(struct cgroup_ops *ops, pid_t pid); bool (*payload_create)(struct cgroup_ops *ops, struct lxc_handler *handler); bool (*payload_enter)(struct cgroup_ops *ops, pid_t pid); const char *(*get_cgroup)(struct cgroup_ops *ops, const char *controller);