[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Jailkit-users] jailkit help with / proc
From: |
Martin |
Subject: |
[Jailkit-users] jailkit help with / proc |
Date: |
Mon, 02 Nov 2009 11:55:44 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (Macintosh/20090812) |
Hi,
i have a problem with one of my apps that i am running in jail.
The problem is that when i am running app in jail under jailed user
there is no /proc and pid or other things around memory mapping of libs
are located in real /proc.
Is there a way how to replicate it from real /proc into jailed /proc
directory ? Or if it is not possible is there a way how to force apps
that running in jail to store proc informations to /home/jail/proc
instead of real /proc ?
(the app is using /proc/<pid>/maps to locate where the libraries of
app(that running in jail) is loaded into memory)
ie.:
cat /proc/703/maps
...
b7ef5000-b7f18000 r-xp 00000000 08:01 2412543
/home/jail/lib/tls/i686/cmov/libm-2.3.6.so
b7f18000-b7f1a000 rwxp 00022000 08:01 2412543
/home/jail/lib/tls/i686/cmov/libm-2.3.6.so
..
and my app need 7f18000-b7f1a000 information from this /proc/<pid>/maps
file.
Thanks for any help.
Martin
- [Jailkit-users] jailkit help with / proc,
Martin <=