[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-newbie
Subject:    about kernel stack FP
From:       "Bob.Wang" <merrysoft () tom ! com>
Date:       2013-07-18 8:32:14
Message-ID: 000101ce8391$4ec1e6b0$ec45b410$ () com
[Download RAW message or body]

Hello everyone

I have meeted a problem with linux kernel 2.6.X.X that my user app wants to
get thread kernel stack frame ponter(FP)
from user space by system call or /proc system or any other ways except
driver. I do not want to write a driver,) to steal
FP from kernel. I have tried to use ptrace syscall to get FP with command
PTRACE_GETREGS, but It returns only user 
stack FP rather than kernel stack fp.

would anyone please to give me a hint to solve the problem.


thanks a lot.

regards

Bob Wang

--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic