Refactored ksecprintf -> secprintf. Secure code is now all in common libtest161.

This library gets linked in by default in userland, and the common files are
included in the kernel.
This commit is contained in:
Scott Haseley
2016-02-23 15:31:37 -05:00
parent 2e74764d49
commit 1b99c0e18f
22 changed files with 241 additions and 139 deletions

View File

@@ -9,7 +9,7 @@
#include <thread.h>
#include <synch.h>
#include <test.h>
#include <kern/secret.h>
#include <kern/test161.h>
#include <spinlock.h>
/*
@@ -21,7 +21,7 @@ int rwtest(int nargs, char **args) {
(void)args;
kprintf_n("rwt1 unimplemented\n");
success(FAIL, SECRET, "rwt1");
success(TEST161_FAIL, SECRET, "rwt1");
return 0;
}
@@ -31,7 +31,7 @@ int rwtest2(int nargs, char **args) {
(void)args;
kprintf_n("rwt2 unimplemented\n");
success(FAIL, SECRET, "rwt2");
success(TEST161_FAIL, SECRET, "rwt2");
return 0;
}
@@ -41,7 +41,7 @@ int rwtest3(int nargs, char **args) {
(void)args;
kprintf_n("rwt3 unimplemented\n");
success(FAIL, SECRET, "rwt3");
success(TEST161_FAIL, SECRET, "rwt3");
return 0;
}
@@ -51,7 +51,7 @@ int rwtest4(int nargs, char **args) {
(void)args;
kprintf_n("rwt4 unimplemented\n");
success(FAIL, SECRET, "rwt4");
success(TEST161_FAIL, SECRET, "rwt4");
return 0;
}
@@ -61,7 +61,7 @@ int rwtest5(int nargs, char **args) {
(void)args;
kprintf_n("rwt5 unimplemented\n");
success(FAIL, SECRET, "rwt5");
success(TEST161_FAIL, SECRET, "rwt5");
return 0;
}