Removed printsf, an unused secure testing printf variant. This variant does not apply now that each test has its own secret.
Fixed unused variable in libtest161 in kernel compiles.
This commit is contained in:
1 parent
a5963a0e31
commit
e7ec655415
4 files changed
+9
-27
No files matched your search
@@ -19,13 +19,15 @@
|
||||
|
||||
// Hack for allocating userspace memory without malloc.
|
||||
#define BUFFER_SIZE 4096
|
||||
|
||||
#ifndef _KERNEL
|
||||
static char temp_buffer[BUFFER_SIZE];
|
||||
static char write_buffer[BUFFER_SIZE];
|
||||
#endif
|
||||
|
||||
static inline void * _alloc(size_t size)
|
||||
{
|
||||
#ifdef _KERNEL
|
||||
(void)temp_buffer;
|
||||
return kmalloc(size);
|
||||
#else
|
||||
(void)size;
|
||||
|
||||
Reference in new issue
Block a user