HP-UX 11i v3 March 2011 Release Notes (Edition 3)

pstat_getpathname(2) system call
The pstat_getpathanme(2) system call returns the pathname of the given file.
Summary of Change
Previously, the pstat_getpathanme(2) system call returned the pathname of the given file only if all
the components of the pathname were found in the Directory Name Lookup Cache (DNLC) of
recent name lookups.
With the March 2011 release, the pstat_getpathname(2) system call has been enhanced to increase
the possibility of returning the pathname of a file. It is delivered in the HP-UX 11i v3 March 2011
Update Release or through PHKL_41520.
The pstat_getpathname(2) has been enhanced to use extended vnode operation for reverse name
lookup (EVOP_RNL) to return the complete pathname if the search has failed in the DNLC. The
extended vnode operation has to be implemented by physical file systems.
Impact
There is no impact to the customer applications, as there is no change in the interface definition
or behavior of the system call. The probability of obtaining the pathname is increased.
Compatibility
There is no compatibility impact on customer applications.
Performance
There is no known performance impact.
Documentation
See also the pstat(2) manpage.
Obsolescence
Not applicable.
rename(2) and unlink(2) system calls
The rename(2) system call causes the source file to be renamed to target.
The unlink(2) system call removes the directory entry named by the pathname pointed to by path.
Summary of Change
Previously, rename(2) and unlink(2) system calls returned an ETXTBSY error when invoked on a
file that was under execution.
In order to support the portability of applications across different operating systems, the rename(2)
and unlink(2) system calls have been enhanced so they no longer return an ETXTBSY error when
invoked on an executing file. These enhancements are delivered in the HP-UX 11i v3 March 2011
Update Release or through PHKL_41420.
Impact
There is no impact on the customer applications as rename(2) and unlink(2) system calls will only
work on the directory entries, and the file's data on a disk will be removed only when the reference
count reaches 0.
pstat_getpathname(2) system call 105