diff options
author | Colin Watson <cjwatson@debian.org> | 2006-10-27 10:42:44 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2006-10-27 10:42:44 +0000 |
commit | be6478d45d2d5c57bc30ca83d14b7b1ef6ed5ce6 (patch) | |
tree | 974beeb4ed8e9271133bbef823fb1ee14abf5262 /selinux.h | |
parent | bb9d3d577f24525d3d6835c15b35b89a33aa4b25 (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.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 | |||
4 | extern void setup_selinux_pty(const char *, const char *); | 6 | extern void setup_selinux_pty(const char *, const char *); |
5 | extern void setup_selinux_exec_context(const char *); | 7 | extern void setup_selinux_exec_context(const char *); |
6 | 8 | ||
9 | # else | ||
10 | |||
11 | static inline void setup_selinux_pty(const char *name, const char *tty) {} | ||
12 | static inline void setup_selinux_exec_context(const char *name) {} | ||
13 | |||
14 | #endif /* WITH_SELINUX */ | ||
7 | #endif /* SELINUX_H */ | 15 | #endif /* SELINUX_H */ |