summaryrefslogtreecommitdiffstats
path: root/fixPermissions.hpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace fix permissions with fix contexts for emulated storageEthan Yonker2016-01-291-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
* fixPermissions: simplify code, fix bugsthat2014-12-221-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
* fix slash between directoriesbigbiff bigbiff2014-02-231-0/+1
| | | | | | | add fixing contexts of Android directory for apps that store stuff here fix data/data contexts to be recursive Change-Id: I1122559c83845c3af0a351a4034cd7ad6da83fa5
* Restore contexts when doing mkdierhier in libtarbigbiff bigbiff2014-02-071-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
* add errno.h to fix compile errors on other devicesbigbiff bigbiff2014-01-031-0/+1
| | | | Change-Id: I84196fb1358264b216b8505b990ae5a0406aa957
* add fix /data/data contexts to fixPermissionsbigbiff bigbiff2013-12-071-0/+3
| | | | | only compile symbols if selinux is defined Change-Id: I7c8596360cdf2f715c8e1379fc55ea27d9370393
* Add libtar to TWRP instead of using busybox tarbigbiff bigbiff2013-01-091-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
* Fix fix permissionsDees_Troy2012-11-161-1/+2
|
* redo fix permissions in c++ for faster changesbigbiff bigbiff2012-10-101-0/+46