[Bug translator/10280] New: allow relaxing of `uname -r` matching runtime assertion

fche at redhat dot com sourceware-bugzilla@sourceware.org
Sun Jun 14 14:41:00 GMT 2009


On ABI-compatible kernel series such as RHEL5, a module compiled against
an older kernel can sometimes be loaded correctly on later kernels of the
same series.  Systemtap prohibits this by checks in translate.cxx 
(c_unparser:;emit_module_init) that matches UTS_RELEASE against the
compile-time `uname -r`.  This check is valuable in some contexts, but
seems counterproductive here.  So let's give users an option to remove
this check.  

(Perhaps it could be heuristically automated if no highly release/build-specific
data such as debuginfo is used in a given script.)

-- 
           Summary: allow relaxing of `uname -r` matching runtime assertion
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=10280

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list