summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/fileutl.cc
AgeCommit message (Expand)Author
2015-12-23fix new[] vs delete mismatch introduced by b3db9d81David Kalnischkies
2015-12-23use a dynamic buffer for ReadLineDavid Kalnischkies
2015-12-23implement a buffer system for FileFd::ReadLineDavid Kalnischkies
2015-12-22parse xz-compression level from configurationDavid Kalnischkies
2015-12-22follow dpkg and xz and use CRC64 for xz compressionDavid Kalnischkies
2015-12-22shuffle compressor-specific code into private subclassesDavid Kalnischkies
2015-12-19Do not try to read in FileFd::Read() if Size is 0Julian Andres Klode
2015-12-19Do nothing in FileFd::Write() if Size is 0Julian Andres Klode
2015-12-19CopyFile: avoid failing on EOF on some systemsPino Toscano
2015-12-19CopyFile: fix BufSize to a sane valuePino Toscano
2015-11-28disable privilege-drop verification by default as fakeroot trips over itDavid Kalnischkies
2015-11-28show the group we failed to drop via setgroupsDavid Kalnischkies
2015-11-27add messages to our deprecation warnings in libaptDavid Kalnischkies
2015-11-19do not use _apt for file/copy sources if it isn't world-accessibleDavid Kalnischkies
2015-11-04wrap every unlink call to check for != /dev/nullDavid Kalnischkies
2015-11-04ensure FileFd doesn't try to open /dev/null as atomic and coDavid Kalnischkies
2015-09-14avoid using global PendingError to avoid failing too often too soonDavid Kalnischkies
2015-09-14copy ReadWrite-error to the bottom to make clang happyDavid Kalnischkies
2015-09-14implement CopyFile without using FileFd::Size()David Kalnischkies
2015-09-01improve CheckDropPrivsMustBeDisabled furtherDavid Kalnischkies
2015-08-31ignore for _apt inaccessible TMPDIR in pkgAcqChangelogDavid Kalnischkies
2015-08-27Always close compressed files in FileFdJulian Andres Klode
2015-08-13Use setresuid() and setresgid() where availableJulian Andres Klode
2015-08-13Deprecate SPtrArray<T> and convert everyone to unique_ptr<T[]>Julian Andres Klode
2015-08-11ExecFork: Use /proc/self/fd to determine which files to closeJulian Andres Klode
2015-08-10elimate duplicated code in pkgIndexFile subclassesDavid Kalnischkies
2015-08-10make all d-pointer * const pointersDavid Kalnischkies
2015-05-22Merge branch 'debian/sid' into debian/experimentalMichael Vogt
2015-04-28Move sysconf(_SC_OPEN_MAX); out of the for() loop to avoid unneeded syscallsMichael Vogt
2015-04-19ensure lists/ files have correct permissions after apt-cdrom addDavid Kalnischkies
2014-10-20test if TMPDIR is accessible before usingDavid Kalnischkies
2014-10-15set PR_SET_NO_NEW_PRIVS even if sandbox is disabledDavid Kalnischkies
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