Re: [PATCH] thunderbolt: Notify userspace when boot_acl is changed

2018-06-20 Thread Mika Westerberg
On Mon, Jun 18, 2018 at 05:44:04PM +0300, Mika Westerberg wrote: > The commit 9aaa3b8b4c56 ("thunderbolt: Add support for preboot ACL") > introduced boot_acl attribute but missed the fact that now userspace > needs to poll the attribute constantly to find out whether it has > changed or not. Fix

Re: [PATCH] thunderbolt: Notify userspace when boot_acl is changed

2018-06-20 Thread Mika Westerberg
On Mon, Jun 18, 2018 at 05:44:04PM +0300, Mika Westerberg wrote: > The commit 9aaa3b8b4c56 ("thunderbolt: Add support for preboot ACL") > introduced boot_acl attribute but missed the fact that now userspace > needs to poll the attribute constantly to find out whether it has > changed or not. Fix

Re: [PATCH] thunderbolt: Notify userspace when boot_acl is changed

2018-06-18 Thread Yehezkel Bernat
On Mon, Jun 18, 2018 at 5:44 PM Mika Westerberg wrote: > > The commit 9aaa3b8b4c56 ("thunderbolt: Add support for preboot ACL") > introduced boot_acl attribute but missed the fact that now userspace > needs to poll the attribute constantly to find out whether it has > changed or not. Fix this by

Re: [PATCH] thunderbolt: Notify userspace when boot_acl is changed

2018-06-18 Thread Yehezkel Bernat
On Mon, Jun 18, 2018 at 5:44 PM Mika Westerberg wrote: > > The commit 9aaa3b8b4c56 ("thunderbolt: Add support for preboot ACL") > introduced boot_acl attribute but missed the fact that now userspace > needs to poll the attribute constantly to find out whether it has > changed or not. Fix this by

[PATCH] thunderbolt: Notify userspace when boot_acl is changed

2018-06-18 Thread Mika Westerberg
The commit 9aaa3b8b4c56 ("thunderbolt: Add support for preboot ACL") introduced boot_acl attribute but missed the fact that now userspace needs to poll the attribute constantly to find out whether it has changed or not. Fix this by sending notification to the userspace whenever the boot_acl

[PATCH] thunderbolt: Notify userspace when boot_acl is changed

2018-06-18 Thread Mika Westerberg
The commit 9aaa3b8b4c56 ("thunderbolt: Add support for preboot ACL") introduced boot_acl attribute but missed the fact that now userspace needs to poll the attribute constantly to find out whether it has changed or not. Fix this by sending notification to the userspace whenever the boot_acl