Now using static buffers (and protecting with a semaphore) for kernel secprintf.

We have to do this because we need secure output in kmalloc.
This commit is contained in:
Scott Haseley
2016-03-07 15:05:58 -05:00
parent 2cb47cb4c8
commit 196bb3b684
4 changed files with 53 additions and 28 deletions

View File

@@ -39,4 +39,8 @@ int success(int, const char *, const char *);
int secprintf(const char *secret, const char *msg, const char *name);
int partial_credit(const char *secret, const char *name, int scored, int total);
#ifdef _KERNEL
void test161_bootstrap(void);
#endif
#endif /* _KERN_TEST161_H_ */