summaryrefslogtreecommitdiffstats
path: root/fixPermissions.hpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-01-29Replace fix permissions with fix contexts for emulated storageEthan Yonker1-52/+0
Fix permissions rarely fixed anything on more recent versions of Android and usually made things worse. Instead we will replace it with a more dumbed down option that should fix contexts on /data/media with a few improvements to ensure that contexts get fixed for multiple users and on adopted storage. Change-Id: If5523781936a0b04196e2ad871cae767ebae2583
2014-12-22fixPermissions: simplify code, fix bugsthat1-14/+14
- avoid parsing permission strings - fix memory leaks, a fix new/free mismatch and a compiler warning - fix that only first updated-package was processed - fix a potential stack overflow if packages.xml is huge - minor refactoring for reducing duplicated code - don't process packages without codePath - fix path for deleting app data (currently unused anyway) - fix file ownership on libs - try not to mess up Android 5.0 app permissions Patch set 4 - make fixing SELinux contexts an option with a check box - add some notes / text to the themes Patch set 6 - decouple "fix permissions" from "fix contexts" Change-Id: Icc77ecc581befc5ce6e419b1f3b8ca189208c234
2014-02-23fix slash between directoriesbigbiff bigbiff1-0/+1
add fixing contexts of Android directory for apps that store stuff here fix data/data contexts to be recursive Change-Id: I1122559c83845c3af0a351a4034cd7ad6da83fa5
2014-02-07Restore contexts when doing mkdierhier in libtarbigbiff bigbiff1-2/+3
Do a restore of loaded file contexts to /data/media directory. This will help denials to be prevented when internal storage is wiped. Change-Id: Ie49bbfa48d2f3ee4f08376d9c1877b92c051017c
2014-01-03add errno.h to fix compile errors on other devicesbigbiff bigbiff1-0/+1
Change-Id: I84196fb1358264b216b8505b990ae5a0406aa957
2013-12-07add fix /data/data contexts to fixPermissionsbigbiff bigbiff1-0/+3
only compile symbols if selinux is defined Change-Id: I7c8596360cdf2f715c8e1379fc55ea27d9370393
2013-01-09Add libtar to TWRP instead of using busybox tarbigbiff bigbiff1-1/+0
Add proper mkdosfs tool Add fuse to TWRP Add experimental exfat-fuse to TWRP Convert all system() functions to use new Exec_Cmd function
2012-11-16Fix fix permissionsDees_Troy1-1/+2
2012-10-10redo fix permissions in c++ for faster changesbigbiff bigbiff1-0/+46