Find More DocumentationFeatured Support Resources | Download this book in PDF (937 KB)
chk_encodings(1M)NAME | Synopsis | Interface Level | Description | Options | Errors | Attributes | Files | See Also | Notes NAME
Synopsis/usr/sbin/chk_encodings [-a] [-c maxclass] [pathname] Interface LevelThis file is part of the Defense Intelligence Agency (DIA) Mandatory Access Control (MAC) policy. This file might not be applicable to other MAC policies that might be developed for future releases of Solaris Trusted Extensions software. Descriptionchk_encodings checks the syntax of the label-encodings file that is specified by pathname. With the -a option, chk_encodings also prints a semantic analysis of the label-encodings file that is specified by pathname. If pathname is not specified, chk_encodings checks and analyzes the /etc/security/tsol/label_encodings file. If label-encodings file analysis was requested, whatever analysis can be provided is written to the standard output file even if errors were found. Options
ErrorsWhen successful, chk_encodings returns an exit status of 0 (true) and writes to the standard output file a confirmation that no errors were found in pathname. Otherwise, chk_encodings returns an exit status of nonzero (false) and writes an error diagnostic to the standard output file. AttributesSee attributes(5) for descriptions of the following attributes:
Files
See AlsoNotesThe stability of the syntactic checking is considered standard and controlled by DIA document DDS-2600-6216-93, Compartmented Mode Workstation Labeling: Encodings Format, September 1993. The stability of the command output is undefined. The stability of the command invocation is stable for systems that implement the DIA MAC policy. NAME | Synopsis | Interface Level | Description | Options | Errors | Attributes | Files | See Also | Notes |
||||||