The only supported interface is the zlogin(1M) command. Take a look at the example, runwlabel, at the end of chapter 3 of the TX Developer's Guide: http://docs.sun.com/app/docs/doc/819-7312/6n992es14?a=view
If you use the source browser, you can see that there is a private system call zone_enter(), but this is not currently a stable interface, and may change in the future. There is no external man page for zone_enter() but in the new world of OpenSolaris you can obviously find examples. It is currently used in a few places by the Trusted Extensions CDE and JDS desktops and in device allocation. For example, see: http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/rmvolmgr/vold.c#473 If your intended use it related to labeled zones and Trusted Extensions, you should probably post follow up questions on the security community forum: http://www.opensolaris.org/jive/forum.jspa?forumID=37 This message posted from opensolaris.org _______________________________________________ zones-discuss mailing list zones-discuss@opensolaris.org