Support Process Name Setter/Getter 15/260615/18
authorHwankyu Jhun <h.jhun@samsung.com>
Tue, 29 Jun 2021 23:55:17 +0000 (08:55 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 2 Jul 2021 03:25:18 +0000 (12:25 +0900)
commit05f2a81bfd19660ef71606c493029346a2347108
tree44f04301cd4fce1429458a048c64c76d9b6a9ce4
parent59517d246dc206d40b71b0312030936c1559d43f
Support Process Name Setter/Getter

Some daemons want to commucate with the running applications using IPC API
of App Framework like rpc-port or message-port. To use APIs, the application ID
is required. Even if the process is not the Tizen application, we support to set
the name of the process.

Removes:
 - aul_proc_get_usr_bypid()

Adds:
 - aul_proc_get_uid()
 - aul_proc_get_attr()
 - aul_proc_get_cmdline()
 - aul_proc_register()
 - aul_proc_deregister()
 - aul_proc_get_name()
 - aul_proc_get_extra()

Requires:
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/260615/
 - https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/260623/

Change-Id: Id624ce33422626edb29edf2942b7cf5825d78f5f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
aul/common/file_descriptor.hh [new file with mode: 0644]
include/aul_cmd.h
include/aul_key.h
include/aul_proc.h
src/aul_cmd.c
src/aul_proc.c [deleted file]
src/aul_proc.cc [new file with mode: 0644]
tool/aul_test/aul_test.c