Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

3 Answers 3

up vote 3 down vote accepted

The SELinux kernel part is integrated into the vanilla kernel from kernel.org. 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 kernel.org, could you give me link to selinux in for example newest kernel? –  Phil Aug 31 '09 at 13:46
See e. g. git.kernel.org/?p=linux/kernel/git/torvalds/… –  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.