[systemd-devel] [PATCH 0/9] capabilities: remove include of <sys/capability.h> where possible
Filipe Brandenburger
filbranden at google.com
Tue Dec 23 10:38:41 PST 2014
This is a first cleanup step towards removing the dependency on libcap.
The idea of removing the libcap dependency was brought up by Lennart in:
http://lists.freedesktop.org/archives/systemd-devel/2014-December/026155.html
It is mainly removing the include of <sys/capability.h> where the only
capability-related information used is the CAP_* constants which are actually
coming from <linux/capability.h> (kernel headers) or from "missing.h" (for
compatibility with older kernel headers.)
Filipe Brandenburger (9):
capabilities: remove spurious include of <sys/capability.h> from nspawn.c
capabilities: remove spurious include of <sys/capability.h> from logind sources
capabilities: remove spurious include of <sys/capability.h> from tmpfiles.c
capabilities: remove spurious include of <sys/capability.h> from hostnamed.c
capabilities: remove spurious include of <sys/capability.h> from localed.c
capabilities: remove spurious include of <sys/capability.h> from timedated.c
capabilities: remove spurious include of <sys/capability.h> from pam_systemd.c
capabilities: remove spurious include of <sys/capability.h> from machined sources
capabilities: remove spurious include of <sys/capability.h> from sd-dbus sources
src/hostname/hostnamed.c | 1 -
src/libsystemd/sd-bus/bus-objects.c | 2 --
src/libsystemd/sd-bus/bus-util.c | 1 -
src/locale/localed.c | 1 -
src/login/logind-dbus.c | 1 -
src/login/logind-seat-dbus.c | 1 -
src/login/logind-session-dbus.c | 1 -
src/login/logind-user-dbus.c | 1 -
src/login/pam_systemd.c | 1 -
src/machine/machine-dbus.c | 1 -
src/machine/machined-dbus.c | 1 -
src/nspawn/nspawn.c | 2 +-
src/timedate/timedated.c | 1 -
src/tmpfiles/tmpfiles.c | 1 -
14 files changed, 1 insertion(+), 15 deletions(-)
--
1.8.3.1
More information about the systemd-devel
mailing list