Blame SOURCES/0011-rules-prandom-character-device-node-permissions.patch
|
|
a3e2b5 |
From 21c96c3781f473cdbfe7acdb1affba75b50081f1 Mon Sep 17 00:00:00 2001
|
|
|
a3e2b5 |
From: Lukas Nykryn <lnykryn@redhat.com>
|
|
|
a3e2b5 |
Date: Tue, 22 Sep 2015 12:28:28 +0200
|
|
|
a3e2b5 |
Subject: [PATCH] rules: prandom character device node permissions
|
|
|
a3e2b5 |
|
|
|
a3e2b5 |
Related: #1523227
|
|
|
a3e2b5 |
---
|
|
|
a3e2b5 |
rules/40-redhat.rules | 3 +++
|
|
|
a3e2b5 |
1 file changed, 3 insertions(+)
|
|
|
a3e2b5 |
|
|
|
a3e2b5 |
diff --git a/rules/40-redhat.rules b/rules/40-redhat.rules
|
|
|
a3e2b5 |
index 305e752285..9a48adde19 100644
|
|
|
a3e2b5 |
--- a/rules/40-redhat.rules
|
|
|
a3e2b5 |
+++ b/rules/40-redhat.rules
|
|
|
a3e2b5 |
@@ -11,3 +11,6 @@ ACTION=="add", SUBSYSTEM=="module", KERNEL=="bridge", RUN+="/usr/lib/systemd/sys
|
|
|
a3e2b5 |
|
|
|
a3e2b5 |
# load SCSI generic (sg) driver
|
|
|
a3e2b5 |
SUBSYSTEM=="scsi", ENV{DEVTYPE}=="scsi_device", TEST!="[module/sg]", RUN+="/sbin/modprobe -bv sg"
|
|
|
a3e2b5 |
+
|
|
|
a3e2b5 |
+# Rule for prandom character device node permissions
|
|
|
a3e2b5 |
+KERNEL=="prandom", MODE="0644"
|