summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-04-10 14:53:38 +0200
committerKay Sievers <kay@vrfy.org>2012-04-10 14:59:45 +0200
commit78b2e3a632748fbeae8a9eb70ab1940e4a70619a (patch)
tree10225b4b661a1f164d0b3e4a2e68c9478d0045a8 /src
parentd7832d2c6e0ef5f2839a2296c1cc2fc85c7d9632 (diff)
util: move ACL code into internal library
Diffstat (limited to 'src')
-rw-r--r--src/journal/journald.c2
-rw-r--r--src/login/logind-acl.c2
-rw-r--r--src/shared/acl.c (renamed from src/acl-util.c)2
-rw-r--r--src/shared/acl.h (renamed from src/acl-util.h)0
4 files changed, 3 insertions, 3 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c
index 555d74f049..442d2eb5ae 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -50,7 +50,7 @@
#ifdef HAVE_ACL
#include <sys/acl.h>
#include <acl/libacl.h>
-#include "acl-util.h"
+#include "acl.h"
#endif
#ifdef HAVE_SELINUX
diff --git a/src/login/logind-acl.c b/src/login/logind-acl.c
index eb8a48d191..e2e8696cda 100644
--- a/src/login/logind-acl.c
+++ b/src/login/logind-acl.c
@@ -27,7 +27,7 @@
#include "logind-acl.h"
#include "util.h"
-#include "acl-util.h"
+#include "acl.h"
static int flush_acl(acl_t acl) {
acl_entry_t i;
diff --git a/src/acl-util.c b/src/shared/acl.c
index a2a9f9a22b..d6a80f44ae 100644
--- a/src/acl-util.c
+++ b/src/shared/acl.c
@@ -25,7 +25,7 @@
#include <errno.h>
#include <stdbool.h>
-#include "acl-util.h"
+#include "acl.h"
int acl_find_uid(acl_t acl, uid_t uid, acl_entry_t *entry) {
acl_entry_t i;
diff --git a/src/acl-util.h b/src/shared/acl.h
index 798ce43364..798ce43364 100644
--- a/src/acl-util.h
+++ b/src/shared/acl.h