chiark / gitweb /
udev: simplify event_queue_update() and add debug logging
authorTom Gundersen <teg@jklm.no>
Mon, 9 Mar 2015 21:19:52 +0000 (22:19 +0100)
committerTom Gundersen <teg@jklm.no>
Mon, 9 Mar 2015 21:38:51 +0000 (22:38 +0100)
This essentially replaces
  open("/run/udev/queue", O_WRONLY|O_CREAT|O_CLOEXEC|O_TRUNC|O_NOFOLLOW, 0444)
with
  open("/run/udev/queue", O_WRONLY|O_CREAT|O_CLOEXEC|O_NOCTTY, 0644),
which is ok for our purposes.


No differences found