diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-04-30 17:06:02 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2023-04-30 17:06:02 +0300 |
| commit | ea5ebe0809fb31b9f125ac0689f706cc5f3f078f (patch) | |
| tree | 17081bd689709a9bfe48467c458425dea876bddd /include/apos/canary.h | |
| parent | 8a5e4cf53d981e793fca90d9b51bd395265cf4db (diff) | |
| download | kmi-ea5ebe0809fb31b9f125ac0689f706cc5f3f078f.tar.gz kmi-ea5ebe0809fb31b9f125ac0689f706cc5f3f078f.zip | |
rename to kmi
Diffstat (limited to 'include/apos/canary.h')
| -rw-r--r-- | include/apos/canary.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/include/apos/canary.h b/include/apos/canary.h deleted file mode 100644 index 30a3dd2..0000000 --- a/include/apos/canary.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef APOS_CANARY_H -#define APOS_CANARY_H - -/** - * @file canary.h - * Kernel stack canary handling. - */ - -#include <apos/tcb.h> -#include <apos/types.h> - -/** - * Place canary at end of kernel stack. - * - * @param t \ref tcb whose kernel stack to place canary in. - */ -void set_canary(struct tcb *t); - -/** - * Check that canary hasn't been accidentally overwritten. - * - * @param t \ref tcb whose kernel stack canary to check. - * @return \ref true if overwritten, \ref false otherwise. - */ -bool check_canary(struct tcb *t); - -#endif /* APOS_CANARY_H */ |
