summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/fileutl.cc
Commit message (Expand)AuthorAgeFilesLines
* Adjust DestFile in ReverifyAfterIMS() to not include compr ExtensionMichael Vogt2014-09-291-1/+1
* fix: Consecutive return, break, continue, goto or throw statements are unnece...David Kalnischkies2014-09-271-3/+1
* fix: Member variable 'X' is not initialized in the constructor.David Kalnischkies2014-09-271-1/+1
* DropPrivs: Use APT::Sandbox::User instead of Apt::User::NobodyJulian Andres Klode2014-09-241-3/+3
* DropPrivs: Hard-fail if the user does not existJulian Andres Klode2014-09-241-1/+1
* DropPrivs: Add some comments for the more obscure setuid/setgid functionsJulian Andres Klode2014-09-241-0/+2
* DropPrivs: Move the re-set uid/gid thing to the end of the functionJulian Andres Klode2014-09-241-7/+7
* DropPrivs: Improve commentsJulian Andres Klode2014-09-241-8/+7
* DropPrivs: Also check for saved set-user-ID and set-group-IDJulian Andres Klode2014-09-241-0/+20
* DropPrivs: Do not use an invalid return check for setgroups()Julian Andres Klode2014-09-241-1/+1
* Use _apt as our unprivileged user nameJulian Andres Klode2014-09-241-1/+1
* DropPriv: Really call seteuid and not setuid, and add more checksJulian Andres Klode2014-09-241-11/+35
* Drop Privileges to "Debian-apt" in most acquire methodsMichael Vogt2014-09-241-1/+33
* Merge remote-tracking branch 'mvo/feature/drop-rights' into debian/experimentalMichael Vogt2014-06-181-0/+18
|\
| * DropPrivs in the solvers (just to be on the safe side)Michael Vogt2014-06-111-0/+17
* | Merge branch 'debian/sid' into debian/experimentalMichael Vogt2014-06-181-2/+4
|\|
| * without a filename we can't stat pipesDavid Kalnischkies2014-05-301-1/+2
| * use free() instead of delete() when realloc is usedMichael Vogt2014-05-271-1/+2
* | Merge remote-tracking branch 'mvo/feature/apt-install-deb' into debian/experi...Michael Vogt2014-05-071-1/+96
|\ \
| * \ Merge branch 'feature/abspath' into feature/apt-install-debMichael Vogt2014-04-281-0/+16
| |\ \
| | * | add flAbsPath() as a wrapper to realpath()Michael Vogt2014-04-281-0/+16
| * | | Merge branch 'feature/popen' into feature/apt-install-debMichael Vogt2014-04-281-0/+55
| |\ \ \
| | * | | Implement Popen() execv helper to avoid popen()Michael Vogt2014-04-281-0/+55
| | |/ /
| * / / WIP local deb installMichael Vogt2014-04-281-1/+25
| |/ /
* | | Merge branch 'debian/sid' into debian/experimentalMichael Vogt2014-05-071-169/+377
|\ \ \ | | |/ | |/|
| * | fix FileFd::Size bitswap on big-endian architecturesAdam Conrad2014-04-261-13/+4
| |/
| * clear HitEof flag in FileFd::SeekDavid Kalnischkies2014-04-161-1/+6
| * deal with umask only if we really need to for mkstempDavid Kalnischkies2014-04-111-9/+9
| * don't double-count seeks in FileFd::Skip for bzip/xzDavid Kalnischkies2014-04-111-1/+0
| * improve umask/fchmod code readabilityMichael Vogt2014-04-101-5/+8
| * Rename FileFd::Open() Perms to AccessModeMichael Vogt2014-04-101-6/+6
| * Fix insecure file permissions when using FileFd with OpenMode::AtomicMichael Vogt2014-04-101-2/+6
| * Add new Debug::RunScripts optionMichael Vogt2014-04-011-1/+5
| * continue reading in xz even if it outputs nothingDavid Kalnischkies2014-03-211-0/+13
| * Fix handling of autoclosing for compressed files (Closes: #741685)Julian Andres Klode2014-03-151-1/+1
| * fix test/integration/test-apt-helperMichael Vogt2014-03-141-149/+326
| |\
| | * refactor FileFd to hide some #ifdefsDavid Kalnischkies2014-03-131-168/+131
| | * use liblzma-dev to provide xz/lzma supportDavid Kalnischkies2014-03-131-35/+245
| | * refactor setup of file opening via zlib/bz2 libDavid Kalnischkies2014-03-131-37/+36
| | * move fd duplication closer to the gz/bz2 open callsDavid Kalnischkies2014-03-131-21/+20
| | * cleanup headers and especially #includes everywhereDavid Kalnischkies2014-03-131-3/+9
| | * warning: useless cast to type A [-Wuseless-cast]David Kalnischkies2014-03-131-2/+2
| | * warning: cast from type A to type B casts away qualifiers [-Wcast-qual]David Kalnischkies2014-03-131-2/+2
| * | add hashsum support in apt-file download and add more testsMichael Vogt2014-03-121-0/+11
| |/
* | Merge branch 'debian/sid' into debian/experimentalMichael Vogt2014-02-271-74/+118
|\|
| * Fix typos in documentation (codespell)Michael Vogt2014-02-221-3/+3
| * simplify code some more to make reddit happyDavid Kalnischkies2014-02-141-38/+29
| * simplify code to make compilers happyDavid Kalnischkies2014-02-101-3/+9
| * Merge remote-tracking branch 'donkult/debian/sid' into debian/sidMichael Vogt2014-01-261-1/+1
| |\
| | * correct some style/performance/warnings from cppcheckDavid Kalnischkies2014-01-161-1/+1