diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2014-10-26 17:19:59 -0700 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2014-10-26 17:19:59 -0700 |
commit | 4cc6631991a9a0fbcabe025ca18dab0ead890fff (patch) | |
tree | 23db7a247727b020115d8bedb175071481cf3429 /Sources.mm | |
parent | ad502f71d5cd68490d27171c98c0377a2a4ab6fc (diff) |
Entirely isolate setreuid logic to MobileCydia.mm.
Diffstat (limited to 'Sources.mm')
-rw-r--r-- | Sources.mm | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -29,8 +29,6 @@ extern _H<NSMutableDictionary> Sources_; extern bool Changed_; void CydiaWriteSources() { - seteuid(0); - FILE *file(fopen("/etc/apt/sources.list.d/cydia.list", "w")); _assert(file != NULL); @@ -51,8 +49,6 @@ void CydiaWriteSources() { } fclose(file); - - seteuid(501); } void CydiaAddSource(NSDictionary *source) { |