Re: Is it possible to use file descriptor after main returns

2009-04-22 Thread Hayim Shaul
1. I think application_2 can open the file /proc//fds/ but then they are not really sharing the same fd but merely opening the same file 2. you can try looking at http://phook.sourceforge.net/ they use ptrace to read/write from another process fd Hayim. On Wed, 2009-04-22 at 14:26 +0530, prad

RE: Detecting infinite loops

2008-11-28 Thread Hayim Shaul
You can't. This is called 'The halting problem' and Alan Turing proved it is impossible in 1936. http://en.wikipedia.org/wiki/Halting_problem From: [EMAIL PROTECTED] on behalf of Pranav Peshwe Sent: Fri 28/11/2008 5:08 PM To: Kernel Subject: Re: Detecting

RE: duplicated packets

2008-02-19 Thread Hayim Shaul
(1448) ack 1 win 1608 From: Karl Tatgenhorst [mailto:[EMAIL PROTECTED] Sent: Tue 19/2/2008 8:43 PM To: Hayim Shaul Cc: kernelnewbies@nl.linux.org Subject: Re: duplicated packets Hayim, With your tcpdump output are you sure that it is two of the same

Re: Netfilter NF_STOLEN, NF_QUEUE

2007-07-17 Thread Hayim Shaul
On Tue, 2007-07-17 at 17:09 +0530, Ganesan Natarajan wrote: > Hi All, > I have three questions. > > 1. If NF_STOLEN is used as return value for the netfilter hook > function, where the packet is given? ( I mean will it be given to user > space?) It is not given to anyone. It is simply ig