summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/modverify.h
blob: c35adc29c6955f2a4455446e3de7a10223889d6c (plain)
1
2
3
4
5
6
7
8
9
10
int verify_module (const char *signature_name, const char *module_name,
		   const void *module_data, off_t module_size);

/* return codes for verify_module.  */
#define MODULE_OK           1
#define MODULE_UNTRUSTED    0
#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 : */