* How to figure READONLY kernel space address/page
@ 2008-07-02 11:21 yzhar
0 siblings, 0 replies; only message in thread
From: yzhar @ 2008-07-02 11:21 UTC (permalink / raw)
To: linux-kernel
Hi there,
I would like to figure out if a kernel space address is within a READONLY
page (even for kernel usage).
The code is within an LKM, so I guess I'm a bit constraint to exported
kernel methods.
I can see the pgtbl entry holding such information, but could not figure out
how to get pte_t* from a kernel address.
One other thing I'm confused with is "what methods/symbols could I use
within an LKM"? (The LKM is build out of kernel build).
Some articles suggested the /proc/kallsyms searching for the _T_ symbols,
but from my short experience it doesn't correspond.
Could you enlighten this issue?
Btw,
I'm very new to the Linux kernel.
Thx,
Yzhar
--
View this message in context: http://www.nabble.com/How-to-figure-READONLY-kernel-space-address-page-tp18235306p18235306.html
Sent from the linux-kernel mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-07-02 11:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02 11:21 How to figure READONLY kernel space address/page yzhar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox