Re: Query regarding page access protection flags linux kernel

2014-08-18 Thread Venkatram Tummala
and if VM_WRITE was set, it allocs a new page, copies the data from old_page to the new page and updates the pte entry with the write bit set. Venkatram Tummala Please help !! Thanks, Ravali ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: Questions about struct task_struct

2014-08-06 Thread Venkatram Tummala
On 08/06/2014 03:11 PM, Nick Krause wrote: I am new to kernel programming and have a lot questions about this structure. Also if after you guys reply I have a few \ questions for Greg Kroah Hartman about usb development and stable trees. I am very excited about learning this properly now and

Re: Prevent a process from opening a file more than once

2011-09-27 Thread Venkatram Tummala
On Tue, Sep 27, 2011 at 5:22 PM, Mulyadi Santosa mulyadi.sant...@gmail.comwrote: Hi :) On Wed, Sep 28, 2011 at 06:56, Venkatram Tummala venkatram...@gmail.com wrote: Hi All, I have a simple device driver which creates a /dev/XYZ file. I need to prevent a process from opening the file

Re: Prevent a process from opening a file more than once

2011-09-27 Thread Venkatram Tummala
On Tue, Sep 27, 2011 at 5:40 PM, Jeff Haran jha...@bytemobile.com wrote: From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Venkatram Tummala Sent: Tuesday, September 27, 2011 5:31 PM To: Mulyadi Santosa Cc: kernelnewbies Subject

Re: kallsyms_lookup_name

2011-08-08 Thread Venkatram Tummala
On Mon, Aug 8, 2011 at 11:21 AM, Abu Rasheda rcpilot2...@gmail.com wrote: - grep kallsyms_lookup from /proc/kallsyms (it is there on SL 5.5 and SL 6.0. You can edit your program and assign something like: int (*my_kallsyms_lookup_name)(const char *name) = (void *) KALLSYMS; where KALLSYMS

Re: kallsyms_lookup_name

2011-08-07 Thread Venkatram Tummala
On Sun, Aug 7, 2011 at 4:03 PM, Abu Rasheda rcpilot2...@gmail.com wrote: On Sat, Aug 6, 2011 at 11:06 AM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: On Sat, Aug 6, 2011 at 12:55, Venkatram Tummala venkatram...@gmail.com wrote: Hi, I need to use some unexported kernel symbols

kallsyms_lookup_name

2011-08-06 Thread Venkatram Tummala
Hi, I need to use some unexported kernel symbols in my kernel module but in the particular kernel version i am based on (2.6.18 - RHEL 5.7), kallsyms_lookup_name is not exported and there is no kallsyms_on_each_symbol in this kernel. And I can't change the kernel owing to reasons i have no

Re: Linux - Getting your Hands Wet Dirty

2011-01-10 Thread Venkatram Tummala
On Mon, Jan 10, 2011 at 11:08 AM, Abhishek Dixit abhidixi...@gmail.comwrote: On Thu, Jan 6, 2011 at 12:02 AM, Sakshi Malhotra mail...@rediffmail.comwrote: Hi, Maybe I am not the first one to ask such a question...but couldnt stop myself either... I have read all the relevant books on