summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/port-linux.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - (djm) [configure.ac Makefile.in ssh.c openbsd-compat/port-linux.cDamien Miller2011-01-251-1/+2
| | | | | | | openbsd-compat/port-linux.h] Move SELinux-specific code from ssh.c to port-linux.c to avoid compilation errors. Add -lselinux to ssh when building with SELinux support to avoid linking failure; report from amk AT spamfence.net; ok dtucker
* - (dtucker) Bug #1470: Disable OOM-killing of the listening sshd on Linux,Darren Tucker2009-12-081-1/+6
| | | | based on a patch from Vaclav Ovsik and Colin Watson. ok djm.
* - (dtucker) [session.c openbsd-compat/port-linux.{c,h}] Bug #1637: if selinuxDarren Tucker2009-10-241-1/+2
| | | | | is enabled set the security context to "sftpd_t" before running the internal sftp server Based on a patch from jchadima at redhat.
* - (dtucker) Cache selinux status earlier so we know if it's enabled after aDarren Tucker2008-03-261-1/+2
| | | | | | chroot. Allows ChrootDirectory to work with selinux support compiled in but not enabled. Using it with selinux enabled will require some selinux support inside the chroot. "looks sane" djm@
* - (djm) [Makefile.in configure.ac session.c sshpty.c]Damien Miller2006-04-221-0/+27
[contrib/redhat/sshd.init openbsd-compat/Makefile.in] [openbsd-compat/openbsd-compat.h openbsd-compat/port-linux.c] [openbsd-compat/port-linux.h] Add support for SELinux, setting the execution and TTY contexts. based on patch from Daniel Walsh, bz #880; ok dtucker@