diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-10-07 13:30:27 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-10-07 13:30:27 +0200 |
commit | 373fa2b4b2caae977c41b2c10ea27e41308a05c3 (patch) | |
tree | fe57ee39daa2cef6a7f3832c0c45ed8b8d1ac531 /apt-pkg/contrib/fileutl.cc | |
parent | 00a06b8eb82cf930511fc003bd16d7034e5a0cb5 (diff) |
Rename DropPrivs() to DropPrivileges()
Git-Dch: ignore
Diffstat (limited to 'apt-pkg/contrib/fileutl.cc')
-rw-r--r-- | apt-pkg/contrib/fileutl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc index df409fa36..1e1fb5957 100644 --- a/apt-pkg/contrib/fileutl.cc +++ b/apt-pkg/contrib/fileutl.cc @@ -2171,7 +2171,7 @@ bool Popen(const char* Args[], FileFd &Fd, pid_t &Child, FileFd::OpenMode Mode) return true; } -bool DropPrivs() +bool DropPrivileges() { // uid will be 0 in the end, but gid might be different anyway uid_t old_uid = getuid(); |