On Sat, Mar 05, 2005 at 01:29:15PM -0000, rohit hooda wrote: > 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 OK, so you got the reply that vserver does exactly you want, and now you're asking if there is something that does what you want. Not very helpful. > any suggestion Yes: check out vserver. Erik > 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 -- Erik Mouw J.A.K.Mouw@xxxxxxxxxxxxxx mouw@xxxxxxxxxxxx
Attachment:
signature.asc
Description: Digital signature