]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
python: Add python bindings for cgroup_create_scope2()
authorTom Hromatka <tom.hromatka@oracle.com>
Fri, 27 Jan 2023 20:42:45 +0000 (13:42 -0700)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 27 Jan 2023 20:42:45 +0000 (13:42 -0700)
commit84e2a17200ddef957477df486c938412b0ed0ce4
tree8782f516f3c44b8dee4da0e27215329b180774ad
parent1a5e4d894800ea686ecd8fd43faba983e7d4585d
python: Add python bindings for cgroup_create_scope2()

Add python bindings to create a systemd scope via
cgroup_create_scope2().

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Reviewed-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
src/python/cgroup.pxd
src/python/libcgroup.pyx