Message from discussion
opening a file inside the kernel module
Path: g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!131.211.141.196.MISMATCH!humbolt.nl.linux.org!news.nl.linux.org!mail2news
From: "Stuart MacDonald" <stua...@connecttech.com>
Newsgroups: nlo.lists.kernelnewbies
Subject: RE: opening a file inside the kernel module
Date: Wed, 29 Sep 2004 11:52:42 -0400
Organization: Connect Tech Inc.
Lines: 17
Approved: n...@nl.linux.org
Message-ID: <001b01c4a63c$5b5bd4d0$294b82ce@stuartm>
References: <001c01c4a5e9$114bf490$8200a8c0@RakeshJagota>
NNTP-Posting-Host: humbolt.nl.linux.org
Mime-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Trace: humbolt.nl.linux.org 1096473386 17791 131.211.141.196 (29 Sep 2004 15:56:26 GMT)
X-Complaints-To: news@nl.linux.org
NNTP-Posting-Date: Wed, 29 Sep 2004 15:56:26 +0000 (UTC)
X-Info: Long lines are cut to 950 characters max
X-References: In-Reply-To header rewritten to references header
X-In-Reply-To: <001c01c4a5e9$114bf490$8200a8c0@RakeshJagota>
X-To: "'Rakesh Jagota'" <j.rak...@gdatech.co.in>, "'Jeff Garzik'" <jgar...@pobox.com>
X-Cc: <linux...@kvack.org>, <linux-ker...@vger.kernel.org>, <kernelnewb...@nl.linux.org>
X-List-ID: <kernelnewbies.nl.linux.org>
X-ecartis-version: Ecartis v1.0.0
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
X-original-sender: stua...@connecttech.com
X-MSMail-Priority: Normal
X-list: kernelnewbies
X-Mailer: Microsoft Outlook, Build 10.0.4510
X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63
X-Priority: 3 (Normal)
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on humbolt.nl.linux.org
From: linux-kernel-ow...@vger.kernel.org
> I want to implement socket from the module. I won't be having any user
> process running to handle the descriptors coming from socket.
> Could you pl
> tell me how to handle the socket descriptor from the kernel module.
Check out fs/smbfs/sock.c.
..Stu
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/