summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/fileutl.cc
Commit message (Expand)AuthorAgeFilesLines
* make all d-pointer * const pointersDavid Kalnischkies2015-08-101-0/+19
* Merge branch 'debian/sid' into debian/experimentalMichael Vogt2015-05-221-1/+2
|\
| * Move sysconf(_SC_OPEN_MAX); out of the for() loop to avoid unneeded syscallsMichael Vogt2015-04-281-1/+2
* | ensure lists/ files have correct permissions after apt-cdrom addDavid Kalnischkies2015-04-191-0/+19
* | test if TMPDIR is accessible before usingDavid Kalnischkies2014-10-201-2/+4
* | set PR_SET_NO_NEW_PRIVS even if sandbox is disabledDavid Kalnischkies2014-10-151-6/+6
* | Fix backward compatiblity of the new pkgAcquireMethod::DropPrivsOrDie()Michael Vogt2014-10-131-1/+6
* | Merge remote-tracking branch 'mvo/feature/acq-trans' into debian/experimentalMichael Vogt2014-10-081-1/+1
|\ \
| * | Adjust DestFile in ReverifyAfterIMS() to not include compr ExtensionMichael Vogt2014-09-291-1/+1
* | | set PR_SET_NO_NEW_PRIVS also if run as non-rootDavid Kalnischkies2014-10-071-11/+16
* | | fix foldmarkers in fileutl.ccDavid Kalnischkies2014-10-071-21/+14
* | | Ignore EINVAL from prctl(PR_SET_NO_NEW_PRIVS)Michael Vogt2014-10-071-2/+3
* | | Rename DropPrivs() to DropPrivileges()Michael Vogt2014-10-071-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