Newer kernels now support many cgroup controllers; thus we need to increase the number of elements we can safely read from /proc/{pid}/cgroup. This commit increases the number of elements from 8 to 16.
Signed-off-by: Tom Hromatka <tom.hroma...@oracle.com> --- src/libcgroup-internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcgroup-internal.h b/src/libcgroup-internal.h index 37c1f4592865..3ee8c1baa89d 100644 --- a/src/libcgroup-internal.h +++ b/src/libcgroup-internal.h @@ -28,7 +28,7 @@ __BEGIN_DECLS #include <setjmp.h> /* Maximum number of mount points/controllers */ -#define MAX_MNT_ELEMENTS 8 +#define MAX_MNT_ELEMENTS 16 /* Estimated number of groups created */ #define MAX_GROUP_ELEMENTS 128 -- 1.8.3.1 _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel