]> granicus.if.org Git - procps-ng/commit
library: lift 1024 byte restriction on control groups
authorJim Warner <james.warner@comcast.net>
Sat, 30 Jun 2012 04:59:59 +0000 (23:59 -0500)
committerCraig Small <csmall@enc.com.au>
Wed, 29 Aug 2012 07:27:50 +0000 (17:27 +1000)
commitf4666e1743cf68a08b9d09cc25015ff4a45dfdbe
treeb53f37226d4ecac37aed1985aae3b7c6eda6248e
parentf114476a94375cf12108a9bf8832bf71fef538a9
library: lift 1024 byte restriction on control groups

The control group hierarchies for any particular task
could conceivably grow quite large.  However, the
library might impose an arbitrary limit of 1024 bytes
via fill_cgroup_cvt.

Two utility buffers of 128 KiB each were already
available for command line use.  This commit simply
trades the smaller 1024 byte stack based buffers for
those much larger existing ones.  Thus, truncation
can be avoided with no additional run-time costs.

Signed-off-by: Jim Warner <james.warner@comcast.net>
proc/readproc.c