summaryrefslogtreecommitdiff
path: root/selinux.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2006-10-27 10:42:44 +0000
committerColin Watson <cjwatson@debian.org>2006-10-27 10:42:44 +0000
commitbe6478d45d2d5c57bc30ca83d14b7b1ef6ed5ce6 (patch)
tree974beeb4ed8e9271133bbef823fb1ee14abf5262 /selinux.h
parentbb9d3d577f24525d3d6835c15b35b89a33aa4b25 (diff)
Incorporate Manoj's NMU:
* NMU to update SELinux patch, bringing it in line with current selinux releases. The patch for this NMU is simply the Bug#394795 patch, and no other changes. (closes: #394795)
Diffstat (limited to 'selinux.h')
-rw-r--r--selinux.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/selinux.h b/selinux.h
index 53fc155f2..af1d44632 100644
--- a/selinux.h
+++ b/selinux.h
@@ -1,7 +1,15 @@
1#ifndef SELINUX_H 1#ifndef SELINUX_H
2#define SELINUX_H 2#define SELINUX_H
3 3
4# ifdef WITH_SELINUX
5
4extern void setup_selinux_pty(const char *, const char *); 6extern void setup_selinux_pty(const char *, const char *);
5extern void setup_selinux_exec_context(const char *); 7extern void setup_selinux_exec_context(const char *);
6 8
9# else
10
11static inline void setup_selinux_pty(const char *name, const char *tty) {}
12static inline void setup_selinux_exec_context(const char *name) {}
13
14#endif /* WITH_SELINUX */
7#endif /* SELINUX_H */ 15#endif /* SELINUX_H */