chiark / gitweb /
bus-proxy: don't pretend everyone is root
authorDavid Herrmann <dh.herrmann@gmail.com>
Sun, 18 Jan 2015 20:34:33 +0000 (21:34 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sun, 18 Jan 2015 20:34:33 +0000 (21:34 +0100)
commit50efadb0ae7bcb4fc5ce5e41163c697501ca1d50
treef60f85ec9aa3a025568614b310f91b0d97ceed56
parent607ff5f95aac387ef3fb79358e7416b7c8b2090d
bus-proxy: don't pretend everyone is root

While it's a lovely scenario, it's probably not really useful. Fix our
GetConnectionUnixUser() to return the actual 'euid' which we asked for,
not the possible uninitialized 'uid'.
src/bus-proxyd/driver.c