]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
python: Add python bindings for setting permissions and ownership
authorTom Hromatka <tom.hromatka@oracle.com>
Fri, 27 Jan 2023 20:27:41 +0000 (13:27 -0700)
committerTom Hromatka <tom.hromatka@oracle.com>
Fri, 27 Jan 2023 20:27:41 +0000 (13:27 -0700)
commitdee04df0d35f05cd094da6199f5dc79448a66f5f
treefd922b288f8bd60e6d2ef6058d28fcee5a25cadd
parenta1ec6c4ec58710451ef73a2043fdfb192028babc
python: Add python bindings for setting permissions and ownership

Add python bindings for setting the ownership, cgroup_set_uid_gid(),
and setting the permissions, cgroup_set_permissions().

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