]> rtime.felk.cvut.cz Git - sojka/lightdm.git/commit
Don't use org.freedesktop.login1.Manager.GetSessionByPID to get the logind session...
authorRobert Ancell <robert.ancell@canonical.com>
Wed, 3 Sep 2014 04:35:29 +0000 (16:35 +1200)
committerRobert Ancell <robert.ancell@canonical.com>
Wed, 3 Sep 2014 04:35:29 +0000 (16:35 +1200)
commit2fd7f2b95afb125057e388d98b90b942e58d5007
treecfa861035148c813f04272e3c10e1c07f7806526
parent0580fcc8c4b71ec2fd2438ef2be03732cf54c277
Don't use org.freedesktop.login1.Manager.GetSessionByPID to get the logind session id in the child - it's racy and we already have the value in an environment variable
src/login1.c
src/login1.h
src/session-child.c
tests/src/libsystem.c
tests/src/test-runner.c