Validate gadget resource paths 98/306298/1
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 19 Feb 2024 23:44:55 +0000 (08:44 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Mon, 19 Feb 2024 23:44:55 +0000 (08:44 +0900)
commitb2f22b8a5a4e68b712d2aeacbd65cda67c423869
tree5c0154271b0298185501635d4274e85e7e2c7a6d
parent3fc962179245997996f764a41eaa7c8c03c11214
Validate gadget resource paths

The gadget resource path will be changed to
"/<package root path>/res/allowed/<res-type>".
Before mounting the gadget paths, the launchpad checks whether the path exists
or not. If it does not exist, the gadget path will be modified to remove
the "<res-type>".

Change-Id: Ib7d28fb0df986e56269351c5a2f94446b82ab0f2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/launchpad-glib/util.cc