From 872a3b923faf115e9373a8bf8d1dd00a84af7c66 Mon Sep 17 00:00:00 2001 From: bigbiff bigbiff Date: Fri, 18 Oct 2013 20:50:25 -0400 Subject: add fix /data/data contexts to fixPermissions only compile symbols if selinux is defined Change-Id: I7c8596360cdf2f715c8e1379fc55ea27d9370393 --- fixPermissions.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'fixPermissions.hpp') diff --git a/fixPermissions.hpp b/fixPermissions.hpp index 491029a62..aa6f60964 100644 --- a/fixPermissions.hpp +++ b/fixPermissions.hpp @@ -27,6 +27,9 @@ class fixPermissions { int fixDataApps(); int fixAllFiles(string directory, int gid, int uid, string file_perms); int fixDataData(string dataDir); + int fixDataDataContexts(void); + int restorecon(std::string entry, struct stat *sb); + struct package { string pkgName; string codePath; -- cgit v1.2.3