[systemd-devel] Is it possible to dynamically remove the "uaccess" tag?

Manuel Reimer Manuel.Spam at nurfuerspam.de
Sun Feb 14 18:18:20 UTC 2016


Hello,

I want to create a daemon which translates inputs, given by an game 
controller (/dev/input/eventX). The default is, that the tag "uaccess" 
is set there.

As soon as my daemon runs, I don't want to use the original input 
device. Other applications should not connect to the original device but 
to my translated uinput device.

Currently, the only way to do this seems to be to delete the device 
nodes, which seems to be a bit harsh to me.

Can someone suggest an alternative way to get rid of what uaccess does 
as long as my daemon is running and handling the device? As far as I can 
see there is no way to remove tags with libudev. It also seems to be 
impossible to set an ACL rule to deny access for everyone. Any other 
suggestions?

Thanks in advance

Manuel



More information about the systemd-devel mailing list