cgroup: move to C++

This commit is contained in:
Robert Swiecki
2018-02-09 18:13:17 +01:00
parent 27a226ad28
commit 15170f9d6c
6 changed files with 46 additions and 35 deletions

View File

@@ -27,8 +27,12 @@
#include "nsjail.h"
bool cgroupInitNsFromParent(struct nsjconf_t* nsjconf, pid_t pid);
bool cgroupInitNs(void);
void cgroupFinishFromParent(struct nsjconf_t* nsjconf, pid_t pid);
namespace cgroup {
bool initNsFromParent(struct nsjconf_t* nsjconf, pid_t pid);
bool initNs(void);
void finishFromParent(struct nsjconf_t* nsjconf, pid_t pid);
} // namespace cgroup
#endif /* _CGROUP_H */