Re: Mobile OS

2009-10-11 Thread Pranav Peshwe
On Sat, Oct 10, 2009 at 11:46 PM, Niamathullah sharief newbie...@gmail.comwrote: Hi friends, I want to learn about Mobile operating systems. So i started with android. May i know what are all the Other Open Source Mobile Free Operating System available?

Re: How gdb attach command works?

2009-10-07 Thread Pranav Peshwe
On Wed, Oct 7, 2009 at 11:35 AM, Gaurav Aggarwal grv.aggar...@gmail.comwrote: Hey All, I do have a doubt not exactly on the kernel side but how exactly the 'gdb attach' command works? Isn't this violates the OS 'memory protection' objective of prevent a process from accessing memory that has

Re: How gdb attach command works?

2009-10-07 Thread Pranav Peshwe
On Wed, Oct 7, 2009 at 4:44 PM, Rajat Jain rajat.j...@infogain.com wrote: BTW, ptrace is about when the process to be debugged is started from within gdb process. PArent process debugging the child process. How does gdb attach to a process that it has not started, in other words, how does it

Re: How gdb attach command works?

2009-10-07 Thread Pranav Peshwe
On Wed, Oct 7, 2009 at 5:59 PM, Rajat Jain rajat.j...@infogain.com wrote: The debugged process effectively becomes a child of GDB when PTRACE_ATTACH is used. More info in the man page. Oh! And how are user restrictions imposed? I assume that you can attach to a process only if the

Re: About Kernel preemption and kernel mode stack

2009-03-04 Thread Pranav Peshwe
On Thu, Mar 5, 2009 at 11:48 AM, Michael Blizek mic...@michaelblizek.twilightparadox.com wrote: Hi! On 23:47 Wed 04 Mar , sahlot arvind wrote: Hi All, Just had couple of questions: 1. kernel is preemptible if we are running in kernel mode and not holding any lock. What if we

Re: Recovering Partition using linux

2009-02-18 Thread Pranav Peshwe
On Thu, Feb 19, 2009 at 10:25 AM, rishi agrawal postri...@gmail.com wrote: Sorry for the previous mails I tried a NTFS recovery tool named as 1st NTFS Recovery 3.3.1.0( evaluation Version). It is very good. It took out the whole directory structure correctly. The only problem is that

Re: partial hibernate in linux

2008-12-18 Thread Pranav Peshwe
On Thu, Dec 18, 2008 at 5:38 PM, Manish Katiyar mkati...@gmail.com wrote: Hi all, Sorry for spamming the list because this is really not a kernel question, but I am also not sure if this can be done in userspace entirely. While working on my laptop today somehow I screwed my Xorg settings

Re: Detecting infinite loops

2008-11-28 Thread Pranav Peshwe
On Fri, Nov 28, 2008 at 2:25 PM, yogeshwar sonawane [EMAIL PROTECTED]wrote: Hi all, Suppose, I have an application or library code containing following :- while (expected condition has not occurred) { handling of expected condition } If i'm not wrong, you mean 'while (expected

Re: System call hooking in 2.6 kernel..

2008-11-10 Thread Pranav Peshwe
On Mon, Nov 10, 2008 at 2:36 PM, ashish mahamuni [EMAIL PROTECTED]wrote: Hello All, I am trying to write a module which will log the user who deleted the file... So, I am thinking of hooking the unlink system call... Which is the best way to achieve this? Is it possible in 2.6 kernel? Hi

Re: 32 bit and 64 bit---- doubt

2008-09-29 Thread Pranav Peshwe
On Mon, Sep 29, 2008 at 2:38 PM, Bernd Petrovitsch [EMAIL PROTECTED] wrote: snip 2. Does it have some relation that in windows in C language int size According to the C standard, sizeof(int) is the native register width. And that is basically defined by the CPU. So if sizeof(int) == 2,

Re: 32 bit and 64 bit---- doubt

2008-09-29 Thread Pranav Peshwe
On Mon, Sep 29, 2008 at 5:46 PM, Bernd Petrovitsch [EMAIL PROTECTED] wrote: On Mon, 2008-09-29 at 17:38 +0530, Pranav Peshwe wrote: On Mon, Sep 29, 2008 at 2:38 PM, Bernd Petrovitsch [EMAIL PROTECTED] wrote: snip 2. Does it have some relation that in windows in C language int

Re: Inline Functions ...

2008-09-18 Thread Pranav Peshwe
On Thu, Sep 18, 2008 at 5:22 PM, Sandeep K Sinha [EMAIL PROTECTED]wrote: Hi Mahaveer, On Thu, Sep 18, 2008 at 3:59 PM, mahaveer darade [EMAIL PROTECTED]wrote: On Thu, Sep 18, 2008 at 5:41 AM, Balraj Dahiya [EMAIL PROTECTED]wrote: Hi All, Why we use Inline Functions in Linux Kernel?

Re: My overview of the kernel -- do I have it correct ??

2008-07-10 Thread Pranav Peshwe
On Thu, Jul 10, 2008 at 9:29 PM, William Case [EMAIL PROTECTED] wrote: Hi Kyle; On Thu, 2008-07-10 at 11:10 -0400, Kyle Spaans wrote: Just a suggestion: I believe I'm in the same boat as yourself - trying to learn about the Linux Kernel. I've been perusing the source code as well,

Re: What is CR3 caching?

2008-07-05 Thread Pranav Peshwe
On Sat, Jul 5, 2008 at 8:40 PM, Mulyadi Santosa [EMAIL PROTECTED] wrote: Guessing.. On Thu, Jul 3, 2008 at 11:19 PM, Peter Teoh [EMAIL PROTECTED] wrote: http://lkml.org/lkml/2007/1/5/213 Question here is: what is CR3 caching? (few first line of email)? probably it means it is

A Tale of Four Kernels.

2008-05-22 Thread Pranav Peshwe
An interesting read, saw it on FBSD Hackers - http://www.spinellis.gr/pubs/conf/2008-ICSE-4kernel/html/Spi08b.pdf An extract from the abstract: The Freebsd, gnu/Linux, Solaris, and Windows operating systems have kernels that provide comparable facilities. In- terestingly, their code bases share

Re: Dynamic linking on Linux

2008-04-26 Thread Pranav Peshwe
On Fri, Apr 25, 2008 at 6:51 PM, Erik Mouw [EMAIL PROTECTED] wrote: On Fri, Apr 25, 2008 at 03:01:23PM +0530, sahlot arvind wrote: Now a new process is loaded to memory, which utilizes a .so already in memory. How does ld.so know if the required .so is already in memory and what is its

Re: Kernel Text Comparison

2008-01-02 Thread Pranav Peshwe
On Jan 2, 2008 4:21 PM, Vijay Kumar [EMAIL PROTECTED] wrote: Hi everyone, I am working on a program that checks the integrity of the kernel code to detect the presence of kernel rootkits. As a first step I am trying to compare the text section of vmlinux with the text area dumped from

Re: Recommendation for a dev system

2007-10-27 Thread Pranav Peshwe
On 10/27/07, Mulyadi Santosa [EMAIL PROTECTED] wrote: Hi.. Hello, I'm pretty new to kernel development and would like to setup a ideal dev system for playing around. I highly recommend Qemu. UML is nice, but you can consider itself as another architecture i.e some low