]> git.ipfire.org Git - thirdparty/libcgroup.git/commit
api.c: constify cgroup_get_procs() arguments
authorKamalesh Babulal <kamalesh.babulal@oracle.com>
Tue, 1 Oct 2024 06:47:12 +0000 (12:17 +0530)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 7 Oct 2024 21:18:04 +0000 (15:18 -0600)
commitc4bdc99cb9b89cd93fe52f287e88b4970aa083aa
tree6f82bc398a25ec36320ef7b26fb27c51e4336f2d
parentec97c52ddaf3a8378ed4cb4f360d832d0b1b575a
api.c: constify cgroup_get_procs() arguments

Constify the char* functional arguments of cgroup_get_procs(), these
parameters are not supposed to changed.

Fixes: https://github.com/libcgroup/libcgroup/issues/445
Reported-by: Dan Dedrick <dan.dedrick@gmail.com>
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
include/libcgroup/groups.h
src/api.c