Bug#683839: Patch to disable scanning of unsafe devices by default

2017-09-28 Thread Aleksander Morgado
> > /* Is the device in the manual-only greylist? If so, return if this is an > * automatic scan. */ > -if (!manual_scan && g_udev_device_get_property_as_boolean (physdev, > "ID_MM_DEVICE_MANUAL_SCAN_ONLY")) { > -mm_dbg ("(%s/%s): port probed only in manual scan", subsys, n

Bug#683839: Patch to disable scanning of unsafe devices by default

2017-09-28 Thread Aleksander Morgado
> It is evident from the history of this bug that the maintainers don't > agree with this as an approach. > I wonder how that is evident given that we (maintainers) still keep the bug open upstream and discuss about it from time to time... https://bugs.freedesktop.org/show_bug.cgi?id=85007 I p

Bug#683839: Patch to disable scanning of unsafe devices by default

2017-09-25 Thread Ian Jackson
Ian Jackson writes ("Patch to disable scanning of unsafe devices by default"): > Control: tags -1 patch Forgot to actually attach the patch. >From b491dba87b85fc8f1b6e27be02b9bcd8ef6d61be Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 25 Sep 2017 11:55:35 +0100 Subject: [PATCH] Prove seri

Bug#683839: Patch to disable scanning of unsafe devices by default

2017-09-25 Thread Ian Jackson
Control: tags -1 patch Please find attached a very basic patch which inverts the logic, introducing a udev ENV attribute to specify which devices are safe to probe, and assuming that devices are not safe unless specified otherwise. It is evident from the history of this bug that the maintainers d