Add app2sd-mount-helper tool 35/186135/4
authorSangyoon Jang <jeremy.jang@samsung.com>
Tue, 7 Aug 2018 11:29:27 +0000 (20:29 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Tue, 14 Aug 2018 02:04:20 +0000 (02:04 +0000)
commite0b3e643e1b98d46a82a22d62c00e08fa16e10e8
treecd3ed26a0041d92ea42387e7e45c796f23057d17
parent104693dbe787248da356dbbed48d283381f36932
Add app2sd-mount-helper tool

When launching an application which is installed at external storage,
app2sd-server mounts application's image at internal storage.
Since process label of app2sd-server is "System", the directory which is
mount point for application's image has same label as app2sd-server.
This can cause smack denial in some cases.

This app2sd-mount-helper tool does mount instead of app2sd-server, and its
process label is "User::Home" which is same as other directories or
files at package root. Using this tool, the smack denial will not
happened.

Change-Id: Ic89bc960372d0a2595cd21aa6d9372473aafc2c8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
packaging/app2sd-plugin.manifest
packaging/app2sd.spec
plugin/app2sd/CMakeLists.txt
plugin/app2sd/mount_helper/mount_helper.c [new file with mode: 0644]
plugin/app2sd/server/app2sd_internals.c