query related to /proc and read_write.c file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,
  1) how kernel write to /proc entry? while studying kernel source i found that there is no open/read/write/close file functions.
what i found is that sprintf function that writes to /proc entry. can anyone please explain it?

   2)what is the use of read_write.c file in fs directory of kernel source?
the file contains sys_read, sys_write. why there is no function that will read a user space file and write to it.
i found few questions asked on linux-kernel as well as kernelnewbies but there is no one able to answer it?
i am using kernel 2.4.24.
regards,
parag.

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux