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: <AANLkTikaH5sYv-pa6OEIPCofF8RAbi7F3nTdWqEXWr8J@mail.gmail.com>
Date:	Thu, 17 Jun 2010 14:51:56 +0530
From:	Sankar P <sankar.curiosity@...il.com>
To:	rnagarajan@...ell.com, teheo@...ell.com,
	Catalin Marinas <catalin.marinas@....com>,
	Pekka Enberg <penberg@...helsinki.fi>,
	"Luis R. Rodriguez" <lrodriguez@...eros.com>,
	linux-kernel@...r.kernel.org, linux-mm@...ck.org
Subject: Probable Bug (or configuration error) in kmemleak

Hi,

I wanted to detect memory leaks in one of my kernel modules. So I
built Linus' tree  with the following config options enabled (on top
of make defconfig)

CONFIG_DEBUG_KMEMLEAK=y
CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=400
CONFIG_DEBUG_KMEMLEAK_TEST=y

If I boot with this kernel, debugfs is automatically mounted. But I do
not have the file:

/sys/kernel/debug/kmemleak

created at all. There are other files like kprobes in the mounted
/sys/kernel/debug directory btw. So I am not able to detect any of the
memory leaks. Is there anything I am doing wrong or missing (or) is
this a bug in kmemleak ?

Please let me know your suggestions to fix this and get memory leaks
reporting working. Thanks.

The full .config file is also attached with this mail. Sorry for the
attachment, I did not want to paste 5k lines in the mail. Sorry if it
is wrong.

-- 
Sankar P
http://psankar.blogspot.com

Download attachment "kmem-psankar-config" of type "application/octet-stream" (117418 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ