Restore security context after sns_reg_init process interrupted
To prevent temp.json with incorrect security context when the
sns_reg_init process interrupted by some abnormal cases,
we need to add restorecon command to set with correct context.
Bug: 168362637
Test: Push abnormal_persist.img and reboot with init rc file.
Test: Security context restore successfully
Test: Sensor registry process work
Change-Id: I1d029111c5d75b135e9947adfd2cf54f588c5f94
Signed-off-by: emilchung <emilchung@google.com>
1 file changed