summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/fileutl.h
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-06-11 15:31:38 +0200
committerMichael Vogt <mvo@debian.org>2014-06-11 15:31:38 +0200
commitfc1a78d8e9b958f3d65fe1c03494d785314f9816 (patch)
tree09b61bfae82e32d45db8e264bb3a15f947ca8b76 /apt-pkg/contrib/fileutl.h
parenteea0f3a6197dba565c5df349ed06c0a70b49b77f (diff)
DropPrivs in the solvers (just to be on the safe side)
Diffstat (limited to 'apt-pkg/contrib/fileutl.h')
-rw-r--r--apt-pkg/contrib/fileutl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/contrib/fileutl.h b/apt-pkg/contrib/fileutl.h
index cc1a98eae..683c04157 100644
--- a/apt-pkg/contrib/fileutl.h
+++ b/apt-pkg/contrib/fileutl.h
@@ -191,6 +191,9 @@ pid_t ExecFork(std::set<int> keep_fds);
void MergeKeepFdsFromConfiguration(std::set<int> &keep_fds);
bool ExecWait(pid_t Pid,const char *Name,bool Reap = false);
+// process releated
+bool DropPrivs();
+
// File string manipulators
std::string flNotDir(std::string File);
std::string flNotFile(std::string File);