valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0203-udev-rules-setup-tty-permissions-and-group-for-sclp_.patch

572a44
From 01f17a96d58033e281e52483d1afb73362c98aa8 Mon Sep 17 00:00:00 2001
572a44
From: Lukas Nykryn <lnykryn@redhat.com>
572a44
Date: Thu, 27 Feb 2014 11:19:09 +0100
572a44
Subject: [PATCH] udev/rules: setup tty permissions and group for sclp_line,
572a44
 ttysclp and 3270/tty
572a44
572a44
---
572a44
 rules/50-udev-default.rules | 3 +++
572a44
 1 file changed, 3 insertions(+)
572a44
572a44
diff --git a/rules/50-udev-default.rules b/rules/50-udev-default.rules
572a44
index 679dfdf..0bccf67 100644
572a44
--- a/rules/50-udev-default.rules
572a44
+++ b/rules/50-udev-default.rules
572a44
@@ -15,6 +15,9 @@ ACTION!="add", GOTO="default_permissions_end"
572a44
 SUBSYSTEM=="tty", KERNEL=="ptmx", GROUP="tty", MODE="0666"
572a44
 SUBSYSTEM=="tty", KERNEL=="tty", GROUP="tty", MODE="0666"
572a44
 SUBSYSTEM=="tty", KERNEL=="tty[0-9]*", GROUP="tty", MODE="0620"
572a44
+SUBSYSTEM=="tty", KERNEL=="sclp_line[0-9]*", GROUP="tty", MODE="0620"
572a44
+SUBSYSTEM=="tty", KERNEL=="ttysclp[0-9]*", GROUP="tty", MODE="0620"
572a44
+SUBSYSTEM=="tty", KERNEL=="3270/tty[0-9]*", GROUP="tty", MODE="0620"
572a44
 SUBSYSTEM=="vc", KERNEL=="vcs*|vcsa*", GROUP="tty"
572a44
 KERNEL=="tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*", GROUP="dialout"
572a44