mirror of
https://github.com/troglobit/finit.git
synced 2026-10-30 12:50:34 +00:00
Basic support for cpuset cgroup config and process assignment
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
0848b9b07a
commit
44137806e4
10 files changed
+221
-17
No files matched your search
@@ -26,7 +26,11 @@
|
||||
|
||||
void cgroup_init (void);
|
||||
|
||||
int cgroup_add (char *name, void (*cb)(char *, void *), void *arg);
|
||||
int cgroup_find (char *name, char *group, size_t len);
|
||||
|
||||
int cgroup_user (char *name);
|
||||
int cgroup_service (char *cmd, int pid);
|
||||
int cgroup_assign (char *name, int pid);
|
||||
|
||||
#endif /* FINIT_CGROUP_H_ */
|
||||
Reference in new issue
Block a user