NAME | SYNOPSIS | DESCRIPTION | OPTIONS | RETURN VALUES | ATTRIBUTES | SEE ALSO
getlabel gets the CMW label associated with each filename. When options are not specified, the output format of the CMW label is displayed in default format. When the specified options conflict, getlabel terminates with an error. Conflicting options include -i and -I, -s and -S, and -l and -L.
Get the label of the symbolic link instead of the file it points to.
Get the information label (IL) portion from the CMW label associated with the specified file, and display it. ILs display as ADMIN_LOW
.
Get the information label portion from the CMW label associated with the specified file, and display it. ILs display as ADMIN_LOW
.
Get the CMW label associated with the specified file, and display the CMW label in short form; equivalent to -i -s.
Get the CMW label associated with the specified file, and display the CMW label in long form; equivalent to -I -S.
Get the sensitivity label portion from the CMW label associated with the specified file, and display the sensitivity label in short form.
Get the sensitivity label portion from the CMW label associated with the specified file, and display the sensitivity label in long form.
Get the CMW label associated with the specified file, and display the label in hexadecimal form.
getlabel exits with one of the following values:
Successful completion
Unsuccessful completion due to usage error
Unable to translate label
Unable to allocate memory
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Availability | SUNWtsu |
NAME | SYNOPSIS | DESCRIPTION | OPTIONS | RETURN VALUES | ATTRIBUTES | SEE ALSO