summaryrefslogtreecommitdiff
path: root/platform.h
Commit message (Collapse)AuthorAgeFilesLines
* Missing semicolon.Darren Tucker2022-03-261-1/+1
|
* Factor out platform-specific locked account check.Darren Tucker2022-03-261-0/+1
| | | | | | Also fixes an incorrect free on platforms with both libiaf and shadow passwords (probably only Unixware). Prompted by github PR#284, originally from @c3h2_ctf and stoeckmann@.
* Remove obsolete CVS $Id from source files.Darren Tucker2016-08-171-2/+0
| | | | | Since -portable switched to git the CVS $Id tags are no longer being updated and are becoming increasingly misleading. Remove them.
* Move prctl PR_SET_DUMPABLE into platform.c.Darren Tucker2016-06-091-0/+1
| | | | | This should make it easier to add additional platform support such as Solaris (bz#2584).
* Support Illumos/Solaris fine-grained privilegesDamien Miller2016-01-081-0/+5
| | | | | | | Includes a pre-auth privsep sandbox and several pledge() emulations. bz#2511, patch by Alex Wilson. ok dtucker@
* - (dtucker) [platform.c platform.h sshd.c] bz#2156: restore Linux oom_adjDarren Tucker2013-09-221-1/+2
| | | | | setting when handling SIGHUP to maintain behaviour over retart. Patch from Matthew Ife.
* - (dtucker) [auth.c configure.ac platform.c platform.h] Accept uid 2 ("bin")Darren Tucker2013-03-121-3/+2
| | | | | in addition to root as an owner of system directories on AIX and HP-UX. ok djm@
* - (dtucker) [platform.c platform.h session.c] Move the Cygwin special-caseDarren Tucker2010-11-051-1/+2
| | | | check into platform.c
* - (dtucker) [platform.c platform.h session.c] Add a platform hook to runDarren Tucker2010-11-051-1/+2
| | | | after the user's groups are established and move the selinux calls into it.
* - (dtucker) [configure.ac platform.{c,h} session.cDarren Tucker2010-11-051-1/+4
| | | | | | openbsd-compat/port-solaris.{c,h}] Bug #1824: Add Solaris Project support. Patch from cory.erickson at csu mnscu edu with a bit of rework from me. ok djm@
* - (djm) [platform.h] Add missing prototype forDamien Miller2010-01-141-2/+4
| | | | platform_krb5_get_principal_name
* - (dtucker) [auth-krb5.c platform.{c,h} openbsd-compat/port-aix.{c,h}]Darren Tucker2009-12-211-1/+3
| | | | | Bug #1583: Use system's kerberos principal name on AIX if it's available. Based on a patch from and tested by Miguel Sanders.
* - (dtucker) Bug #1470: Disable OOM-killing of the listening sshd on Linux,Darren Tucker2009-12-081-1/+2
| | | | based on a patch from Vaclav Ovsik and Colin Watson. ok djm.
* - (djm) [CREDITS LICENCE Makefile.in auth.c configure.ac includes.h ]Damien Miller2006-08-311-0/+23
[platform.c platform.h sshd.c openbsd-compat/Makefile.in] [openbsd-compat/openbsd-compat.h openbsd-compat/port-solaris.c] [openbsd-compat/port-solaris.h] Add support for Solaris process contracts, enabled with --use-solaris-contracts. Patch from Chad Mynhier, tweaked by dtucker@ and myself; ok dtucker@