OpenSolaris

Printable Version Enter a New Search
Bug ID 6339404
Synopsis truss needs work for zone_create(2)
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zones
Keywords onnv_triage | zones
Responsible Engineer Daniel Price
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_28
Fixed In snv_28
Release Fixed solaris_nevada(snv_28) , solaris_10u2(s10u2_05) (Bug ID:2132864)
Related Bugs 6317239 , 4966416 , 6200896
Submit Date 20-October-2005
Last Update Date 3-December-2005
Description
Recent work (6200896) has broken truss's handling of the zone(2)
syscall-- specifically, for zone_create(2).  This bug report covers correcting
the problem.  Additionally, since zone_create(2) now passes a structure to the
kernel (instead of a series of arguments), this bug covers changing
'truss -v zone' to properly display the various passed parameters as follows:

104505/3:       zone_create(0xC490C3F4)                         = 2
104505/3:                    zone_name: myzone
104505/3:                    zone_root: /export/myzone/root
104505/3:                   zone_privs: all,!cpc_cpu,!dtrace_kernel,!dtrace_proc
,!dtrace_user,!gart_access,!gart_map,!net_rawaccess,!proc_clock_highres,!proc_lo
ck_memory,!proc_priocntl,!proc_zone,!sys_config,!sys_devices,!sys_ipc_config,!sy
s_linkdir,!sys_net_config,!sys_res_config,!sys_suser_compat,!sys_time
104505/3:                      rctlbuf: 0x0
104505/3:                    rctlbufsz: 0
104505/3:               extended_error: 0xc490c84c


This work, especially the privs view, will be useful when we have
configurable privs (4966416).
Work Around
N/A
Comments
N/A