#1114487 libcgroup3: Please support minuid, maxuid in cgrules.conf

#1114487#5
Date:
2025-09-06 03:58:07 UTC
From:
To:
Please add minimum and maximum UID selectors to cgrules.conf,
so could use lines like

  >=1000 cpu student/%u

to match UIDs 1000 and above, and

  <=999  *  *  ignore

to match UIDs up to 999.

The patch below seems to do exactly this.
This patch also includes my fix for #1113911 .

Sometime soon I will generate a patch for upstream V3.2 and report there.

Cheers, Paul

Paul Szabo       psz@maths.usyd.edu.au       www.maths.usyd.edu.au/u/psz
School of Mathematics and Statistics   University of Sydney    Australia

#1114487#10
Date:
2025-09-06 10:27:05 UTC
From:
To:
Reported upstream:
https://github.com/libcgroup/libcgroup/issues/511

Cheers, Paul