Re: [PLUG] [PROG]Writing to a /proc entry

2005-03-21 Thread Shrinand Javadekar
> If you are accessing /proc/spoon with user program > thats executed as root then theres no problem to write > /proc entries. I already did that and able to write to > /proc entry. > > > If no one can write to /proc how is it used for > > communication between > > kernel mode and user mode? > >

Re: [PLUG] [PROG]Writing to a /proc entry

2005-03-21 Thread linux lover
Hello shrinand, --- Shrinand Javadekar <[EMAIL PROTECTED]> wrote: > > Are you sure if anything can be written to /Proc? > if yes, I thiink > > only root is able to write,. > > > If you are accessing /proc/spoon with user program thats executed as root then theres no problem to write /

Re: [PLUG] [PROG]Writing to a /proc entry

2005-03-21 Thread Shrinand Javadekar
> Are you sure if anything can be written to /Proc? if yes, I thiink > only root is able to write,. > If no one can write to /proc how is it used for communication between kernel mode and user mode? And all the code that I am trying out is being executed as root. Yet it does not work. In fact I

Re: [PLUG] [PROG]Writing to a /proc entry

2005-03-21 Thread Aditya Laghate
On Sun, 20 Mar 2005 23:03:05 +0530, Shrinand Javadekar <[EMAIL PROTECTED]> wrote: > I am using the regular 'open' and 'write' system calls > in the user mode process to open /proc/spoon and write into it. Are you sure if anything can be written to /Proc? if yes, I thiink only root is able to writ