* /proc query
@ 2004-12-11 2:50 cranium2003
2004-12-12 12:58 ` bert hubert
0 siblings, 1 reply; 3+ messages in thread
From: cranium2003 @ 2004-12-11 2:50 UTC (permalink / raw)
To: linux-kernel
hello,
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?
regards,
cranium
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: /proc query
2004-12-11 2:50 /proc query cranium2003
@ 2004-12-12 12:58 ` bert hubert
0 siblings, 0 replies; 3+ messages in thread
From: bert hubert @ 2004-12-12 12:58 UTC (permalink / raw)
To: cranium2003; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* /proc query
@ 2004-05-14 11:01 linux lover
0 siblings, 0 replies; 3+ messages in thread
From: linux lover @ 2004-05-14 11:01 UTC (permalink / raw)
To: netdev; +Cc: linux-kernel
hello,
can it be possible to allow /proc new entry
file to update its value after few times. i
implemented a file /proc/text that updates text value
at each seconds not after 1 minutes. for that i am
using sleep. is it allow to use sleep in kernel source
modification.
regards,
linuxlover
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-12 12:58 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-11 2:50 /proc query cranium2003
2004-12-12 12:58 ` bert hubert
-- strict thread matches above, loose matches on Subject: below --
2004-05-14 11:01 linux lover
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®