From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3169 invoked by alias); 3 Sep 2009 21:20:17 -0000 Received: (qmail 3145 invoked by uid 448); 3 Sep 2009 21:20:17 -0000 Date: Thu, 03 Sep 2009 21:20:00 -0000 Message-ID: <20090903212016.3134.qmail@sourceware.org> From: brolley@sourceware.org To: systemtap-cvs@sourceware.org Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-0.9.9-228-gd0822e2 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 5e8a3b7b558273fa06525f642fdf2d678dde85eb X-Git-Newrev: d0822e28934cd0387c2af4349cf52c52c368c55a Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: Reply-To: systemtap@sourceware.org X-SW-Source: 2009-q3/txt/msg00200.txt.bz2 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 Date: Thu Sep 3 17:19:05 2009 -0400 Disallow kernel space memory access when unprivileged. 2009-09-03 Dave Brolley * 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. : #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