diff options
author | Dave Brolley <brolley@redhat.com> | 2009-11-10 12:12:54 -0500 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 2009-11-10 12:12:54 -0500 |
commit | 7885012ba0a7c1d7c974dd9528afa90aeed916a6 (patch) | |
tree | 7136ec8624b0b09bc1bc38d0d99fb52c3a7e99a3 /runtime/staprun/modverify.h | |
parent | 3d3942f6b1ccb9062794527f2f204d98642eaed2 (diff) | |
download | systemtap-steved-7885012ba0a7c1d7c974dd9528afa90aeed916a6.tar.gz systemtap-steved-7885012ba0a7c1d7c974dd9528afa90aeed916a6.tar.xz systemtap-steved-7885012ba0a7c1d7c974dd9528afa90aeed916a6.zip |
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.
Diffstat (limited to 'runtime/staprun/modverify.h')
-rw-r--r-- | runtime/staprun/modverify.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |