Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
System Functions (a - d) chroot(2)
[ENOENT] One of the following conditions exists:
• The named directory does not exist.
• The specified pathname is an empty string.
• The specified pathname cannot be mapped to a valid Guardian filename.
[ENOROOT] The root fileset (fileset 0) is not in the STARTED state.
[ENOTDIR] A component of the specified pathname is not a directory.
[ENXIO] The fileset containing the client’s working directory or effective root directory is
not mounted.
[EOSSNOTRUNNING]
The program attempted an operation on an object in the OSS environment while
a required system process was not running.
[EPERM] One of the following conditions exists:
• The path parameter specifies a subvolume in /G with a reserved name
(for example, /G/volume/ZYQ00000).
• The path parameter specifies a process name in /G (for example,
/G/ztnt).
• The path parameter specifies an invalid subvolume name in /G.
• The effective user ID of the process is not the root ID and does not have
appropriate privileges to change the root directory.
• The program attempted an operation on a SEEP-protected fileset. Valid
for J06.15 and later J-series RVUs, and H06.26 and later H-series RVUs.
RELATED INFORMATION
Commands: cd(1).
Functions: chdir(2).
STANDARDS CONFORMANCE
The following are HP extensions to the XPG4 Version 2 specification:
• The errno values [EFAULT], [EFSBAD], [EINVAL], [ENOROOT], [ENXIO], and
[EOSSNOTRUNNING] can be returned.
527186-023 Hewlett-Packard Company 1−33