[uml-devel] reading heap memory in kernel space .

2010-07-28 Thread ratheesh k
I have a simple user space program . char *ptr=(char *)malloc(100); strcpy(ptr , "Hi Kernel , How are you "); . sendmsg(...) I compiled this program and executed on 2.6.32 user mode linux . when i run uml under gdb , i would like to read all memory location staring from ptr .(

Re: [uml-devel] reading heap memory in kernel space .

2010-07-28 Thread ratheesh k
On Thu, Jul 29, 2010 at 12:19 AM, Jeff Dike wrote: > Why do you want a physical address? It's useless to a debugger. I agree . I would like to know this .Could you help me .How do i find uml_physmem value ? -Ratheesh > On Wed, Jul 28, 2010 at 09:54:37PM +0530, ratheesh k wrote:

[uml-devel] netlink socket is not working

2010-07-29 Thread ratheesh k
attached code is working properly on i386 machine running 2.6.32. but not working on uml (2.6.32 ). am i missing something ? or is it a known bug ? #include #include #include # include # include # include # include # define NETLINK_NITRO 17 MODULE_LICENSE("GPL"); static struct sock *nl_sk

[uml-devel] nf_nat.h

2010-09-30 Thread ratheesh k
When i included nf_nat.h in hook.c file and try to build a kernel module ; fol lowing error comes from include/net/netfilter/nf_nat.h:57, from /home/fox/workspace/hook.c:7: include/net/netfilter/nf_conntrack.h:94: error: field ‘ct_general’ has incomplete type include/net/netfil