X-Git-Url: http://git.home-dn.net/?p=manu%2Fsuphp.git;a=blobdiff_plain;f=src%2FAPI_Linux.hpp;h=a547d40dba6d2960c11ffe95a86a88bf9a82d65b;hp=c75ad426f40ba4886a80195f092e17d50993fa23;hb=47bcf8ba77fa8011f9be728c23dbe6915d70251b;hpb=1d5c20a335c25ab89adf2e0d3d74c810b679e719 diff --git a/src/API_Linux.hpp b/src/API_Linux.hpp index c75ad42..a547d40 100644 --- a/src/API_Linux.hpp +++ b/src/API_Linux.hpp @@ -191,6 +191,12 @@ namespace suPHP { * Sets umask */ virtual void setUmask(int umask) const throw (SystemException); + + /** + * Sets new root directory for current process + */ + virtual void chroot(const std::string& dir) const + throw (SystemException); }; };