nerdexam
Linux_Foundation

LFCS · Question #386

Under which path is the selinux pseudofilesystem found?

The correct answer is C. /selinux. The SELinux pseudo-filesystem, which provides an interface for interacting with the SELinux kernel module, is typically mounted at /selinux.

Submitted by weili_xi· Apr 18, 2026Operation of Running Systems

Question

Under which path is the selinux pseudofilesystem found?

Options

  • A/dev/selinux
  • B/sys/selinux
  • C/selinux
  • D/var/selinux
  • E/proc/selinux

How the community answered

(46 responses)
  • B
    4% (2)
  • C
    93% (43)
  • D
    2% (1)

Why each option

The SELinux pseudo-filesystem, which provides an interface for interacting with the SELinux kernel module, is typically mounted at `/selinux`.

A/dev/selinux

`/dev` is primarily for device files.

B/sys/selinux

`/sys` is for sysfs, which exposes kernel objects and their attributes, but the dedicated SELinux pseudo-filesystem has its own mount point.

C/selinuxCorrect

In many Linux distributions with SELinux enabled, the SELinux filesystem (of type `selinuxfs`) is mounted at `/selinux`. This directory provides an interface to query and manipulate SELinux policies and status information.

D/var/selinux

`/var` is for variable data files, not pseudo-filesystems like SELinuxfs.

E/proc/selinux

`/proc` is for the procfs pseudo-filesystem, exposing process and other kernel information, but the dedicated SELinux filesystem is distinct.

Concept tested: SELinux filesystem mount point

Source: https://docs.kernel.org/admin-guide/LSM/SELinux/selinux.html

Topics

#SELinux#filesystem paths#pseudofilesystem

Community Discussion

No community discussion yet for this question.

Full LFCS Practice