Droped support for kernel mode Overlayfs

This commit is contained in:
Marc
2022-10-07 10:12:34 +02:00
parent 67a68011ed
commit b6d11aa9ee
3 changed files with 52 additions and 102 deletions
+4 -1
View File
@@ -1,6 +1,9 @@
#ifndef __OVERLAY_H__
#define __OVERLAY_H__
enum overlayErrors { SUCESS, NOT_INSTALLED, FAILURE };
/**
* @brief Overlayfs is what make it possible to deploy to the game files without altering anything.
* it allows us to overlay multiple folder over the game files. like appling filters to an image.
@@ -10,6 +13,6 @@
* @param workdir a directory that will contains only temporary files.
* @return int error code
*/
int overlayMount(char ** sources, const char * dest, const char * upperdir, const char * workdir);
enum overlayErrors overlayMount(char ** sources, const char * dest, const char * upperdir, const char * workdir);
#endif