I cannot see anything insecure in the way acpi_fakekey works. After all, it's a root-only feature.
More than that, 'setkeycodes' allows to achieve similar results to my proposed patch by mapping a wild guess keycode to the wanted keys. However, the solution is not portable, because it requires a keycode, which is guaranteed not to be present on all boxes. -- acpi_fakekey stopped working for certain keycodes https://bugs.launchpad.net/bugs/217504 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs