public inbox for systemtap-cvs@sourceware.org
help / color / mirror / Atom feed
* [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.2-389-g8af0ed1
@ 2010-07-01 11:55 przemoc
0 siblings, 0 replies; only message in thread
From: przemoc @ 2010-07-01 11:55 UTC (permalink / raw)
To: systemtap-cvs
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-01 11:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-01 11:55 [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.2-389-g8af0ed1 przemoc
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).