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-prev] [day] [month] [year] [list]
Date:	Fri, 3 Nov 2006 16:07:14 +0530
From:	Ankita Garg <ankita@...ibm.com>
To:	torvalds@...l.org, Andrew Morton <akpm@...l.org>
Cc:	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Fix for LKDTM MEM_SWAPOUT crashpoint

Hi,

Re-posting the patch to fix up the MEM_SWAPOUT crashpoint (after fixing
a typo). 

o Fix for MEM_SWAPOUT crashpoint as some compilers inline the call to
  shrink_page_list() and symbol lookup for this function name fails.

Signed-off-by: Ankita Garg <ankita@...ibm.com>
---
 lkdtm.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Index: linux-2.6.19-rc4/drivers/misc/lkdtm.c
===================================================================
--- linux-2.6.19-rc4.orig/drivers/misc/lkdtm.c	2006-11-03 11:41:50.000000000 +0530
+++ linux-2.6.19-rc4/drivers/misc/lkdtm.c	2006-11-03 11:46:36.000000000 +0530
@@ -157,8 +157,8 @@
 
 struct scan_control;
 
-unsigned long jp_shrink_page_list(struct list_head *page_list,
-				struct scan_control *sc)
+unsigned long jp_shrink_inactive_list(unsigned long max_scan,
+				struct zone *zone, struct scan_control *sc)
 {
 	lkdtm_handler();
 	jprobe_return();
@@ -297,8 +297,8 @@
 		lkdtm.entry = (kprobe_opcode_t*) jp_ll_rw_block;
 		break;
 	case MEM_SWAPOUT:
-		lkdtm.kp.symbol_name = "shrink_page_list";
-		lkdtm.entry = (kprobe_opcode_t*) jp_shrink_page_list;
+		lkdtm.kp.symbol_name = "shrink_inactive_list";
+		lkdtm.entry = (kprobe_opcode_t*) jp_shrink_inactive_list;
 		break;
 	case TIMERADD:
 		lkdtm.kp.symbol_name = "hrtimer_start";


Regards,
-- 
Ankita Garg (ankigarg@...ibm.com)
Linux Technology Center
IBM India Systems & Technology Labs, 
Bangalore, India   
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ