|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Trusted Extensions Developer's Guide Oracle Solaris 10 8/11 Information Library|
The Oracle Solaris Trusted Extensions Developer's Guide describes how to use the application programming interfaces (APIs) to write new trusted applications for systems that are configured with the Trusted Extensions feature of the Oracle Solaris OS. Readers must be familiar with UNIX programming and understand security policy concepts.
Note - This Solaris release supports systems that use the SPARC and x86 families of processor architectures. The supported systems appear in the Solaris OS: Hardware Compatibility Lists. This document cites any implementation differences between the platform types.
In this document these x86 related terms mean the following:
“x86” refers to the larger family of 64-bit and 32-bit x86 compatible products.
“x64” relates specifically to 64-bit x86 compatible CPUs.
“32-bit x86” points out specific 32-bit information about x86 based systems.
For supported systems, see the Solaris OS: Hardware Compatibility Lists.
Note that the example programs in this book focus on the APIs being shown and do not perform error checking. Your applications should perform the appropriate error checking.
The Trusted Extensions documentation set supplements the documentation for the Oracle Solaris release. Review both sets of documentation for a more complete understanding of Trusted Extensions. The Trusted Extensions documentation set consists of the following books.
Chapter 1, Trusted Extensions APIs and Security Policy provides an overview of the Trusted Extensions APIs and describes how the security policy is enforced within the system.
Chapter 2, Labels and Clearances describes the data types and the APIs for managing labels on processes and on device objects. This chapter also describes clearances, how a process acquires a sensitivity label, and when label operations require privileges. Guidelines for handling labels are also provided.
Chapter 3, Label Code Examples provides sample code that uses the APIs for labels.
Chapter 4, Printing and the Label APIs uses the Trusted Extensions multilevel printing service as an example of using the label APIs.
Chapter 5, Interprocess Communications provides an overview of how the security policy is applied to process-to-process communications within the same workstation and across the network.
Chapter 6, Trusted X Window System describes the data types and the APIs that enable administrative applications to access and modify security-related X Window System information. This chapter has a section of code examples.
Chapter 7, Label Builder APIs describes the data types and the APIs for creating a graphical user interface (GUI) for building labels and clearances. This chapter has a section of code examples.
Chapter 8, Trusted Web Guard Prototype provides an example of a safe web browsing prototype that isolates a web server and its web content from an Internet attack.
Chapter 9, Experimental Java Bindings for the Solaris Trusted Extensions Label APIs describes an experimental set of Java classes and methods that mirror the label APIs that are provided with the Trusted Extensions software. This chapter also includes a pointer to the source code and build instructions, so you can use these APIs to create label-aware applications.
Appendix A, Programmer's Reference provides information about Trusted Extensions man pages, shared libraries, header files, and abbreviations used in data type names and in interface names. This appendix also provides information about preparing an application for release.
Appendix B, Trusted Extensions API Reference provides programming interface listings, including parameter and return value declarations.
See the following web sites for additional resources:
Oracle welcomes your comments and suggestions on the quality and usefulness of its documentation. If you find any errors or have any other suggestions for improvement, go to http://docs.sun.com and click Feedback. Indicate the title and part number of the documentation along with the chapter, section, and page number, if available. Please let us know if you want a reply.
Oracle Technology Network offers a range of resources related to Oracle software:
Discuss technical problems and solutions on the Discussion Forums.
Get hands-on step-by-step tutorials with Oracle By Example.
Download Sample Code.
The following table describes the typographic conventions that are used in this book.
Table P-1 Typographic Conventions
The following table shows the default UNIX system prompt and superuser prompt for shells that are included in the Oracle Solaris OS. Note that the default system prompt that is displayed in command examples varies, depending on the Oracle Solaris release.
Table P-2 Shell Prompts