Appendix D. SELinux General Types

This appendix includes several tables describing SELinux general types: types that tend to be referenced by multiple domains. The types shown in Tables 1 through 5 are those present in the Fedora Core 2 implementation of SELinux. SELinux developers may introduce new types or delete existing types in other SELinux releases.

Table D-1. Device-related types

Type

Description

agp_device_t

AGP video device: /dev/agpgart

apm_bios_t

APM BIOS

clock_device_t

Hardware clock device: /dev/rtc

console_device_t

Console device: /dev/console

cpu_device_t

CPU device: /dev/cpu/*

devfs_control_t

Devfs filesystem.

device_t

Device

devtty_t

tty device

dri_device_t

DRI device: /dev/dri, /dev/dri/.*

event_device_t

Event device: /dev/input/event.*

fixed_disk_device_t

Fixed disk drive

framebuf_device_t

Framebuffer device: /dev/fb[0-9]*

memory_device_t

Memory device: /dev/kmem, /dev/mem, /dev/port, /dev/nvram

misc_device_t

Miscellaneous device (for instance, /dev/sequencer)

mouse_device_t

Mouse

mtrr_device_t

Memory type range register device: /dev/cpu/mtrr

null_device_t

/dev/null

ppp_device_t

/dev/ppp, /dev/pppox, /dev/ippp

random_device_t

Entropy generator: /dev/random

removable_device_t

Device having removable media (for instance, a CD-ROM device)

scanner_device_t

Scanner

scsi_generic_device_t

Generic SCSI device: /dev/sg[0-9]+

sound_device_t

Sound device

tape_device_t

Magnetic tape device ...

Get SELinux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.