linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to read file in kernel module?
@ 2005-02-07  6:17 linux lover
  2005-02-07  6:38 ` Arjan van de Ven
  2005-02-07 14:29 ` Olaf Dietsche
  0 siblings, 2 replies; 8+ messages in thread
From: linux lover @ 2005-02-07  6:17 UTC (permalink / raw)
  To: linux-kernel

Hello,
        I have written one /proc file creation kernel
module. This module creates /proc/file and defied
operations on it. Also i have written user program
that will read & write to /proc files from user space.
Now what i want is to use same bufproc_read &
bufproc_write  functions defined in /proc file
handling kernel module to be used in another kernel
module to read that /proc/file in kernel module.The
second kernel module only used to read /proc file in
kernel. I am not understanding how can i open that
/proc/file in second kenrel module to read in kernel?
regards,
linux_lover.



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

^ permalink raw reply	[flat|nested] 8+ messages in thread
* How to read file in kernel module?
@ 2005-01-10 13:30 linux lover
  2005-01-10 16:15 ` Fao, Sean
  0 siblings, 1 reply; 8+ messages in thread
From: linux lover @ 2005-01-10 13:30 UTC (permalink / raw)
  To: linux-kernel


             I want to read file in kernel module. can
anybody help me by giving code for that?
Also whats suitable way to do that in kernel /proc or
shared memory? what i want is to read and write a user
file frequently.
regards,
linux_lover


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-02-07 16:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-07  6:17 How to read file in kernel module? linux lover
2005-02-07  6:38 ` Arjan van de Ven
2005-02-07 10:13   ` Marcel Holtmann
2005-02-07 13:00   ` Michelle Konzack
2005-02-07 16:52   ` Valdis.Kletnieks
2005-02-07 14:29 ` Olaf Dietsche
  -- strict thread matches above, loose matches on Subject: below --
2005-01-10 13:30 linux lover
2005-01-10 16:15 ` Fao, Sean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).