This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tapsets/15751] New: on rawhide, sigaction32/old_sigaction32 have been replaced


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

            Bug ID: 15751
           Summary: on rawhide, sigaction32/old_sigaction32 have been
                    replaced
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com

The systemtap.context/usymbols.exp was getting some odd failures on rawhide
(3.11.0-0.rc0.git7.1.fc20.x86_64):

====
cmd: stap -w -d
/discer.farm/es/scratch/dsmith/systemtap/rawhide-64-2/testsuite/usymbols-m32-O2
--ldd -c
/discer.farm/es/scratch/dsmith/systemtap/rawhide-64-2/testsuite/usymbols-m32-O2
-e $script
cmd output: semantic error: type definition 'struct sigaction32' not found in
'kernel': operator '@cast' at <input>:16:23
        source:     handler = user_long(&@cast(act_uaddr, "struct
sigaction32")->sa_handler);
====

After some investigation, I found that the sigaction32/old_sigaction32
Astructures have been replaced by compat_sigaction/compat_old_sigaction. These
structures are used by the compat_rt_sigaction/compat_sigaction syscall probes.

This was done by the following kernel commit:

====
commit 574c4866e33d648520a8bd5bf6f573ea6e554e88                                 
Author: Al Viro <viro@zeniv.linux.org.uk>                                       
Date:   Sun Nov 25 22:24:19 2012 -0500                                          

    consolidate kernel-side struct sigaction declarations                       

    Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>                            
====

Systemtap will need to be updated to handle this change.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]