chiark / gitweb /
core: rework policykit hookup
authorLennart Poettering <lennart@poettering.net>
Wed, 18 Feb 2015 16:40:57 +0000 (17:40 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 18 Feb 2015 17:56:27 +0000 (18:56 +0100)
commit1d22e9068c52c1cf935bcdff70b9b9654e3c939e
tree7dffbb33c9d509fcaef5a38864410c778f187ae4
parent09c3a9b67d9e2e957bfb5c940e02ec433113549f
core: rework policykit hookup

- Always issue selinux access check as early as possible, and PK check
  as late as possible.

- Introduce a new policykit action for altering environment

- Open most remaining bus calls to unprivileged clients via PK
src/core/dbus-job.c
src/core/dbus-manager.c
src/core/dbus-scope.c
src/core/dbus-snapshot.c
src/core/dbus-unit.c
src/core/dbus.c
src/core/dbus.h
src/core/org.freedesktop.systemd1.policy.in.in