Switching context depending on user code-wise
by Sven Vermeulen, post on Sun 12 January 2014I blogged about how SELinux decides what the context should be for a particular Linux user; how it checks the default context(s) and tells the SELinux-aware application on what the new context should be. Let's look into the C code that does so, and how an application should behave …