Load a custom file system.
The enclave application must implement the functions defined in oe_customfs_t. Folders are not supported for now.
- Parameters
-
| devname | An arbitrary but unique device name. The same name must be passed to mount(). |
| ops | Pointer to a struct that contains the file operation function pointers. Its memory must not be modified or freed. |
| context | An arbitrary value that is passed to the file operation functions. |
- Return values
-
| device_id | The module was successfully loaded. |
| 0 | Module failed to load. |