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-0.9.9-228-gd0822e2


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  d0822e28934cd0387c2af4349cf52c52c368c55a (commit)
      from  5e8a3b7b558273fa06525f642fdf2d678dde85eb (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 d0822e28934cd0387c2af4349cf52c52c368c55a
Author: Dave Brolley <brolley@redhat.com>
Date:   Thu Sep 3 17:19:05 2009 -0400

    Disallow kernel space memory access when unprivileged.
    
    2009-09-03  Dave Brolley  <brolley@redhat.com>
    
            * runtime/addr-map.c (lookup_addr_aux): Now takes size argument.
            Consider the size when looking for overlapping range with the map
            entries.
            (lookup_bad_addr): Now takes size argument. Disallow kernel space access
            when STP_PRIVILEGED is not defined. Pass size to lookup_addr_aux.
            <asm/processor.h>: #include it when STP_PRIVILEGED is not defined.
            (add_bad_addr_entry): Supply a size of 1 to calls to lookup_addr_aux.
            * runtime/loc2c-runtime.h (kread): Pass sizeof (*(ptr)) to
            lookup_bad_addr.
            (kwrite): Likewise.
            (deref): Pass size to lookup_bad_addr.
            (store_deref): Likewise.

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

Summary of changes:
 runtime/addr-map.c      |   45 +++++++++++++++++++++++++++++++++++----------
 runtime/loc2c-runtime.h |   28 ++++++++++++++--------------
 2 files changed, 49 insertions(+), 24 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]