From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alvin Starr Subject: Odd Xen Kernel module interaction Date: Thu, 07 Feb 2008 14:12:20 -0500 Message-ID: <47AB5814.5060803@Iplink.net> References: <20080207144045.M84031@fastserv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080207144045.M84031@fastserv.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org I have a network kernel module that I am trying to debug. It is trying to query the file information for a socket that a userland progrm has opened. So it is accessing current->files and getting back 0x0(null). This seems to work on a non xen kernel. It has been quite a while since I have done any kernel hacking so I would not be supprised if I am missing something obvious. I believe the module is compiling correctly. It loads correctly and at least some of the information pointed to by current-> is correct. The calling application has got a bunch of file handles open so there should be something in current->files. Any help,pointers or even "you idiot look here" would be greatly appreciated. -- Alvin Starr || voice: (416)585-9971 Interlink Connectivity || fax: (416)585-9974 alvin@iplink.net ||