summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikle Kolyada <zlogene@gentoo.org>2019-05-21 22:39:07 +0300
committerMikle Kolyada <zlogene@gentoo.org>2019-05-21 22:39:07 +0300
commitdcb243893ca57b491bf1dfdb23b266365df00cbf (patch)
tree09abbf24cd7569b526191b2fe586785aea9ee5ec /sys-auth/libfprint/files
parentsys-auth/libfprint: mark stable (diff)
downloadgentoo-dcb243893ca57b491bf1dfdb23b266365df00cbf.tar.gz
gentoo-dcb243893ca57b491bf1dfdb23b266365df00cbf.tar.bz2
gentoo-dcb243893ca57b491bf1dfdb23b266365df00cbf.zip
sys-auth/libfprint: Drop old
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'sys-auth/libfprint/files')
-rw-r--r--sys-auth/libfprint/files/libfprint-0.6.0-fix-udev-rules.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/sys-auth/libfprint/files/libfprint-0.6.0-fix-udev-rules.patch b/sys-auth/libfprint/files/libfprint-0.6.0-fix-udev-rules.patch
deleted file mode 100644
index 128ac8ce311..00000000000
--- a/sys-auth/libfprint/files/libfprint-0.6.0-fix-udev-rules.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Remove spurious \n to fix udev rule generation
-
-Steven Newbury <steve@snewbury.org.uk>:
-libfprint generates 60-fprint-autosuspend.rules for all supported devices,
-however there's a spurious \n before the ', MODE="0666"' which results in it
-appearing on a new line after the match criteria. At least on current
-systemd/udev this results in MODE="0666" being applied unconditionally to all
-device nodes. This is an extremely serious security problem and effectively
-gives root access to all users simply by having the ebuild emerged.
-
-https://bugs.gentoo.org/562218
-
---- a/libfprint/fprint-list-udev-rules.c
-+++ b/libfprint/fprint-list-udev-rules.c
-@@ -74,7 +74,7 @@
- if (num_printed == 0)
- printf ("# %s\n", driver->full_name);
-
-- printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", TEST==\"power/control\", ATTR{power/control}=\"auto\"\n, MODE=\"0666\"\n", driver->id_table[i].vendor, driver->id_table[i].product);
-+ printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", TEST==\"power/control\", ATTR{power/control}=\"auto\", MODE=\"0666\"\n", driver->id_table[i].vendor, driver->id_table[i].product);
- printf ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ENV{LIBFPRINT_DRIVER}=\"%s\"\n", driver->id_table[i].vendor, driver->id_table[i].product, driver->full_name);
- num_printed++;
- }