summaryrefslogtreecommitdiffstats
path: root/runtime/staprun/staprun_funcs.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-12-02 16:41:11 -0500
committerDave Brolley <brolley@redhat.com>2009-12-02 16:41:11 -0500
commit6bb613f9be856632dec47cab4b27a7fe92c2fe64 (patch)
tree76e778645ea20df5fd89981994ee249fc760d4f5 /runtime/staprun/staprun_funcs.c
parent5d4ea4cc1d1f7531fb0ff4d0498957e0333a61eb (diff)
parent4a0ae64c47b159d4dd0ea471f1f8044503843a7f (diff)
downloadsystemtap-steved-6bb613f9be856632dec47cab4b27a7fe92c2fe64.tar.gz
systemtap-steved-6bb613f9be856632dec47cab4b27a7fe92c2fe64.tar.xz
systemtap-steved-6bb613f9be856632dec47cab4b27a7fe92c2fe64.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.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/staprun/staprun_funcs.c b/runtime/staprun/staprun_funcs.c
index 8f3d84ad..db58cd4f 100644
--- a/runtime/staprun/staprun_funcs.c
+++ b/runtime/staprun/staprun_funcs.c
@@ -12,7 +12,6 @@
#include "config.h"
#include "staprun.h"
-#include "modverify.h"
#include <sys/mount.h>
#include <sys/utsname.h>
@@ -20,6 +19,8 @@
#include <pwd.h>
#include <assert.h>
+#include "modverify.h"
+
typedef int (*check_module_path_func)(const char *module_path, int module_fd);
extern long init_module(void *, unsigned long, const char *);
@@ -507,8 +508,8 @@ check_groups (
void assert_stap_module_permissions(
const char *module_path,
int module_fd,
- const void *module_data,
- off_t module_size
+ const void *module_data __attribute__ ((unused)),
+ off_t module_size __attribute__ ((unused))
) {
int check_groups_rc;
int check_signature_rc;