/proc filesystem

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

 



 


hi,


  can i do something like changing the code of proc file system
  so that when we mount it in chrooted environment it show only    process running from chrooted shell....


  like i check before displaying  directory in proc filesys that whether a process is from chrooted shell or not .....

or do the checking in the proc_read_inode function

  any suggestion 

rohit


On Wed, 02 Mar 2005 Herbert Poetzl wrote :
>On Wed, Mar 02, 2005 at 05:15:26AM -0000, rohit  hooda wrote:
> >
> >    i can do a
> >    mount /proc /proc -t proc
> >    but i don't wanna do this
> >    i  want  to  do  this  to  virtualize  the ps, uptime , top and other
> >    commands.
> >    tell me how this is implemented in the vserver
>
>well, linux-vserver does virtualize this by adjusting
>the various procfs functions supplying the data
>
>HTH,
>Herbert
>
>




[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