summaryrefslogtreecommitdiffstats
path: root/src/tools/tools_util.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-03-17 15:47:56 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-04-08 08:53:35 -0400
commit81020661d35772b5499525b76a19c9a3794c953e (patch)
treea27d680a3dee842419334b6c9bd05ec0c8beee2a /src/tools/tools_util.h
parent03aaa2b31e9769bce7f725abe80686b8bba85cdf (diff)
downloadsssd_unused-81020661d35772b5499525b76a19c9a3794c953e.tar.gz
sssd_unused-81020661d35772b5499525b76a19c9a3794c953e.tar.xz
sssd_unused-81020661d35772b5499525b76a19c9a3794c953e.zip
Move SELinux related functions into its own module
Fix whitespace errors
Diffstat (limited to 'src/tools/tools_util.h')
-rw-r--r--src/tools/tools_util.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tools/tools_util.h b/src/tools/tools_util.h
index fccec146..2ac18535 100644
--- a/src/tools/tools_util.h
+++ b/src/tools/tools_util.h
@@ -104,9 +104,6 @@ int copy_tree(const char *src_root,
const char *dst_root,
uid_t uid, gid_t gid);
-int selinux_file_context(const char *dst_name);
-int reset_selinux_file_context(void);
-
/* from nscd.c */
enum nscd_db {
NSCD_DB_PASSWD,
@@ -115,4 +112,8 @@ enum nscd_db {
int flush_nscd_cache(TALLOC_CTX *mem_ctx, enum nscd_db flush_db);
+/* from selinux.c */
+int selinux_file_context(const char *dst_name);
+int reset_selinux_file_context(void);
+
#endif /* __TOOLS_UTIL_H__ */