]> git.proxmox.com Git - mirror_lxc.git/commitdiff
cgroups: add monitor_enter()
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 10 Sep 2018 14:28:13 +0000 (16:28 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 21 Sep 2018 14:52:25 +0000 (16:52 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgroup.h

index ae701122f3ce5668113ec38bcfc8a1eec0100cdb..16b88094286b8f3b23c8001c5518227a53764f61 100644 (file)
@@ -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);