[Bug 1273188] Review Request: u2f-hidraw-policy - Udev rule to allow desktop access to HIDRAW U2F tokens

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1273188



--- Comment #9 from Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> ---
doh, I had hiddev and hidraw confused.

t61p:/home/akpm> grep hidraw log-chrome
7882  openat(AT_FDCWD, "/sys/class/hidraw",
O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 223
7882  readlink("/sys/class/hidraw/hidraw0",
"../../devices/pci0000:00/0000:00"..., 1024) = 89
7882 
stat("/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/hidraw/hidraw0/uevent",
{st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
7882  readlink("/sys/class/hidraw/hidraw1",
"../../devices/pci0000:00/0000:00"..., 1024) = 109
7882 
stat("/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:400A.0004/hidraw/hidraw1/uevent",
{st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
7882 
readlink("/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:400A.0004/hidraw/hidraw1",
0x7f92b5d3cf80, 1024) = -1 EINVAL (Invalid argument)
7882 
stat("/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:400A.0004/hidraw/hidraw1/uevent",
{st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
7882 
readlink("/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:400A.0004/hidraw/hidraw1/subsystem",
"../../../../../../../../../../cl"..., 1024) = 42
7882 
open("/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:400A.0004/hidraw/hidraw1/uevent",
O_RDONLY|O_CLOEXEC) = 220
7882  read(220, "MAJOR=248\nMINOR=1\nDEVNAME=hidraw"..., 4096) = 34
7882 
readlink("/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:400A.0004/hidraw",
0x7f92b5d3ca10, 1024) = -1 EINVAL (Invalid argument)
7882 
stat("/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/0003:046D:400A.0004/hidraw/uevent",
0x7f92b5d3c580) = -1 ENOENT (No such file or directory)
7882 
readlink("/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/hidraw/hidraw0",
0x7f92b5d3cf80, 1024) = -1 EINVAL (Invalid argument)
7882 
stat("/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/hidraw/hidraw0/uevent",
{st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
7882 
readlink("/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/hidraw/hidraw0/subsystem",
"../../../../../../../../../class"..., 1024) = 39
7882 
open("/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/hidraw/hidraw0/uevent",
O_RDONLY|O_CLOEXEC) = 220
7882  read(220, "MAJOR=248\nMINOR=0\nDEVNAME=hidraw"..., 4096) = 34
7882 
readlink("/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/hidraw",
0x7f92b5d3ca10, 1024) = -1 EINVAL (Invalid argument)
7882 
stat("/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-1/4-1:1.2/0003:046D:C52B.0003/hidraw/uevent",
0x7f92b5d3c580) = -1 ENOENT (No such file or directory)

Still no attempt to open /dev/hidraw*.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]