summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/fileutl.cc
AgeCommit message (Expand)Author
2014-10-13Fix backward compatiblity of the new pkgAcquireMethod::DropPrivsOrDie()Michael Vogt
2014-10-08Merge remote-tracking branch 'mvo/feature/acq-trans' into debian/experimentalMichael Vogt
2014-10-07set PR_SET_NO_NEW_PRIVS also if run as non-rootDavid Kalnischkies
2014-10-07fix foldmarkers in fileutl.ccDavid Kalnischkies
2014-10-07Ignore EINVAL from prctl(PR_SET_NO_NEW_PRIVS)Michael Vogt
2014-10-07Rename DropPrivs() to DropPrivileges()Michael Vogt
2014-09-29Adjust DestFile in ReverifyAfterIMS() to not include compr ExtensionMichael Vogt
2014-09-27fix: Consecutive return, break, continue, goto or throw statements are unnece...David Kalnischkies
2014-09-27fix: Member variable 'X' is not initialized in the constructor.David Kalnischkies
2014-09-24DropPrivs: Use APT::Sandbox::User instead of Apt::User::NobodyJulian Andres Klode
2014-09-24DropPrivs: Hard-fail if the user does not existJulian Andres Klode
2014-09-24DropPrivs: Add some comments for the more obscure setuid/setgid functionsJulian Andres Klode
2014-09-24DropPrivs: Move the re-set uid/gid thing to the end of the functionJulian Andres Klode
2014-09-24DropPrivs: Improve commentsJulian Andres Klode
2014-09-24DropPrivs: Also check for saved set-user-ID and set-group-IDJulian Andres Klode
2014-09-24DropPrivs: Do not use an invalid return check for setgroups()Julian Andres Klode
2014-09-24Use _apt as our unprivileged user nameJulian Andres Klode
2014-09-24DropPriv: Really call seteuid and not setuid, and add more checksJulian Andres Klode
2014-09-24Drop Privileges to "Debian-apt" in most acquire methodsMichael Vogt
2014-06-18Merge remote-tracking branch 'mvo/feature/drop-rights' into debian/experimentalMichael Vogt
2014-06-18Merge branch 'debian/sid' into debian/experimentalMichael Vogt
2014-06-11DropPrivs in the solvers (just to be on the safe side)Michael Vogt
2014-05-30without a filename we can't stat pipesDavid Kalnischkies
2014-05-27use free() instead of delete() when realloc is usedMichael Vogt
2014-05-07Merge remote-tracking branch 'mvo/feature/apt-install-deb' into debian/experi...Michael Vogt
2014-05-07Merge branch 'debian/sid' into debian/experimentalMichael Vogt
2014-04-28Merge branch 'feature/abspath' into feature/apt-install-debMichael Vogt
2014-04-28add flAbsPath() as a wrapper to realpath()Michael Vogt
2014-04-28Merge branch 'feature/popen' into feature/apt-install-debMichael Vogt
2014-04-28Implement Popen() execv helper to avoid popen()Michael Vogt
2014-04-28WIP local deb installMichael Vogt
2014-04-26fix FileFd::Size bitswap on big-endian architecturesAdam Conrad
2014-04-16clear HitEof flag in FileFd::SeekDavid Kalnischkies
2014-04-11deal with umask only if we really need to for mkstempDavid Kalnischkies
2014-04-11don't double-count seeks in FileFd::Skip for bzip/xzDavid Kalnischkies
2014-04-10improve umask/fchmod code readabilityMichael Vogt
2014-04-10Rename FileFd::Open() Perms to AccessModeMichael Vogt
2014-04-10Fix insecure file permissions when using FileFd with OpenMode::AtomicMichael Vogt
2014-04-01Add new Debug::RunScripts optionMichael Vogt
2014-03-21continue reading in xz even if it outputs nothingDavid Kalnischkies
2014-03-15Fix handling of autoclosing for compressed files (Closes: #741685)Julian Andres Klode
2014-03-14fix test/integration/test-apt-helperMichael Vogt
2014-03-13refactor FileFd to hide some #ifdefsDavid Kalnischkies
2014-03-13use liblzma-dev to provide xz/lzma supportDavid Kalnischkies
2014-03-13refactor setup of file opening via zlib/bz2 libDavid Kalnischkies
2014-03-13move fd duplication closer to the gz/bz2 open callsDavid Kalnischkies
2014-03-13cleanup headers and especially #includes everywhereDavid Kalnischkies
2014-03-13warning: useless cast to type A [-Wuseless-cast]David Kalnischkies
2014-03-13warning: cast from type A to type B casts away qualifiers [-Wcast-qual]David Kalnischkies
2014-03-12add hashsum support in apt-file download and add more testsMichael Vogt