aboutsummaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2013-03-29 15:49:15 -0400
committerIan Stakenvicius <axs@gentoo.org>2013-04-02 15:02:35 -0400
commit18cafe9973eabde03d1ade6c5f1cb98275b72397 (patch)
tree2554f4ad3c35a2ac475f3d3f6c940cce044613c3 /rules
parenthwdb: remove uneeded *-vendor-product.hwdb (diff)
downloadeudev-18cafe9973eabde03d1ade6c5f1cb98275b72397.tar.gz
eudev-18cafe9973eabde03d1ade6c5f1cb98275b72397.tar.bz2
eudev-18cafe9973eabde03d1ade6c5f1cb98275b72397.zip
Correct permissions on /dev/null and friends for 2.6.32
This sets the permissions on null, zero, full, random and urandom to 666 which is needed for older kernels. This is part of Gentoo's 40-gentoo.rules which can now be dropped from Gentoo's ebuild. X-gentoo-Bug: 457868 X-gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=457868 Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
Diffstat (limited to 'rules')
-rw-r--r--rules/40-mem-null.rules4
-rw-r--r--rules/Makefile.am1
2 files changed, 5 insertions, 0 deletions
diff --git a/rules/40-mem-null.rules b/rules/40-mem-null.rules
new file mode 100644
index 000000000..dab7f853b
--- /dev/null
+++ b/rules/40-mem-null.rules
@@ -0,0 +1,4 @@
+# do not edit this file, it will be overwritten on update
+
+# Support for Linux 2.6.32, see https://bugs.gentoo.org/show_bug.cgi?id=457868
+SUBSYSTEM=="mem", KERNEL=="null|zero|full|random|urandom", MODE="0666"
diff --git a/rules/Makefile.am b/rules/Makefile.am
index 31d926e23..76d7b50a3 100644
--- a/rules/Makefile.am
+++ b/rules/Makefile.am
@@ -1,6 +1,7 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
dist_udevrules_DATA = \
+ 40-mem-null.rules \
42-usb-hid-pm.rules \
50-udev-default.rules \
60-cdrom_id.rules \