HP-UX Reference (11i v2 07/12) - 7 Device (Special) Files, 9 General Information, Index (vol 10)

m
glossary(9) glossary(9)
operation, and msg_ctime is the time of the last msgctl(2) operation that changed a member of the above
structure.
message operation permissions
In the msgop(2) and msgctl(2) system call descriptions, the permission required for an operation is indi-
cated for each operation. Whether a particular process has these permissions for an object is determined by
the object’s permission mode bits as follows:
00400 Read by user
00200 Write by user
00060 Read, Write by group
00006 Read, Write by others
Read and Write permissions on a
msqid are granted to a process if one or more of the following are true:
The process’s effective user ID is superuser.
The process’s effective user ID matches
msg_perm.[c]uid in the data structure associated with
msqid and the appropriate bit of the "user" portion (0600) of
msg_perm.mode
is set.
The process’s effective user ID does not match
msg_perm.[c]uid and either the processs effective
group ID matches
msg_perm.[c]gid or one of msg_perm.[c]gid is in the process’s group access
list and the appropriate bit of the "group" portion (00060) of
msg_perm.mode is set.
The process’s effective user ID does not match
msg_perm.[c]uid and the process’s effective group
ID does not match
msg_perm.[c]gid and neither of msg_perm. [c]gid
is in the process’s group
access list and the appropriate bit of the "other" portion (06) of
msg_perm.mode is set.
Otherwise, the corresponding permissions are denied.
metacharacter
A character that has special meaning to the HP-UX shell, as well as to commands such as
ed, find, and
grep (see ed(1), find(1), and grep(1)). The set of metacharacters includes:
!, ", &, , *, ;, <, >, ?, [, ],
, and |. Refer to sh(1) and the related shell manual entries for the meaning associated with each. See
also regular expression.
minor number
A number that is an attribute of special files, specified during their creation and used whenever they are
accessed, to enable I/O to or from specific devices. This number is passed to the device driver and is used to
select which device in a family of devices is to be used, and possibly some operational modes. The exact for-
mat and meaning of the minor number is both system and driver dependent. Refer to the System
Administrator manuals supplied with your system for details.
On Series 700 systems, a minor number indicates the device address, function number, and driver-
dependent bits. On Series 800 systems, a minor number is an index into a table in the kernel.
mode
A 16-bit word associated with every file in the file system, stored in the inode. The least-significant 12 bits
of the mode determine the read, write, and execute permissions for the file owner, file group, and all oth-
ers, and contain the set-user-ID, set-group-ID, and "sticky" (save text image after execution) bits. The
least-significant 12 bits can be set by the chmod(1) command if you are the le’s owner or the superuser.
The sticky bit on a regular file can only be set by the superuser. These 12 bits are sometimes referred to as
permission bits. The most-significant 4 bits specify the file type for the associated file and are set as the
result of open(2) or mknod(2) system calls.
mountable file system
A removable blocked file system contained on some mass storage medium with its own root directory and
an independent hierarchy of directories and files. See block special file and mount(1M).
msqid
See message queue identifier.
multiuser state
The condition of the HP-UX operating system in which terminals (in addition to the system console) allow
communication between the system and its users. By convention, multiuser run level is set at state 2,
which is usually defined to contain all the terminal processes and daemons needed in a multiuser
252 Hewlett-Packard Company 13 HP-UX 11i Version 2: December 2007 Update