jails clean startup

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Sun Mar 19 16:15:38 PST 2006

On 20.03.2006, at 00:29, Andreas Kohn wrote:
[*] The man page of kill doesn't mention "0" as a way to check if a
process is jailed, and neither jail(2) nor jail(8) talk about it. And I
don't think a user new to jails imagines that trying and failing to 
a non-existing (cf. sys/signal.h, signal(3)) to init will tell him
whether he is jailed or not. But I may be overlooking something 
of course :)
you'll get a ESRCH if you're in a jail, i guess.  or a EPERM?  
whatever, the sysctl is the way to go, IMO.

Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00003.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20060319/844170fe/attachment-0019.obj>

More information about the Submit mailing list