On Wed, Sep 8, 2010 at 8:55 AM, Elmar Bschorer
wrote:
> short question - how can i find out if a process runs chrooted?
> i couldn't find any hints in man chroot :-(
fstat | awk '$4 == "root"'
On Wed, Sep 08, 2010 at 02:55:19PM +0200, Elmar Bschorer wrote:
> hi list,
>
> short question - how can i find out if a process runs chrooted?
You write a syscall to check if fdp->fd_rdir is not NULL?
> i couldn't find any hints in man chroot :-(
>
> thx,
> Elmar
hi list,
short question - how can i find out if a process runs chrooted?
i couldn't find any hints in man chroot :-(
thx,
Elmar
3 matches
Mail list logo