Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to find url to selinux source code (both kernel and userland) but i can't find anything, only outdated urls... Could someone help? Also, I installed from packages in debian, so i guess i can't check it directly on my system?

share|improve this question
up vote 3 down vote accepted

The SELinux kernel part is integrated into the vanilla kernel from Just take a look into the directory ./security/selinux of your kernel source code.

The userland part of SELinux can be obtained here.

share|improve this answer
maybe i'm dumb but i have trouble with browsing through, could you give me link to selinux in for example newest kernel? – Phil Aug 31 '09 at 13:46
See e. g.… – joschi Sep 3 '09 at 11:45

SELinux kernel code is included in the mainline Linux 2.6 kernel, available from The Linux Kernel Archives.

share|improve this answer
apt-get source <whatever package SElinux is in>

Will get you the current source for the version of SElinux you're using.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.