Open System Services System Calls Reference Manual (G06.28+)
System Functions (f - i) fstat(2)
from the inode for the socket are returned for the
permission bits. The access flags are also
returned from the inode.
S_IRWXG Group class
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 operating 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 can be set only by a
user with appropriate privileges (the super ID).
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 operating 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 can be set
only by a user with appropriate privileges (the super ID).
Values for Guardian objects are described in Use on Guardian Objects, later in
this reference page.
st_nlink Number of links.
Values for OSS objects are listed next. Values for Guardian objects are
described in Use on Guardian Objects, later in this reference page.
For Contains
Regular file Number of links to the file
Directory Number of links to the directory
FIFO Number of links to the file
Pipe -1
AF_INET or AF_INET6 socket 0 (zero)
AF_UNIX socket Number of links to the socket file
/dev/null Number of links to the file
/dev/tty Number of links to the file
st_uid User ID.
Values for OSS objects are listed next. Values for Guardian objects are
described in Use on Guardian Objects, later in this reference page.
527186-005 Hewlett-Packard Company 3−23