[systemd-devel] [PATCH] multiseat issues

Oleg Samarin osamarin68 at gmail.com
Thu Dec 20 10:08:24 PST 2012


The next attempt to post the patch (the patch is attached, because
evolution breaks the lines)

i1. Capability of making seats without framebuffer devices 
    logind.c: The seat is now activated by any device with udev tag
"seat-master"
    71-seat.rules.in: All framebuffer devices have this tag
    
i2. Supporting of acls on devices shared between all seats
(like /dev/snd/seq)
    These devices have "shared" udev tag in addition to "uaccess"
    
    A user gets permitions on it when he activates a session on any
seat.
    He/she losses the permitions when no his/her active sessions more
exist
    
    71-seat.rules.in: sets "ONE_SEAT" env var to "Y" for all devices
with "seat" tag
    73-seat-late.rules.in: inherits "ONE_SEAT" env from the parent
device.
    sets "shared" tag to all devices with "uaccess" tag with neither
"ONE_SEAT" nor "ID_SEAT" env
    logind-acl.c: changes acl on shared devices regardless to their
seats
    logind-seat.c: when a user removes an active sessions, checks are
other active sessions of this user (on other seats) exists 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemd-logind-multi-seat.patch
Type: text/x-patch
Size: 6026 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20121220/504c3916/attachment.bin>


More information about the systemd-devel mailing list