valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

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

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