summaryrefslogtreecommitdiffstats
path: root/meta-security/recipes-core/smack-system-setup/files/55-udev-smack-default.rules
blob: eca65292f1b9bb1370581214c1f5f8d122b329d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# do not edit this file, it will be overwritten on update

KERNEL=="null", SECLABEL{smack}="*"
KERNEL=="zero", SECLABEL{smack}="*"
KERNEL=="console", SECLABEL{smack}="*"
KERNEL=="kmsg", SECLABEL{smack}="*"
KERNEL=="video*", SECLABEL{smack}="*"
KERNEL=="card*", SECLABEL{smack}="*"
KERNEL=="ptmx", SECLABEL{smack}="*"
KERNEL=="tty", SECLABEL{smack}="*"
KERNEL=="rfkill", SECLABEL{smack}="*"

SUBSYSTEM=="most_cdev_aim", SECLABEL{smack}="*"

SUBSYSTEM=="graphics", GROUP="video", SECLABEL{smack}="*"
SUBSYSTEM=="drm", GROUP="video", SECLABEL{smack}="*"
SUBSYSTEM=="dvb", GROUP="video", SECLABEL{smack}="*"
SUBSYSTEM=="sound", GROUP="audio", SECLABEL{smack}="*"

SUBSYSTEM=="tty", KERNEL=="ptmx", GROUP="tty", MODE="0666", SECLABEL{smack}="*"
SUBSYSTEM=="tty", KERNEL=="tty", GROUP="tty", MODE="0666", SECLABEL{smack}="*"
SUBSYSTEM=="tty", KERNEL=="tty[0-9]*", GROUP="tty", MODE="0620", SECLABEL{smack}="*"
SUBSYSTEM=="vc", KERNEL=="vcs*|vcsa*", GROUP="tty", SECLABEL{smack}="*"
KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialout", SECLABEL{smack}="*"

SUBSYSTEM=="input", KERNEL=="mouse*|mice|event*", MODE="0640", SECLABEL{smack}="*"
SUBSYSTEM=="input", KERNEL=="ts[0-9]*|uinput", MODE="0640", SECLABEL{smack}="*"