History log of /openssh-portable/platform.c (Results 1 - 25 of 61)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 9634ffbf 23-Jul-2019 Darren Tucker

Add headers to prevent warnings w/out OpenSSL.


Revision tags: V_8_0_P1, V_7_9_P1, V_7_8_P1
# 5467fbcb 11-Jul-2018 markus@openbsd.org

upstream: remove legacy key emulation layer; ok djm@

OpenBSD-Commit-ID: 2b1f9619259e222bbd4fe9a8d3a0973eafb9dd8d


# 120a1ec7 10-Jul-2018 Damien Miller

Adapt portable to legacy buffer API removal


Revision tags: V_7_7_P1, V_7_6_P1
# 878e0297 24-Aug-2017 Damien Miller

Split platform_sys_dir_uid into its own file

platform.o is too heavy for libssh.a use; it calls into the server on
many platforms. Move just the function needed by misc.c into its own

Split platform_sys_dir_uid into its own file

platform.o is too heavy for libssh.a use; it calls into the server on
many platforms. Move just the function needed by misc.c into its own
file.

show more ...


Revision tags: V_7_5_P1, V_7_4_P1
# 1e8013a1 17-Aug-2016 Darren Tucker

Remove obsolete CVS $Id from source files.

Since -portable switched to git the CVS $Id tags are no longer being
updated and are becoming increasingly misleading. Remove them.


Revision tags: V_7_3_P1
# 57b4ee04 14-Jun-2016 Darren Tucker

Move platform_disable_tracing into its own file.

Prevents link errors resolving the extern "options" when platform.o
gets linked into ssh-agent when building --with-pam.


# a86ec4d0 13-Jun-2016 Darren Tucker

Use Solaris setpflags(__PROC_PROTECT, ...).

Where possible, use Solaris setpflags to disable process tracing on
ssh-agent and sftp-server. bz#2584, based on a patch from huieying.lee

Use Solaris setpflags(__PROC_PROTECT, ...).

Where possible, use Solaris setpflags to disable process tracing on
ssh-agent and sftp-server. bz#2584, based on a patch from huieying.lee
at oracle.com, ok djm.

show more ...


# 0f916d39 13-Jun-2016 Darren Tucker

Shorten prctl code a tiny bit.


# 0fb7f598 09-Jun-2016 Darren Tucker

Move prctl PR_SET_DUMPABLE into platform.c.

This should make it easier to add additional platform support such as
Solaris (bz#2584).


# 8c473933 14-Mar-2016 Darren Tucker

Don't call Solaris setproject() with UsePAM=yes.

When Solaris Projects are enabled along with PAM setting the project
is PAM's responsiblity. bz#2425, based on patch from
brent.paul

Don't call Solaris setproject() with UsePAM=yes.

When Solaris Projects are enabled along with PAM setting the project
is PAM's responsiblity. bz#2425, based on patch from
brent.paulson at gmail.com.

show more ...


Revision tags: V_7_2_P2, V_7_2_P1, V_7_1_P2, V_7_1_P1, V_7_0_P1, V_6_9_P1, V_6_8_P1, V_6_7_P1
# 7acefbbc 18-Jul-2014 Damien Miller

- millert@cvs.openbsd.org 2014/07/15 15:54:14
[PROTOCOL auth-options.c auth-passwd.c auth-rh-rsa.c auth-rhosts.c]
[auth-rsa.c auth.c auth1.c auth2-hostbased.c auth2-kbdint.c auth2-n

- millert@cvs.openbsd.org 2014/07/15 15:54:14
[PROTOCOL auth-options.c auth-passwd.c auth-rh-rsa.c auth-rhosts.c]
[auth-rsa.c auth.c auth1.c auth2-hostbased.c auth2-kbdint.c auth2-none.c]
[auth2-passwd.c auth2-pubkey.c auth2.c canohost.c channels.c channels.h]
[clientloop.c misc.c misc.h monitor.c mux.c packet.c readconf.c]
[readconf.h servconf.c servconf.h serverloop.c session.c ssh-agent.c]
[ssh.c ssh_config.5 sshconnect.c sshconnect1.c sshconnect2.c sshd.c]
[sshd_config.5 sshlogin.c]
Add support for Unix domain socket forwarding. A remote TCP port
may be forwarded to a local Unix domain socket and vice versa or
both ends may be a Unix domain socket. This is a reimplementation
of the streamlocal patches by William Ahern from:
http://www.25thandclement.com/~william/projects/streamlocal.html
OK djm@ markus@

show more ...


Revision tags: V_6_6_P1, V_6_5_P1
# 9464ba6f 20-Jan-2014 Tim Rice

- (tim) [platform.c session.c] Fix bug affecting SVR5 platforms introduced
with sftp chroot support. Move set_id call after chroot.


Revision tags: V_6_4_P1
# f2bf36c3 22-Sep-2013 Darren Tucker

- (dtucker) [platform.c platform.h sshd.c] bz#2156: restore Linux oom_adj
setting when handling SIGHUP to maintain behaviour over retart. Patch
from Matthew Ife.


Revision tags: V_6_3_P1, V_6_2_P2, V_6_2_P1
# aa97d13f 11-Mar-2013 Darren Tucker

- (dtucker) [auth.c configure.ac platform.c platform.h] Accept uid 2 ("bin")
in addition to root as an owner of system directories on AIX and HP-UX.
ok djm@


Revision tags: V_6_1_P1, V_6_0_P1, V_5_9_P1, V_5_8_P2, V_5_8_P1, V_5_7_P1
# 81ad4b1f 11-Jan-2011 Damien Miller

- (djm) [platform.c] Some missing includes that show up under -Werror


# d9957123 23-Nov-2010 Darren Tucker

- (dtucker) [platform.c session.c] Move the getluid call out of session.c and
into the platform-specific code Only affects SCO, tested by and ok tim@.


# d1ece6e4 07-Nov-2010 Darren Tucker

- (dtucker) [platform.c] includes.h instead of defines.h so that we get
the correct typedefs.


# 9283d8cb 05-Nov-2010 Darren Tucker

- (dtucker) [platform.c] Need servconf.h and extern options.


# b12fe272 04-Nov-2010 Darren Tucker

- (dtucker) [platform.c platform.h session.c] Move the Cygwin special-case
check into platform.c


# cc12418e 04-Nov-2010 Darren Tucker

- (dtucker) [platform.c session.c] Move PAM credential establishment for the
non-LOGIN_CAP case into platform.c.


# 0b2ee645 04-Nov-2010 Darren Tucker

- (dtucker) [platform.c session.c] Move irix setusercontext fragment into
platform.c.


# 676b912e 04-Nov-2010 Darren Tucker

- (dtucker) platform.c session.c] Move aix_usrinfo frament into platform.c.


# 7a8afe31 04-Nov-2010 Darren Tucker

- (dtucker) platform.c session.c] Move the USE_LIBIAF fragment into
platform.c


# 728d8371 04-Nov-2010 Darren Tucker

- (dtucker) [platform.c session.c] Move the PAM credential establishment for
the LOGIN_CAP case into platform.c.


# fd4d8aa2 04-Nov-2010 Darren Tucker

- (dtucker) [platform.c] Only call setpgrp on BSDI if running as root to
retain previous behavior.


123