Get library name from vconf 25/269025/1
authorSuyeon Hwang <stom.hwang@samsung.com>
Thu, 6 Jan 2022 11:31:56 +0000 (20:31 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Thu, 6 Jan 2022 11:31:56 +0000 (20:31 +0900)
commit5e91052bc28849cccbd94b1e6a5dad8d966e9c57
treeb08d3c1c8f4ffd08ec23d09caf15a96b905b6a5a
parentb3cc3d7f501d35fb1e55b3686745d6a597719fd4
Get library name from vconf

Current code tries to get full path of dependency module from vconf of system. This means that
framework allows to use annonymous library which is installed on any location. However, this
behavior might allow to access malicious code and this would become critical problem.

To solve this issue, this patch fix that the code gets the file name of library from the vconf.
By this patch, all dependency module libraries should be installed predetermined location.
The location is read only directory, so malicious code can not be located.

Change-Id: I5ab83609229a0fe84b152894b3935d586859c98a
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
server/dependency_audio_manager.cpp
server/dependency_audio_manager.h