Re: /proc query
From: bert hubert (ahu_at_ds9a.nl)
Date: 12/12/04
- Previous message: Alan Cox: "Re: [PATCH] Re: PCI IRQ problems -- update"
- In reply to: cranium2003: "/proc query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 12 Dec 2004 13:58:41 +0100 To: cranium2003 <cranium2003@yahoo.com>
On Fri, Dec 10, 2004 at 06:50:14PM -0800, cranium2003 wrote:
> Can a user program be able to overwrite /proc entry
> with some changes to that /proc file frequently?
> can same file be able to read by kernel in its actual
> kernel execution?
Userspace can only set settings in the kernel when the kernel allows this.
Procfs is not a storage filesystem, it stores settings and exposes
information.
The kernel does not 'read' files in /proc per se, it has direct access to
the relevant settings.
Procfs is like a window on the kernel, and in some cases you can hand the
kernel new settings.
-- http://www.PowerDNS.com Open source, database driven DNS Software http://lartc.org Linux Advanced Routing & Traffic Control HOWTO - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Alan Cox: "Re: [PATCH] Re: PCI IRQ problems -- update"
- In reply to: cranium2003: "/proc query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|