Book Image

SELinux Cookbook

By : Sven Vermeulen
Book Image

SELinux Cookbook

By: Sven Vermeulen

Overview of this book

Table of Contents (17 chapters)
SELinux Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 10. Handling SELinux-aware Applications

In this chapter, we will cover handling of SELinux-aware applications through the following recipes:

  • Controlling D-Bus message flows

  • Restricting service ownership

  • Understanding udev's SELinux integration

  • Using cron with SELinux

  • Checking the SELinux state programmatically

  • Querying SELinux userland configuration in C

  • Interrogating the SELinux subsystem code-wise

  • Running new processes in a new context

  • Reading the context of a resource