This is the mail archive of the systemtap-cvs@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]

[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.2-389-g8af0ed1


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "systemtap: system-wide probe/trace tool".

The branch, master has been updated
       via  8af0ed12bb050d38cb655eac6ca19efb9ff959d3 (commit)
      from  8cc799a5dece8e2358037a147458a5f9c3d9727a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 8af0ed12bb050d38cb655eac6ca19efb9ff959d3
Author: Przemyslaw Pawelczyk <przemyslaw@pawelczyk.it>
Date:   Thu Jul 1 11:30:17 2010 +0200

    Do not use relay_file_operations directly.
    
    Reference counting is important to avoid removing the module while the
    file exposing relay channel is being used. SystemTap alone does not need
    it, but malicious user may block reloading the module by opening such
    file and stap user won't notice it during unloading.
    
    relay_file_operations defined and exported in kernel/relay.c is const
    and .owner is obviously not set there, hence it shouldn't be used
    directly by any kernel module.
    
    Add relay_file_operations_w_owner and use it instead of mentioned one to
    fix 'trace' file handling w.r.t. module unloading.
    
    * runtime/transport/relay_v2.c: Add owner to the trace file.

-----------------------------------------------------------------------

Summary of changes:
 runtime/transport/relay_v2.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
--
systemtap: system-wide probe/trace tool


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