From a97a730270418e53e9400de5dce7b07c7dacd19a Mon Sep 17 00:00:00 2001 From: Sven Eden Date: Wed, 19 Jul 2017 00:56:25 +0200 Subject: Prep v233.3: Unmask various functions for future coverage tests. These functions, although not used by elogind itself, are mostly tiny and crucial for important tests to work. --- src/basic/selinux-util.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/basic/selinux-util.c') diff --git a/src/basic/selinux-util.c b/src/basic/selinux-util.c index 021041cbd..2a9dd7c8c 100644 --- a/src/basic/selinux-util.c +++ b/src/basic/selinux-util.c @@ -74,13 +74,11 @@ bool mac_selinux_use(void) { return getuid() == 0; } -#if 0 /// UNNEEDED by elogind void mac_selinux_retest(void) { #ifdef HAVE_SELINUX cached_use = -1; #endif } -#endif // 0 int mac_selinux_init(void) { int r = 0; @@ -120,7 +118,6 @@ int mac_selinux_init(void) { return r; } -#if 0 /// UNNEEDED by elogind void mac_selinux_finish(void) { #ifdef HAVE_SELINUX @@ -131,7 +128,6 @@ void mac_selinux_finish(void) { label_hnd = NULL; #endif } -#endif // 0 int mac_selinux_fix(const char *path, bool ignore_enoent, bool ignore_erofs) { -- cgit v1.2.3