]> err.no Git - systemd/commit
udev-acl: really fix ACL assignment in CK events
authorMichal Schmidt <mschmidt@redhat.com>
Wed, 4 Aug 2010 09:53:25 +0000 (11:53 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 4 Aug 2010 10:01:53 +0000 (12:01 +0200)
commit9ac90ae153accdfcb56c24c5748690933ad219b2
treefe43631ac71c8c3b57cf3b6dc929f6a8d089f890
parent939cc18afc49ee8479572c14c7fa777646fd4add
udev-acl: really fix ACL assignment in CK events

The previous fix for udev-acl was incomplete. The ACL were not properly
assigned to the new user when switching from root's session because of
the test for 'uid != 0'.

Centralize the special handling of root to a single place (in set_facl).

https://bugzilla.redhat.com/show_bug.cgi?id=608712
extras/udev-acl/udev-acl.c