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 5cd39bf8..6ad4a49f 100644 --- a/openbsd-compat/port-linux.h +++ b/openbsd-compat/port-linux.h @@ -1,4 +1,4 @@ -/* $Id: port-linux.h,v 1.2 2008/03/26 20:27:21 dtucker Exp $ */ +/* $Id: port-linux.h,v 1.3 2009/10/24 04:04:13 dtucker Exp $ */ /* * Copyright (c) 2006 Damien Miller <djm@openbsd.org> @@ -23,6 +23,7 @@ int ssh_selinux_enabled(void); void ssh_selinux_setup_pty(char *, const char *); void ssh_selinux_setup_exec_context(char *); +void ssh_selinux_change_context(const char *); #endif #endif /* ! _PORT_LINUX_H */ |