mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
The file /proc/self/cgroup lists the control groups to which the process belongs. This file is a colon separated list of three fields: 1. a hierarchy ID number 2. a comma-separated list of hierarchies 3. the pathname of the control group in the hierarchy The regex pattern for this contains a bug for the second field. It allows one or two entries in the comma-separated list, but not more. This commit fixes the pattern to allow one or more entires in the comma-separated list. Relates #23219