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>
This commit is contained in:
Anthony G. Basile 2013-03-29 15:49:15 -04:00 committed by Ian Stakenvicius
parent 7378b89a14
commit 18cafe9973
2 changed files with 5 additions and 0 deletions

4
rules/40-mem-null.rules Normal file
View File

@ -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"

View File

@ -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 \