Add a new internal function for getting proc group info 46/296246/7
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 24 Jul 2023 07:53:05 +0000 (16:53 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Tue, 25 Jul 2023 01:24:53 +0000 (10:24 +0900)
commit9e44b120754dee72362c2f3324cfc1f9ed11c480
treed580da667018865b0a00dbde90dfd2b94b6e8190
parent06ef2d2fc90dfe599449a82a6787481a9cfac7f2
Add a new internal function for getting proc group info

aul_proc_group_foreach() is added to retrieves the process group information.

Adds:
 - aul_proc_group_info_get_leader_pid()
 - aul_proc_group_info_get_sub_pids()
 - aul_proc_group_info_destroy()
 - aul_proc_group_foreach()
 - aul_proc_group_get()

Change-Id: I07f699088cf4c6e4eaf251df5df8153e2d8e1ea4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
include/aul_cmd.h
include/aul_proc_group.h
src/aul_cmd.c
src/aul_proc_group.cc
tool/aul_test/tests/aul_proc_group_foreach_test.cc [new file with mode: 0644]
tool/aul_test/tests/aul_proc_group_get_test.cc [new file with mode: 0644]