Difference between revisions of "Experimenters Corner"
From SELinux Wiki
(New page: = Experimenters Corner = This section contains example source code and policy modules that may be useful for experimenting with. There is an experiment that uses different x_contexts fil...) |
|||
Line 13: | Line 13: | ||
* [[Experimenting With X-Windows]]. To be able to use these modules it will be necessary to build a simple [[Building a Basic Policy|base module]] first. | * [[Experimenting With X-Windows]]. To be able to use these modules it will be necessary to build a simple [[Building a Basic Policy|base module]] first. | ||
* The test program is described in the [[Building the XSELinux Function Test Application]] section. | * The test program is described in the [[Building the XSELinux Function Test Application]] section. | ||
+ | |||
+ | |||
+ | Notes: | ||
+ | #It is recommended that the [http://taiga.selinuxproject.org/~rhaines/notebook-source-1.1.0-1.tar.gz Notebook Source] file is installed in your <tt>$HOME</tt> as this contains all the configuration files and source code required to produce the required modules. It also contains README and a simple Makefile for each section. | ||
+ | #If you find any errors on these pages or the tests do not work then drop me an email (richard_c_haines@btinternet.com) and I'll fix the errors, give help etc. All the examples were tested many times using Fedora-12 as the base OS, but errors could have crept in while writing the pages. |
Revision as of 17:14, 14 March 2010
Experimenters Corner
This section contains example source code and policy modules that may be useful for experimenting with.
There is an experiment that uses different x_contexts file entries to see what effect they have when using X-selections. This is split into two sections:
- Tests based on the way the Reference Policy manages labeling.
- Tests that make use of the polyinstantiation features of the X object manager/XACE services.
There is also a simple test program that can be used to call the 23 XSELinux functions that are built into the X-Windows object manager.
The samples code etc. can be found at:
- Experimenting With X-Windows. To be able to use these modules it will be necessary to build a simple base module first.
- The test program is described in the Building the XSELinux Function Test Application section.
Notes:
- It is recommended that the Notebook Source file is installed in your $HOME as this contains all the configuration files and source code required to produce the required modules. It also contains README and a simple Makefile for each section.
- If you find any errors on these pages or the tests do not work then drop me an email (richard_c_haines@btinternet.com) and I'll fix the errors, give help etc. All the examples were tested many times using Fedora-12 as the base OS, but errors could have crept in while writing the pages.