summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd-compat/port-linux.c')
-rw-r--r--openbsd-compat/port-linux.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/openbsd-compat/port-linux.c b/openbsd-compat/port-linux.c
index d153f8fb5..030c733df 100644
--- a/openbsd-compat/port-linux.c
+++ b/openbsd-compat/port-linux.c
@@ -28,13 +28,21 @@
28#include <string.h> 28#include <string.h>
29 29
30#ifdef WITH_SELINUX 30#ifdef WITH_SELINUX
31#include "key.h"
32#include "hostfile.h"
33#include "auth.h"
31#include "log.h" 34#include "log.h"
35#ifdef HAVE_GETSEUSERBYNAME
36#include "xmalloc.h"
37#endif
32#include "port-linux.h" 38#include "port-linux.h"
33 39
34#include <selinux/selinux.h> 40#include <selinux/selinux.h>
35#include <selinux/flask.h> 41#include <selinux/flask.h>
36#include <selinux/get_context_list.h> 42#include <selinux/get_context_list.h>
37 43
44extern Authctxt *the_authctxt;
45
38/* Wrapper around is_selinux_enabled() to log its return value once only */ 46/* Wrapper around is_selinux_enabled() to log its return value once only */
39static int 47static int
40ssh_selinux_enabled(void) 48ssh_selinux_enabled(void)