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?
Asked
Active
Viewed 3,546 times
3 Answers
3
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.
![](../../users/profiles/6204.webp)
joschi
- 20,747
- 3
- 46
- 50
-
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. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree;f=security/selinux – joschi Sep 03 '09 at 11:45
2
SELinux kernel code is included in the mainline Linux 2.6 kernel, available from The Linux Kernel Archives.
![](../../users/profiles/5258.webp)
Istvan
- 2,562
- 3
- 20
- 28
1
apt-get source <whatever package SElinux is in>
Will get you the current source for the version of SElinux you're using.
![](../../users/profiles/2598.webp)
Cian
- 5,777
- 1
- 27
- 40