]> git.ipfire.org Git - pakfire.git/commit
cgroups: Refactor the code that creates a cgroup
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 14 Dec 2024 13:54:20 +0000 (13:54 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 14 Dec 2024 13:54:20 +0000 (13:54 +0000)
commitebb69a77e52208416afdf80843b72b1b04ac3ff5
treee7a1cd02858eae603a1ad218205ba835f4f4b2d9
parentff883048eebdf997d9849e011544560805060ac0
cgroups: Refactor the code that creates a cgroup

The previous solution seemed to be very complicated, but this one will
likely have an extra syscall in some cases.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/cgroup.c