clsync
Loading...
Searching...
No Matches
cgroup.c File Reference
#include "common.h"
#include "error.h"
#include <libcgroup.h>
Include dependency graph for cgroup.c:

Go to the source code of this file.

Functions

int clsync_cgroup_init (ctx_t *ctx_p)
 
__extension__ int clsync_cgroup_forbid_extra_devices ()
 
int clsync_cgroup_attach (ctx_t *ctx_p)
 
int clsync_cgroup_deinit (ctx_t *ctx_p)
 

Variables

static struct cgroup * cgroup = NULL
 

Function Documentation

◆ clsync_cgroup_attach()

int clsync_cgroup_attach ( ctx_t * ctx_p)

Definition at line 65 of file cgroup.c.

Here is the caller graph for this function:

◆ clsync_cgroup_deinit()

int clsync_cgroup_deinit ( ctx_t * ctx_p)

Definition at line 78 of file cgroup.c.

Here is the caller graph for this function:

◆ clsync_cgroup_forbid_extra_devices()

__extension__ int clsync_cgroup_forbid_extra_devices ( )

Definition at line 34 of file cgroup.c.

Here is the caller graph for this function:

◆ clsync_cgroup_init()

int clsync_cgroup_init ( ctx_t * ctx_p)

Definition at line 26 of file cgroup.c.

Here is the caller graph for this function:

Variable Documentation

◆ cgroup

struct cgroup* cgroup = NULL
static

Definition at line 24 of file cgroup.c.