OpenSolaris

Printable Version Enter a New Search
Bug ID 6475890
Synopsis Pfindexec() search could use improvement
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:brandz
Keywords
Responsible Engineer Russell Blaine
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_50
Fixed In snv_50
Release Fixed solaris_nevada(snv_50) , solaris_10u4(s10u4_01) (Bug ID:2144879)
Related Bugs
Submit Date 27-September-2006
Last Update Date 19-January-2007
Description
Currently, Pfindexec() operating on a branded process looks to see if it can find the 
matching executable binary in the zone's path by passing the zone root and executable basename
to try_exec(). If the executable pathname as stored in the ps_prochandle happens to be an absolute path, we'll end up searching only in the zone's root directory. This is because try_exec() ignores the directory it is given if the path is absolute.

Ideally, we want to construct an absolute path name consisting of the zone's root plus the path to the executable, whether that be absolute or relative.
Work Around
N/A
Comments
N/A