From 2035bcd40b17832439df0a1eb28403b99a71b74f Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Mon, 4 May 2009 16:05:22 -0400 Subject: Module signing and verification using a separate file for the module signature. --- runtime/staprun/modverify.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 runtime/staprun/modverify.h (limited to 'runtime/staprun/modverify.h') diff --git a/runtime/staprun/modverify.h b/runtime/staprun/modverify.h new file mode 100644 index 00000000..9abf62d4 --- /dev/null +++ b/runtime/staprun/modverify.h @@ -0,0 +1,8 @@ +int verify_module (const char *module_name, const char *signature_name); + +/* return codes for verify_module. */ +#define MODULE_OK 1 +#define MODULE_UNTRUSTED 0 +#define MODULE_CHECK_ERROR -1 +#define MODULE_ALTERED -2 + -- cgit From d781daa027b2ad6c78f4258734142c97eb40b777 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 5 May 2009 11:21:51 -0700 Subject: Add Vim modelines for new C/C++ sources --- runtime/staprun/modverify.h | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/staprun/modverify.h') diff --git a/runtime/staprun/modverify.h b/runtime/staprun/modverify.h index 9abf62d4..49b90bfe 100644 --- a/runtime/staprun/modverify.h +++ b/runtime/staprun/modverify.h @@ -6,3 +6,4 @@ int verify_module (const char *module_name, const char *signature_name); #define MODULE_CHECK_ERROR -1 #define MODULE_ALTERED -2 +/* vim: set sw=2 ts=8 cino=>4,n-2,{2,^-2,t0,(0,u0,w1,M1 : */ -- cgit