summaryrefslogtreecommitdiff
path: root/selinux.h
blob: af1d44632ccf447246e1751d2e99bda38f348534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef SELINUX_H
#define SELINUX_H

#  ifdef WITH_SELINUX

extern void setup_selinux_pty(const char *, const char *);
extern void setup_selinux_exec_context(const char *);

#  else

static inline void setup_selinux_pty(const char *name, const char *tty) {}
static inline void setup_selinux_exec_context(const char *name) {} 

#endif /* WITH_SELINUX */
#endif /* SELINUX_H */