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>] [day] [month] [year] [list]
Date:	Mon, 20 Jul 2009 17:47:30 +0500
From:	"M. Shuaib Khan" <aries.shuaib@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: [Newbie] Getting pages of files accessed by a process from a RAM 
	image

Hi,

This is a newbie question, and I asked and searched elsewhere but
couldn't get a satisfactory answer, so bothering you guys. Please bear
with me.

I am trying to get all the pages of files opened by a process, by
manually traversing the structures in a RAM image taken using dd. So
far what I know is that I can do it using the radix_tree_node, which
has data members height, count, and slots, and which I think refer to
the level of indirection in slots, the page count, and the addresses
of the page frames respectively. Correct? What does the addresses in
the slots point to? Page descriptors?

Also, when the nrpages of a file is 1, the height in radix_tree_root
is reported as 0, in that case how can we access that single page
because  we can't get the count and slots addresses in
radix_tree_node.

Any input, web pointers welcomed.

Thanks

--
M. Shuaib Khan
--
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