projects
/
manu
/
suphp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0.6.1-1 release
[manu/suphp.git]
/
src
/
API.hpp
diff --git
a/src/API.hpp
b/src/API.hpp
index
9b9f69f
..
47f71e3
100644
(file)
--- a/
src/API.hpp
+++ b/
src/API.hpp
@@
-180,6
+180,12
@@
namespace suPHP {
* Sets umask
*/
virtual void setUmask(int umask) const throw (SystemException) =0;
+
+ /**
+ * Changes root directory for the current process
+ */
+ virtual void chroot(const std::string& dir) const
+ throw (SystemException) =0;
};
};