Edgeless RT  0.2.0

◆ oe_load_module_custom_file_system()

uint64_t oe_load_module_custom_file_system ( const char *  devname,
oe_customfs_t ops,
void *  context 
)

Load a custom file system.

The enclave application must implement the functions defined in oe_customfs_t. Folders are not supported for now.

Parameters
devnameAn arbitrary but unique device name. The same name must be passed to mount().
opsPointer to a struct that contains the file operation function pointers. Its memory must not be modified or freed.
contextAn arbitrary value that is passed to the file operation functions.
Return values
device_idThe module was successfully loaded.
0Module failed to load.