From daa4f8c748d290feba8a71e889743a8a3097ad7d Mon Sep 17 00:00:00 2001 From: Amlal Date: Wed, 25 Sep 2024 08:26:08 +0200 Subject: Refactor codebase: Move Objects to obj/, fix flags, remove .vscode, add syscalls - Refactored Objects directory to obj/ for better organization. - Fixed incorrect flags in the build process. - Removed .vscode folder to clean up unnecessary IDE settings. - Added syscall implementations for enhanced functionality. Signed-off-by: Amlal --- dev/base/EncryptFS/src/EncryptBlock.cxx | 14 -------------- dev/base/EncryptFS/src/Key.cxx | 12 ------------ dev/base/EncryptFS/src/disk_crypt.cxx | 14 ++++++++++++++ 3 files changed, 14 insertions(+), 26 deletions(-) delete mode 100644 dev/base/EncryptFS/src/EncryptBlock.cxx delete mode 100644 dev/base/EncryptFS/src/Key.cxx create mode 100644 dev/base/EncryptFS/src/disk_crypt.cxx (limited to 'dev/base/EncryptFS/src') diff --git a/dev/base/EncryptFS/src/EncryptBlock.cxx b/dev/base/EncryptFS/src/EncryptBlock.cxx deleted file mode 100644 index b3f2fc56..00000000 --- a/dev/base/EncryptFS/src/EncryptBlock.cxx +++ /dev/null @@ -1,14 +0,0 @@ -/* ------------------------------------------- - - Copyright ZKA Technologies. - -------------------------------------------- */ - -#include -#include - -enum -{ - eEFSFlagEncrypted = 0x3f, - eEFSFlagEncryptedEPM = 0xf3, -}; diff --git a/dev/base/EncryptFS/src/Key.cxx b/dev/base/EncryptFS/src/Key.cxx deleted file mode 100644 index 166d04b3..00000000 --- a/dev/base/EncryptFS/src/Key.cxx +++ /dev/null @@ -1,12 +0,0 @@ -/* ------------------------------------------- - - Copyright ZKA Technologies. - -------------------------------------------- */ - -#include -#include -#include - -typedef int32_t efs_encrypt_token_t; -typedef void* efs_encrypted_blob_t; diff --git a/dev/base/EncryptFS/src/disk_crypt.cxx b/dev/base/EncryptFS/src/disk_crypt.cxx new file mode 100644 index 00000000..e8d64bfe --- /dev/null +++ b/dev/base/EncryptFS/src/disk_crypt.cxx @@ -0,0 +1,14 @@ +/* ------------------------------------------- + + Copyright ZKA Technologies. + +------------------------------------------- */ + +#include + +enum +{ + eEFSFlagEncryptedFree = 0x00, + eEFSFlagEncryptedUnlock = 0x3f, + eEFSFlagEncryptedLock = 0xf3, +}; -- cgit v1.2.3