lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200704231128.49041.srinivasa@in.ibm.com>
Date:	Mon, 23 Apr 2007 11:28:49 +0530
From:	Srinivasa Ds <srinivasa@...ibm.com>
To:	linux-kernel@...r.kernel.org
Cc:	ananth@...ibm.com, Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH] Transparently handle <.symbol> lookup for kprobes

When data symbols are not present in kernel image, user needs to add
dot(".") before function name explicitly, that he wants to probe in kprobe 
module on ppc64.

for ex:-
When data symbols are missing on ppc64,
====================
[root@...27lp1 ~]# cat /proc/kallsyms | grep do_fork
c00000000006283c T .do_fork
==============================
User needs add "." to "do_fork"

kp.symbol_name = ".do_fork";
============================

This makes kprobe modules unportable. Below patch fixes the problem.


Signed-off-by: Srinivasa Ds <srinivasa@...ibm.com>
Signed-off-by: Ananth N Mavinakayanahalli <ananth@...ibm.com>



View attachment "final.patch" of type "text/x-diff" (731 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ