summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/staprun_funcs.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-10-13 11:55:11 -0400
committerDave Brolley <brolley@redhat.com>2009-10-13 11:55:11 -0400
commitf990359bd63bd4fc21e600e71c6a513d5b5b2ccb (patch)
tree16fb7638f2089476b2994ec7d8b2131e4a7b0b69 /runtime/staprun/staprun_funcs.c
parent8f6d8c2bd3e5c1d2881e2ebe1c7ad5deb389e581 (diff)
parentba9abf303e1bed196668f103b2a17c48e3df70aa (diff)
downloadsystemtap-steved-f990359bd63bd4fc21e600e71c6a513d5b5b2ccb.tar.gz
systemtap-steved-f990359bd63bd4fc21e600e71c6a513d5b5b2ccb.tar.xz
systemtap-steved-f990359bd63bd4fc21e600e71c6a513d5b5b2ccb.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/staprun/staprun_funcs.c')
-rw-r--r--runtime/staprun/staprun_funcs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/staprun/staprun_funcs.c b/runtime/staprun/staprun_funcs.c
index e4ccc8da..aef8a2da 100644
--- a/runtime/staprun/staprun_funcs.c
+++ b/runtime/staprun/staprun_funcs.c
@@ -453,12 +453,11 @@ void assert_permissions(
off_t module_size __attribute__ ((unused))
) {
int check_groups_rc;
- int check_signature_rc = 0;
#if HAVE_NSS
/* Attempt to verify the module against its signature. Return failure
if the module has been tampered with (altered). */
- check_signature_rc = check_signature (module_data, module_size);
+ int check_signature_rc = check_signature (module_data, module_size);
if (check_signature_rc == MODULE_ALTERED)
exit(-1);
#endif