* bjm.c (MODULE_INIT_IGNORE_MODVERSIONS, MODULE_INIT_IGNORE_VERMAGIC):
Remove.
* xlat/module_init_flags.in: Add values for
MODULE_INIT_IGNORE_MODVERSIONS and MODULE_INIT_IGNORE_VERMAGIC records.
---
 bjm.c                     |    3 ---
 xlat/module_init_flags.in |    4 ++--
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/bjm.c b/bjm.c
index d7e241e..e77b73d 100644
--- a/bjm.c
+++ b/bjm.c
@@ -51,9 +51,6 @@ SYS_FUNC(init_module)
        return RVAL_DECODED;
 }
 
-#define MODULE_INIT_IGNORE_MODVERSIONS  1
-#define MODULE_INIT_IGNORE_VERMAGIC     2
-
 #include "xlat/module_init_flags.h"
 
 SYS_FUNC(finit_module)
diff --git a/xlat/module_init_flags.in b/xlat/module_init_flags.in
index e672a59..1547189 100644
--- a/xlat/module_init_flags.in
+++ b/xlat/module_init_flags.in
@@ -1,2 +1,2 @@
-MODULE_INIT_IGNORE_MODVERSIONS
-MODULE_INIT_IGNORE_VERMAGIC
+MODULE_INIT_IGNORE_MODVERSIONS (1 << 0)
+MODULE_INIT_IGNORE_VERMAGIC    (1 << 1)
-- 
1.7.10.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to