]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
python: add pybindings for cgroup_setup_mode() helpers
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Mon, 24 Apr 2023 09:02:44 +0000 (09:02 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Wed, 26 Apr 2023 19:27:24 +0000 (13:27 -0600)
commita50a81bd3538ad5a3149e00a5a6ddb428f73e259
treed6e227561a2ece801707a6868fa2b103cace3124
parent803ceeee23bcb4ad38e32c0069fff3b19c2d48ac
python: add pybindings for cgroup_setup_mode() helpers

Add pybindings for the cgroup_setup_mode() helper functions:
- is_cgroup_mode_legacy()
- is_cgroup_mode_hybrid()
- is_cgroup_mode_unified()

Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
TJH: Fixed a few comment typos
src/python/cgroup.pxd
src/python/libcgroup.pyx