]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
cgrules: add support for process/dest cgroups with spaces
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Tue, 21 Jan 2025 08:10:27 +0000 (13:40 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 13 Feb 2025 16:00:52 +0000 (09:00 -0700)
commit914b919d007611912d714f7935111d9275494f8e
tree769959eaf398a1bc688d4fdac0f6be87567e6ce6
parentd0c4cfd7ffe86feeb179a7efc4161401cdc9de82
cgrules: add support for process/dest cgroups with spaces

In a cgrules rule, allow the process names and the destination
cgroups with spaces and other allowed special characters.

Reported-by: @LinuxOnTheDesktop (github username)
Fixes: https://github.com/libcgroup/libcgroup/issues/462
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
TJH: slight logic changes and add gunit support
src/api.c
src/libcgroup-internal.h