Open System Services System Calls Reference Manual (G06.28+, H06.05+)
stat(2) OSS System Calls Reference Manual
st_mode File mode. These bits are ORed into the st_mode field:
S_IFMT File type. This field can contain one of these
values:
S_IFCHR Character special file.
S_IFDIR Directory.
S_IFIFO FIFO.
S_IFREG Regular file.
S_IFSOCK Socket.
For an AF_UNIX socket, the
user permissions from the inode
for the socket are returned for
the permission bits. The access
flags are also returned from the
inode.
S_IRWXG Permissions for the owning group, or if the |
st_acl flag is set, permissions for the the class |
ACL entry.
S_IRWXO Other class
S_IRWXU Owner class
S_ISGID Set group ID on execution
S_ISUID Set user ID on execution
S_ISVTX Sticky bit; used only for directories (not ORed
for files in /G, the Guardian file system)
S_TRUST Indicates that the file does not contain code for
an uncooperative process or code to examine or
modify I/O buffers. This flag suppresses operat-
ing system protection of the buffers when the
memory segment containing the buffers is not
shared. This flag applies only to loadfiles for a
process and only a user with appropriate
privileges (the super ID) can set it.
S_TRUSTSHARED
Indicates that the file does not contain code for
an uncooperative process or code to examine or
modify I/O buffers. This flag suppresses operat-
ing system protection of the buffers regardless
of whether the memory segment containing the
buffers is shared. This flag applies only to
loadfiles for a process and only a user with
appropriate privileges (the super ID) can set it.
Values for Guardian objects are described in Use on Guardian
Objects, later in this reference page.
7−384 Hewlett-Packard Company 527186-007