LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Why I can not see "selinux" module with "lsmod" command? (https://www.linuxquestions.org/questions/linux-security-4/why-i-can-not-see-selinux-module-with-lsmod-command-4175655357/)

-Snake- 06-08-2019 07:09 AM

Why I can not see "selinux" module with "lsmod" command?
 
Sorry for this newbie question, but Why I can not see "selinux" on the lsmod output? Im running centos 7

Thanks.

RickDeckard 06-08-2019 08:54 PM

Because SELinux is not supposed to be loaded as a kernel module. That's not how it works. It's loaded into your file system at /sys/fs/selinux.

frankbell 06-08-2019 09:32 PM

I can't test this right now, but I expect that you should be able to see it with the ps command.

https://www.tecmint.com/ps-command-e...ss-monitoring/

-Snake- 06-09-2019 02:50 AM

Quote:

Originally Posted by RickDeckard (Post 6003463)
Because SELinux is not supposed to be loaded as a kernel module. That's not how it works. It's loaded into your file system at /sys/fs/selinux.


Now I unserstand it, thanks you! :)


All times are GMT -5. The time now is 09:08 AM.