From 7885012ba0a7c1d7c974dd9528afa90aeed916a6 Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Tue, 10 Nov 2009 12:12:54 -0500 Subject: Replace the use of the global variable 'modpath' in diagnostic messages within verify_it with the use of a 'module_name' parameter passed in. Add a comment in insert_module explaining why it's ok to overwrite the 'path' parameter with the canonicalized path. --- runtime/staprun/modverify.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/staprun/modverify.h') diff --git a/runtime/staprun/modverify.h b/runtime/staprun/modverify.h index 730a5e86..c35adc29 100644 --- a/runtime/staprun/modverify.h +++ b/runtime/staprun/modverify.h @@ -1,4 +1,5 @@ -int verify_module (const char *signature_name, const void *module_data, off_t module_size); +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 -- cgit