summaryrefslogtreecommitdiffstats
path: root/fixPermissions.hpp
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2014-01-06 00:13:43 +0100
committerbigbiff bigbiff <bigbiff@teamw.in>2014-02-07 01:56:25 +0100
commit6b600f964471cef977821689185db687f67d2c19 (patch)
tree37f0383b94fa5052b9c060f4078ad539bc3110a0 /fixPermissions.hpp
parentDisable alpha blending for non-transparent bitmaps (diff)
downloadandroid_bootable_recovery-6b600f964471cef977821689185db687f67d2c19.tar
android_bootable_recovery-6b600f964471cef977821689185db687f67d2c19.tar.gz
android_bootable_recovery-6b600f964471cef977821689185db687f67d2c19.tar.bz2
android_bootable_recovery-6b600f964471cef977821689185db687f67d2c19.tar.lz
android_bootable_recovery-6b600f964471cef977821689185db687f67d2c19.tar.xz
android_bootable_recovery-6b600f964471cef977821689185db687f67d2c19.tar.zst
android_bootable_recovery-6b600f964471cef977821689185db687f67d2c19.zip
Diffstat (limited to '')
-rw-r--r--fixPermissions.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/fixPermissions.hpp b/fixPermissions.hpp
index 6439dac60..48a52074e 100644
--- a/fixPermissions.hpp
+++ b/fixPermissions.hpp
@@ -17,6 +17,7 @@ using namespace std;
class fixPermissions {
public:
int fixPerms(bool enable_debug, bool remove_data_for_missing_apps);
+ int fixDataInternalContexts(void);
private:
int pchown(std::string fn, int puid, int pgid);
@@ -28,8 +29,8 @@ 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);
+ int fixDataDataContexts(void);
struct package {
string pkgName;
@@ -45,6 +46,6 @@ class fixPermissions {
bool remove_data;
bool multi_user;
package* head;
- package* temp;
+ package* temp;
string packageFile;
};