~vanvugt/mir/privatize-input

Viewing all changes in revision 1105.

  • Committer: Tarmac
  • Author(s): Daniel d'Andrada, Robert Carr
  • Date: 2013-10-03 05:04:07 UTC
  • mfrom: (1098.1.2 hack_lp1233944)
  • Revision ID: tarmac-20131003050407-4wx78smx4ks44561
Fix for LP#1233944

Fixes the Mir-side of bug https://bugs.launchpad.net/mir/+bug/1233944

Event files are first created with root:root permissions and only later
udev rules are applied to it, changing its permissions to root:android-input
and therefore making it readable by unity8-mir

in short: Retry opening a file when its permissions change as it might be
readable now. Fixes: https://bugs.launchpad.net/bugs/1233944.

Approved by PS Jenkins bot, kevin gunn, Robert Ancell.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: