Add transmute rule between non-hybrid app and RW path 10/103210/2
authorZofia Abramowska <z.abramowska@samsung.com>
Wed, 7 Dec 2016 10:23:36 +0000 (11:23 +0100)
committerZofia Abramowska <z.abramowska@samsung.com>
Thu, 8 Dec 2016 13:44:03 +0000 (14:44 +0100)
commit16c05979760bd7abc65eab62cb621f0dd2638559
tree65aeca35e219d9ff15c7dddbaa7c6ea411aabfd0
parentdc18e9d5c9407acd38bdd4aecfe8b3c7b1769f28
Add transmute rule between non-hybrid app and RW path

After app process label refactoring there were no more
rule for transmute between label of app process and
label of path RW for non-hybrid (because labels were
the same). This introduced problem with transmute
inheritance : main app directory had transmute,
but it wasn't inherited by subdirectories.

This commit brings back rule between app process label
and path RW label even when both labels are the same.
Also proper policy migration is created, so already
installed apps have this rule also generated.

Change-Id: I98a34a29b2c2490d1dcafd43a117b509a763d72e
policy/updates/update-policy-to-v4.sh [new file with mode: 0755]
src/common/smack-rules.cpp