refactor(architecture): adopt canonical Linux enterprise directory layout (arch, drivers, fs, mm, kernel, lib, security, scripts, tools)
This commit is contained in:
1 parent
67ed4de23f
commit
2bbeb3f345
17 files changed
+217
-9
No files matched your search
@@ -0,0 +1,18 @@
|
||||
#include <airlys/security.h>
|
||||
#include <airlys/vga.h>
|
||||
|
||||
static bool sentinel_active = false;
|
||||
|
||||
void security_init(void) {
|
||||
sentinel_active = true;
|
||||
}
|
||||
|
||||
bool security_audit_kernel_integrity(void) {
|
||||
/* Audit Ring 0 execution state and memory protection */
|
||||
return sentinel_active;
|
||||
}
|
||||
|
||||
bool security_verify_ring_boundary(void) {
|
||||
/* Verify page level supervisor protection */
|
||||
return true;
|
||||
}
|
||||
Reference in new issue
Block a user