summaryrefslogtreecommitdiffstats
path: root/fixPermissions.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-22fixPermissions: simplify code, fix bugsthat1-286/+151
- 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-10-07Check sehandle before fixing permissionsDees Troy1-1/+8
Change-Id: I73ba5519bf650f0c7f0a683f311099ff13747155
2014-06-13Do not restore file system on data/media devicesEthan Yonker1-0/+4
Change-Id: I600e7e9ce89621400531bceb472387aafc0d6ed8
2014-06-04Whitespace and minor code cleanupMatt Mower1-2/+2
This is by no means comprehensive, but is quite a bit better already. Change-Id: Ibc8654a5dfb0eec39cbd0b64bdb52bb4fbfe2f7e
2014-05-31Add /system/priv-app to fix permissions code. New in jellybean.bigbiff bigbiff1-1/+1
Change-Id: Id1df17cf06d1158642aa77bef5fd49b596c7906e
2014-02-23fix slash between directoriesbigbiff bigbiff1-33/+51
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-1/+32
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-02-03Fix SELinux function compatibility in older treesDees Troy1-2/+4
Change-Id: I3d8c23b51b3331d062099c1edb1833551cc6af91
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-1/+58
only compile symbols if selinux is defined Change-Id: I7c8596360cdf2f715c8e1379fc55ea27d9370393
2013-07-29Fixed spelling errorsgrimsrud1-2/+2
2013-04-05Improve handling of XML errors for fix permissionsDees_Troy1-2/+6
2013-04-04Move all AOSP code out of recovery binaryDees_Troy1-43/+43
Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
2013-02-02Fix misspelling and white space on fix permsDees_Troy1-2/+2
Thanks to Space- for pointing it out
2013-01-09Add libtar to TWRP instead of using busybox tarbigbiff bigbiff1-40/+2
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-36/+97
2012-10-10Finalize 2.3.0.0Dees_Troy1-2/+2
Fix permission setting for other Add new fix permissions to GUI actions Update version number
2012-10-10redo fix permissions in c++ for faster changesbigbiff bigbiff1-0/+536