diff options
author | Darren Tucker <dtucker@zip.com.au> | 2009-10-24 15:04:12 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2009-10-24 15:04:12 +1100 |
commit | 4d6656b1030c2090f8769ce9cce0a9e5dd135945 (patch) | |
tree | 6cd9e06190cfbe4be752b82de995cb09d9303e9b /openbsd-compat/port-linux.h | |
parent | 6ac91a7c83a7343e9fdf24c2857b301b50e21a9c (diff) |
- (dtucker) [session.c openbsd-compat/port-linux.{c,h}] Bug #1637: if selinux
is enabled set the security context to "sftpd_t" before running the
internal sftp server Based on a patch from jchadima at redhat.
Diffstat (limited to 'openbsd-compat/port-linux.h')
-rw-r--r-- | openbsd-compat/port-linux.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsd-compat/port-linux.h b/openbsd-compat/port-linux.h index 5cd39bf83..6ad4a49f6 100644 --- a/openbsd-compat/port-linux.h +++ b/openbsd-compat/port-linux.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: port-linux.h,v 1.2 2008/03/26 20:27:21 dtucker Exp $ */ | 1 | /* $Id: port-linux.h,v 1.3 2009/10/24 04:04:13 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2006 Damien Miller <djm@openbsd.org> | 4 | * Copyright (c) 2006 Damien Miller <djm@openbsd.org> |
@@ -23,6 +23,7 @@ | |||
23 | int ssh_selinux_enabled(void); | 23 | int ssh_selinux_enabled(void); |
24 | void ssh_selinux_setup_pty(char *, const char *); | 24 | void ssh_selinux_setup_pty(char *, const char *); |
25 | void ssh_selinux_setup_exec_context(char *); | 25 | void ssh_selinux_setup_exec_context(char *); |
26 | void ssh_selinux_change_context(const char *); | ||
26 | #endif | 27 | #endif |
27 | 28 | ||
28 | #endif /* ! _PORT_LINUX_H */ | 29 | #endif /* ! _PORT_LINUX_H */ |