Re: Getting hostname from jail_getid(3) or ezjail(5)

2011-05-04 Thread Uffe Jakobsen
On 2011-02-08 17:30, Julian Fagir wrote: Hi, I wanted to write a tool starting a shell in a jail. I know, jexec accomplishes this too, but I want to compile the name of the jail into the program, no commandline-parameters (more about this topic will be posted on this list soon). Thus, I used lib

Getting hostname from jail_getid(3) or ezjail(5)

2011-02-08 Thread Julian Fagir
Hi, I wanted to write a tool starting a shell in a jail. I know, jexec accomplishes this too, but I want to compile the name of the jail into the program, no commandline-parameters (more about this topic will be posted on this list soon). Thus, I used libjail, more specific jail_getid(3) to get th