OSDN Git Service

android-x86/external-openssh.git
5 years agoFix the segmentation fault of ssh, and configure scp to make it work properly oreo-x86 android-x86-8.1-r1 android-x86-8.1-r2 android-x86-8.1-r3 android-x86-8.1-r4 android-x86-8.1-r5 android-x86-8.1-r6
elliott10 [Fri, 10 Aug 2018 07:24:39 +0000 (07:24 +0000)]
Fix the segmentation fault of ssh, and configure scp to make it work properly

6 years agorelease-request-e64ca0c4-2b43-4758-b238-0b8c6fabc365-for-git_oc-mr1-release-4207446...
android-build-team Robot [Sun, 23 Jul 2017 07:30:11 +0000 (07:30 +0000)]
release-request-e64ca0c4-2b43-4758-b238-0b8c6fabc365-for-git_oc-mr1-release-4207446 snap-temp-L19600000085022555

Change-Id: I17e7905825d48b497d4a83ff7dfa06a3ae816956

6 years agoSpecialize for gce targets in openssh am: eab54b0935 am: eecbfc646e
Keun Soo Yim [Thu, 20 Jul 2017 08:37:13 +0000 (08:37 +0000)]
Specialize for gce targets in openssh am: eab54b0935 am: eecbfc646e
am: 2e8c31b1b2

Change-Id: Ib5cf7a82a4533123823f3f2014d14b9d617cd0e2

6 years agorelease-request-6db00e04-e62d-4e43-807a-a9cc1185dcbb-for-git_oc-mr1-release-4136929...
android-build-team Robot [Tue, 27 Jun 2017 07:32:09 +0000 (07:32 +0000)]
release-request-6db00e04-e62d-4e43-807a-a9cc1185dcbb-for-git_oc-mr1-release-4136929 snap-temp-L91700000077883673

Change-Id: I91b00e20e7f8eb6d2483cfed3015a340aeea2047

6 years agoMerge openssh 7.5p1
Greg Hartman [Fri, 23 Jun 2017 03:49:52 +0000 (20:49 -0700)]
Merge openssh 7.5p1

BUG: 35443510
Change-Id: I2558fb80234e145c13ccb7a51859f2a5fd2e0324

6 years agoSpecialize for gce targets in openssh am: eab54b0935
Keun Soo Yim [Wed, 7 Jun 2017 08:59:44 +0000 (08:59 +0000)]
Specialize for gce targets in openssh am: eab54b0935
am: eecbfc646e

Change-Id: If69509c2e398f9a9fcf8853490e1ecc3ceefb8c3

7 years agoSpecialize for gce targets in openssh
Keun Soo Yim [Tue, 28 Mar 2017 08:04:49 +0000 (08:04 +0000)]
Specialize for gce targets in openssh
am: eab54b0935

Change-Id: I098f16e348ba39d2f4b8799d1d748e50a4b52eaf

7 years agoDefine HAVE_{STRLCPY,STRLCAT} to 1.
George Burgess IV [Wed, 26 Oct 2016 18:40:05 +0000 (11:40 -0700)]
Define HAVE_{STRLCPY,STRLCAT} to 1.

Bionic has both of these functions; their redeclarations break our
new-style FORTIFY.

Bug: 32073964
Test: Builds with new FORITFY
Change-Id: Ia6e43117012dc83f6f11ae78a74bb1f4b07c75fc

7 years agoFix component number and contacts
Greg Hartman [Wed, 23 Nov 2016 23:43:21 +0000 (15:43 -0800)]
Fix component number and contacts

Change-Id: I6af95c2554f5e7864df23055f5ab71d8a9741dbf

7 years agoDefine HAVE_ATTRIBUTE__SENTINEL__ to 1.
Josh Gao [Thu, 11 Aug 2016 19:59:41 +0000 (12:59 -0700)]
Define HAVE_ATTRIBUTE__SENTINEL__ to 1.

The #define in config.h for __sentinel__ is incorrect and doesn't
handle __attribute__((__sentinel__(1))). Since we have the attribute,
just turn it on.

Change-Id: Ifaced8170a274d2d0e527f892986795aaffedb69

7 years agoMove away from GLOBAL_CFLAGS for ssh configuration
Greg Hartman [Fri, 10 Jun 2016 21:05:35 +0000 (14:05 -0700)]
Move away from GLOBAL_CFLAGS for ssh configuration

Later branches will not support GLOBAL_CFLAGS.
This change turns on account mapping for all Android builds.
It allows SSHDIR to be set in BoardConfig.mk

Bug: 29277511

Change-Id: Ic1411b97468d61a919763db6d42253fdf148df79

8 years agomodify SSHDIR as that's not part of upstream code
Keun Soo Yim [Fri, 12 Feb 2016 21:10:33 +0000 (13:10 -0800)]
modify SSHDIR as that's not part of upstream code

Change-Id: Ib55641f13703a3e91c86def7330ff2280ec2afac
(cherry picked from commit db0dfa13e95a9655ee0480dec821ae2a06e9bd52)

8 years agoSpecialize for gce targets in openssh
Keun Soo Yim [Tue, 9 Feb 2016 21:24:06 +0000 (13:24 -0800)]
Specialize for gce targets in openssh

global clfags are not supported so this is moving
from device/google/gce_x86/BoardConfig.mk

Change-Id: Ifc519a1de4b4be7ae50c21254a99c90bd92bc911
(cherry picked from commit 55b26ed099521b8db7c0ac80377c9a4297d2298f)

8 years agoMerge "openssh-7.1p2"
Greg Hartman [Thu, 11 Feb 2016 00:57:42 +0000 (00:57 +0000)]
Merge "openssh-7.1p2"

8 years agoSpecialize for gce targets in openssh
Keun Soo Yim [Tue, 9 Feb 2016 21:24:06 +0000 (13:24 -0800)]
Specialize for gce targets in openssh

global clfags are not supported so this is moving
from device/google/gce_x86/BoardConfig.mk

Change-Id: Ifc519a1de4b4be7ae50c21254a99c90bd92bc911

8 years agoopenssh-7.1p2
Greg Hartman [Wed, 3 Feb 2016 17:59:44 +0000 (09:59 -0800)]
openssh-7.1p2

BUG: 26940969

Change-Id: I8e39cdecbbef4499f72d305132adac86f3532682

8 years agoforcibly disable roaming support in the client am: ab28f5495c
Keun Soo Yim [Wed, 20 Jan 2016 02:07:52 +0000 (02:07 +0000)]
forcibly disable roaming support in the client am: ab28f5495c
am: 9e6d3e1c5b

* commit '9e6d3e1c5b29cec0e8412a5f72e5837463b75b43':

8 years agoMerge "Stop relying on global GCE_PLATFORM_SDK_VERSION" am: 7b8b4a6e29 am: b41c2ea39e
Dan Willemsen [Wed, 20 Jan 2016 02:07:50 +0000 (02:07 +0000)]
Merge "Stop relying on global GCE_PLATFORM_SDK_VERSION" am: 7b8b4a6e29 am: b41c2ea39e
am: ce6947cd40

* commit 'ce6947cd40f25a57334cba5866b1e33065c643bb':

8 years agomakes certain libcrypto implementations cache a /dev/urandom fd in preparation of...
Greg Hartman [Wed, 20 Jan 2016 02:07:48 +0000 (02:07 +0000)]
makes certain libcrypto implementations cache a /dev/urandom fd in preparation of sandboxing. am: 7d4e4745a7
am: cfd2979a62

* commit 'cfd2979a62f5fa18f9aa219100d45c2550f7af05':

8 years agoMerge "Add metadata needed for vomit." am: 245f53dba1
Greg Hartman [Wed, 20 Jan 2016 02:07:46 +0000 (02:07 +0000)]
Merge "Add metadata needed for vomit." am: 245f53dba1
am: 4190e54827

* commit '4190e54827832605384f6a547c6a6120b8656a63':

8 years agoMap unknown users to shell for Android GCE. am: 95194cb22a
Greg Hartman [Wed, 20 Jan 2016 02:07:44 +0000 (02:07 +0000)]
Map unknown users to shell for Android GCE. am: 95194cb22a
am: f30df80db8

* commit 'f30df80db84fe73edacfa14526fd5b67099ddebf':

8 years agoMake the sshd directory configurable am: 3337c7067d
Greg Hartman [Wed, 20 Jan 2016 02:07:42 +0000 (02:07 +0000)]
Make the sshd directory configurable am: 3337c7067d
am: 4b43e83b8d

* commit '4b43e83b8dd92f892ab3a8a338fc898b9504f7d1':

8 years agoDon\'t chmod /dev/ptmx when allocating a pty on Android. am: 0199da83f6
Greg Hartman [Wed, 20 Jan 2016 02:07:40 +0000 (02:07 +0000)]
Don\'t chmod /dev/ptmx when allocating a pty on Android. am: 0199da83f6
am: 360b2521c5

* commit '360b2521c51a67b1e3e482711d78f5e09bcea862':

8 years agoam cfb649f1: remove .gce_x86 suffix from ssh output files (post_install_cmd is not...
Keun Soo Yim [Wed, 20 Jan 2016 02:07:38 +0000 (02:07 +0000)]
am cfb649f1: remove .gce_x86 suffix from ssh output files (post_install_cmd is not supported in jb-mr1 and before). am: d44994fbf4
am: d7d954c2ad

* commit 'd7d954c2add1915f43e54dc8ae674bede5b84823':

8 years agoremove .gce_x86 suffix from ssh output files (post_install_cmd is not supported in...
Keun Soo Yim [Wed, 20 Jan 2016 02:07:36 +0000 (02:07 +0000)]
remove .gce_x86 suffix from ssh output files (post_install_cmd is not supported in jb-mr1 and before). am: 0c94e12da1
am: f726381d47

* commit 'f726381d472aa97e55e5e0e5a1895b2bf3c9ca8e':

8 years agoUse linux/capability.h in jb-mr1 too am: 994dea3d62
Keun Soo Yim [Wed, 20 Jan 2016 02:07:33 +0000 (02:07 +0000)]
Use linux/capability.h in jb-mr1 too am: 994dea3d62
am: 61e0286df6

* commit '61e0286df640326ce631fe1463a7b9bca7a8bbfa':

8 years agocapability used to be under linux, not system am: b66687b314
Greg Hartman [Wed, 20 Jan 2016 02:07:31 +0000 (02:07 +0000)]
capability used to be under linux, not system am: b66687b314
am: 1cb86094b9

* commit '1cb86094b95d4687ec4894f16d96be853d4503d1':

8 years agoRevert "Removed an unused header include" am: bf4d79746c
Keun Soo Yim [Wed, 20 Jan 2016 02:07:29 +0000 (02:07 +0000)]
Revert "Removed an unused header include" am: bf4d79746c
am: 9e9951438a

* commit '9e9951438a0fda1ba09a6f12becfee2bd598eea3':

8 years agoRemoved an unused header include am: b5de6ef9f0
Keun Soo Yim [Wed, 20 Jan 2016 02:07:26 +0000 (02:07 +0000)]
Removed an unused header include am: b5de6ef9f0
am: 9c3b157d91

* commit '9c3b157d91ed6ac8e63e760bea1ef33cfdc752e8':

8 years agoforcibly disable roaming support in the client
Keun Soo Yim [Wed, 20 Jan 2016 02:06:04 +0000 (02:06 +0000)]
forcibly disable roaming support in the client
am: ab28f5495c

* commit 'ab28f5495c85297e7a597c1ba62e996416da7c7e':
  forcibly disable roaming support in the client

8 years agoMerge "Stop relying on global GCE_PLATFORM_SDK_VERSION" am: 7b8b4a6e29
Dan Willemsen [Wed, 20 Jan 2016 02:06:02 +0000 (02:06 +0000)]
Merge "Stop relying on global GCE_PLATFORM_SDK_VERSION" am: 7b8b4a6e29
am: b41c2ea39e

* commit 'b41c2ea39e0c548081e4466de2cae80b61c24b42':

8 years agomakes certain libcrypto implementations cache a /dev/urandom fd in preparation of...
Greg Hartman [Wed, 20 Jan 2016 02:05:59 +0000 (02:05 +0000)]
makes certain libcrypto implementations cache a /dev/urandom fd in preparation of sandboxing.
am: 7d4e4745a7

* commit '7d4e4745a7dbe29f6c737ee62a36771ede20d09e':
  makes certain libcrypto implementations cache a /dev/urandom fd in preparation of sandboxing.

8 years agoMerge "Add metadata needed for vomit."
Greg Hartman [Wed, 20 Jan 2016 02:05:57 +0000 (02:05 +0000)]
Merge "Add metadata needed for vomit."
am: 245f53dba1

* commit '245f53dba195a2a562e3df67cd7a323363b54449':
  Add metadata needed for vomit.

8 years agoMap unknown users to shell for Android GCE.
Greg Hartman [Wed, 20 Jan 2016 02:05:54 +0000 (02:05 +0000)]
Map unknown users to shell for Android GCE.
am: 95194cb22a

* commit '95194cb22a6b7ff71a91517c2a98d7bebef87e8f':
  Map unknown users to shell for Android GCE.

8 years agoMake the sshd directory configurable
Greg Hartman [Wed, 20 Jan 2016 02:05:53 +0000 (02:05 +0000)]
Make the sshd directory configurable
am: 3337c7067d

* commit '3337c7067d6b8d9599e63919f5e1d0830cd8e696':
  Make the sshd directory configurable

8 years agoDon\'t chmod /dev/ptmx when allocating a pty on Android.
Greg Hartman [Wed, 20 Jan 2016 02:05:51 +0000 (02:05 +0000)]
Don\'t chmod /dev/ptmx when allocating a pty on Android.
am: 0199da83f6

* commit '0199da83f61c7a951b6e05ec844dabc0d3e04cd7':
  Don't chmod /dev/ptmx when allocating a pty on Android.

8 years agoam cfb649f1: remove .gce_x86 suffix from ssh output files (post_install_cmd is not...
Keun Soo Yim [Wed, 20 Jan 2016 02:05:48 +0000 (02:05 +0000)]
am cfb649f1: remove .gce_x86 suffix from ssh output files (post_install_cmd is not supported in jb-mr1 and before).
am: d44994fbf4

* commit 'd44994fbf4e255a92a1b4a0aff3b7c156e5f9952':

8 years agoremove .gce_x86 suffix from ssh output files (post_install_cmd is not supported in...
Keun Soo Yim [Wed, 20 Jan 2016 02:05:46 +0000 (02:05 +0000)]
remove .gce_x86 suffix from ssh output files (post_install_cmd is not supported in jb-mr1 and before).
am: 0c94e12da1

* commit '0c94e12da1d82c05a136cb5a0ed71dfe0f8a1b0c':
  remove .gce_x86 suffix from ssh output files (post_install_cmd is not supported in jb-mr1 and before).

8 years agoUse linux/capability.h in jb-mr1 too
Keun Soo Yim [Wed, 20 Jan 2016 02:05:43 +0000 (02:05 +0000)]
Use linux/capability.h in jb-mr1 too
am: 994dea3d62

* commit '994dea3d6278f2e0e3d16dc3cc69b9c028344cd2':
  Use linux/capability.h in jb-mr1 too

8 years agocapability used to be under linux, not system
Greg Hartman [Wed, 20 Jan 2016 02:05:41 +0000 (02:05 +0000)]
capability used to be under linux, not system
am: b66687b314

* commit 'b66687b3143b7e3a18d9667003e1dd8e824ecb9e':
  capability used to be under linux, not system

8 years agoRevert "Removed an unused header include"
Keun Soo Yim [Wed, 20 Jan 2016 02:05:39 +0000 (02:05 +0000)]
Revert "Removed an unused header include"
am: bf4d79746c

* commit 'bf4d79746cf93195e24b000f121c46efe04ad349':
  Revert "Removed an unused header include"

8 years agoRemoved an unused header include
Keun Soo Yim [Wed, 20 Jan 2016 02:05:35 +0000 (02:05 +0000)]
Removed an unused header include
am: b5de6ef9f0

* commit 'b5de6ef9f08b6ec91795b2fae6a44eb354985285':
  Removed an unused header include

8 years agoforcibly disable roaming support in the client
Keun Soo Yim [Sat, 16 Jan 2016 10:37:12 +0000 (02:37 -0800)]
forcibly disable roaming support in the client

ssh client security bug fix from
http://www.openssh.com/txt/release-7.1p2

openssh client is installed in gce instances.
although it's private key is not that much sensitive
it's better to land this security patch than not.

reported initially as cve-2016-0777 and cve-2016-0778
(January 14th, 2016)

BUG: 26587626
Change-Id: I113d576a3522ded8cb0f4a2e117999b0c51d4364

8 years agoMerge "Stop relying on global GCE_PLATFORM_SDK_VERSION"
Dan Willemsen [Fri, 18 Dec 2015 21:05:37 +0000 (21:05 +0000)]
Merge "Stop relying on global GCE_PLATFORM_SDK_VERSION"
am: 7b8b4a6e29

* commit '7b8b4a6e29299be9e6dd25e376806b3039ac4f8e':
  Stop relying on global GCE_PLATFORM_SDK_VERSION

8 years agoMerge "Stop relying on global GCE_PLATFORM_SDK_VERSION"
Dan Willemsen [Fri, 18 Dec 2015 20:39:28 +0000 (20:39 +0000)]
Merge "Stop relying on global GCE_PLATFORM_SDK_VERSION"

8 years agoStop relying on global GCE_PLATFORM_SDK_VERSION
Dan Willemsen [Thu, 17 Dec 2015 21:52:31 +0000 (13:52 -0800)]
Stop relying on global GCE_PLATFORM_SDK_VERSION

COMMON_GLOBAL_CFLAGS is being locked down. Instead, define it in the
LOCAL_CFLAGS where it is needed.

Bug: 26165350
Change-Id: Icd3e79c1f9439d7c32762cb51f66db5479750f40

8 years agomakes certain libcrypto implementations cache a /dev/urandom fd
Greg Hartman [Mon, 16 Nov 2015 18:13:36 +0000 (10:13 -0800)]
makes certain libcrypto implementations cache a /dev/urandom fd
in preparation of sandboxing.

Upstream patch is:

https://anongit.mindrot.org/openssh.git/patch/?id=07889c75926c040b8e095949c724e66af26441cb

BUG=25695426

Change-Id: I0f746c30e31e7d938c70bcebe402f472c4649919

8 years agoMerge "Add metadata needed for vomit."
Greg Hartman [Thu, 12 Nov 2015 16:27:22 +0000 (16:27 +0000)]
Merge "Add metadata needed for vomit."

8 years agoAdd metadata needed for vomit.
Greg Hartman [Thu, 12 Nov 2015 01:37:30 +0000 (17:37 -0800)]
Add metadata needed for vomit.

Change-Id: I547bb616f1d1caeaf118a302fb9c8823fae1bb83

8 years agoMap unknown users to shell for Android GCE.
Greg Hartman [Tue, 10 Nov 2015 21:41:08 +0000 (13:41 -0800)]
Map unknown users to shell for Android GCE.

Change-Id: I5a1f2aaa9c6a7ed04b22d2a1e71c2573f324ceae

8 years agoMake the sshd directory configurable
Greg Hartman [Wed, 28 Oct 2015 01:05:50 +0000 (18:05 -0700)]
Make the sshd directory configurable

Change-Id: I01d674b9a2688f4a1d3e884c2f434bfaad06ac8b

8 years agoDon't chmod /dev/ptmx when allocating a pty on Android.
Greg Hartman [Wed, 29 Jul 2015 22:38:15 +0000 (15:38 -0700)]
Don't chmod /dev/ptmx when allocating a pty on Android.

This resolves an incompatibility with non-root adb.
BUG=22803455

Change-Id: I908923e9ddc04e0ec8de0122eb79486c8b1ae03e

8 years agoam cfb649f1: remove .gce_x86 suffix from ssh output files (post_install_cmd is not...
Keun Soo Yim [Thu, 28 May 2015 19:28:19 +0000 (19:28 +0000)]
am cfb649f1: remove .gce_x86 suffix from ssh output files (post_install_cmd is not supported in jb-mr1 and before).

* commit 'cfb649f16fb638fa1c8c7e4cc229ce547dfa14d6':
  remove .gce_x86 suffix from ssh output files (post_install_cmd is not supported in jb-mr1 and before).

8 years agoremove .gce_x86 suffix from ssh output files (post_install_cmd is not supported in...
Keun Soo Yim [Fri, 15 May 2015 18:32:43 +0000 (11:32 -0700)]
remove .gce_x86 suffix from ssh output files (post_install_cmd is not supported in jb-mr1 and before).

Change-Id: I187386c699f22d80bac4c7f8c1e12ee5a590fb55
(cherry picked from commit 0c94e12da1d82c05a136cb5a0ed71dfe0f8a1b0c)

8 years agoremove .gce_x86 suffix from ssh output files (post_install_cmd is not supported in...
Keun Soo Yim [Fri, 15 May 2015 18:32:43 +0000 (11:32 -0700)]
remove .gce_x86 suffix from ssh output files (post_install_cmd is not supported in jb-mr1 and before).

Change-Id: I187386c699f22d80bac4c7f8c1e12ee5a590fb55

8 years agoUse linux/capability.h in jb-mr1 too
Keun Soo Yim [Fri, 8 May 2015 16:59:41 +0000 (09:59 -0700)]
Use linux/capability.h in jb-mr1 too

Change-Id: Ia24dbd1b452298a3a6780b72497280ec9b912ec3

8 years agocapability used to be under linux, not system
Greg Hartman [Thu, 7 May 2015 17:27:30 +0000 (10:27 -0700)]
capability used to be under linux, not system

Change-Id: Ia04f3f83a237f4cbe636b14f221cffdf9460b3a4

8 years agoRevert "Removed an unused header include"
Keun Soo Yim [Wed, 6 May 2015 18:01:46 +0000 (18:01 +0000)]
Revert "Removed an unused header include"

This reverts commit b5de6ef9f08b6ec91795b2fae6a44eb354985285.

Change-Id: I3d3ac73aaee2bcc99bc8fd490588a76bd698915d

8 years agoRemoved an unused header include
Keun Soo Yim [Tue, 5 May 2015 21:41:41 +0000 (14:41 -0700)]
Removed an unused header include

That file doesn't exist at least jb-gce-dev

Change-Id: I4a3cd97f2ee071ae74cb166baf38057671d76fef

9 years agoAdd platform-dependent config for arc4random
Greg Hartman [Wed, 8 Apr 2015 20:05:08 +0000 (13:05 -0700)]
Add platform-dependent config for arc4random

Change-Id: I50317ca1eed43779352a44d8e02123583df6a4fd

9 years agoexternal/openssh: update to 6.8p1.
Adam Langley [Mon, 30 Mar 2015 21:49:51 +0000 (14:49 -0700)]
external/openssh: update to 6.8p1.

In preparation for some updates to external/openssh to make it work with
BoringSSL, this change updates the code to a recent version. The current
version (5.9p1) is coming up on four years old now.

  * Confirmed that f5c67b478bef9992de9e9ec91ce10af4f6205e0d matches
    OpenSSH 5.9p1 exactly (save for the removal of the scard
    subdirectory).

  * Downloaded openssh-6.8p1.tar.gz (SHA256:
    3ff64ce73ee124480b5bf767b9830d7d3c03bbcb6abe716b78f0192c37ce160e)
    and verified with PGP signature. (I've verified Damien's key in
    person previously.)

  * Applied changes between f5c67b478bef9992de9e9ec91ce10af4f6205e0d and
    OpenSSH 5.9p1 to 6.8p1 and updated the build as best I can. The
    ugliest change is probably the duplication of umac.c to umac128.c
    because Android conditionally compiles that file twice. See the
    comment in those files.

Change-Id: I63cb07a8118afb5a377f116087a0882914cea486

9 years agoAdd prototype for prctl to fix 64 bit build break
Greg Hartman [Fri, 27 Feb 2015 15:55:00 +0000 (07:55 -0800)]
Add prototype for prctl to fix 64 bit build break

Change-Id: I1cda84a412666d5123be274ee0be399d25d86164

9 years agoPut ssh back into the repository
Greg Hartman [Wed, 25 Feb 2015 21:21:06 +0000 (13:21 -0800)]
Put ssh back into the repository

Change-Id: I23324372188fa6ed3f93a32b84365f5df6367590

9 years agoMerge "Remove sshd."
dcashman [Tue, 8 Jul 2014 16:25:09 +0000 (16:25 +0000)]
Merge "Remove sshd."

9 years agoRemove sshd.
dcashman [Mon, 7 Jul 2014 23:20:40 +0000 (16:20 -0700)]
Remove sshd.

This may require changes to other code, such as fastbootd, which relies on this
service.  sshd is not currently, used, however, so this change will force any
such code to be changed.

Bug: 11594902
Change-Id: I07e52008290dab5825be2ad062cbe730fa7dff71

9 years agoMerge "openssh should use its own arc4random."
Elliott Hughes [Sat, 21 Jun 2014 05:01:12 +0000 (05:01 +0000)]
Merge "openssh should use its own arc4random."

9 years agoopenssh should use its own arc4random.
Elliott Hughes [Sat, 21 Jun 2014 04:34:40 +0000 (21:34 -0700)]
openssh should use its own arc4random.

Previously openssh was declaring its own arc4random but accidentally picking
up a lower-quality implementation from libc.

Bug: 14499627
Change-Id: Ie0c4ddb78101a666af3ec3eb9dc03c8fb44f6c4b

9 years agoMerge "Conditionalize RIPEMD references"
Kenny Root [Sat, 21 Jun 2014 01:20:43 +0000 (01:20 +0000)]
Merge "Conditionalize RIPEMD references"

9 years agoConditionalize RIPEMD references
Kenny Root [Sat, 21 Jun 2014 01:16:47 +0000 (18:16 -0700)]
Conditionalize RIPEMD references

This unconditionally includes RIPEMD, but it's the only place in the
Android source code base. Instead of restoring RIPEMD to OpenSSL, just
remove it here.

Change-Id: Ie949f64cef1cb7de39baae3f118f2188e663c875

11 years agoMerge "openssh: use correct header file."
Nick Kralevich [Thu, 28 Feb 2013 22:53:19 +0000 (22:53 +0000)]
Merge "openssh: use correct header file."

11 years agoopenssh: use correct header file.
Nick Kralevich [Thu, 28 Feb 2013 22:10:54 +0000 (14:10 -0800)]
openssh: use correct header file.

Change-Id: Ia0f7247c9ed64ea846ae5b2d26054ceade5686c5

11 years agostart-ssh: force umask to 077
Nick Kralevich [Wed, 30 May 2012 21:44:04 +0000 (14:44 -0700)]
start-ssh: force umask to 077

Change-Id: Ie36338f174f891dee3f531d0b261d58e211d095f

12 years agoMerge remote-tracking branch 'goog/ics-aah-exp'
Mike Lockwood [Wed, 21 Mar 2012 19:57:28 +0000 (12:57 -0700)]
Merge remote-tracking branch 'goog/ics-aah-exp'

12 years agoAdd support for default authorized_keys file
Mike Lockwood [Wed, 4 Jan 2012 15:38:46 +0000 (10:38 -0500)]
Add support for default authorized_keys file

Change-Id: I61954d6a5c8d0c9b34501dcfb13ce38dc07e267a
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoAllow root login if ro.debuggable is set (userdebug and eng builds)
Mike Lockwood [Thu, 29 Dec 2011 20:30:07 +0000 (15:30 -0500)]
Allow root login if ro.debuggable is set (userdebug and eng builds)

Change-Id: I4aed01758ca5589a6bf1642e9f2f2894221c82b9
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoAdd extra groups and capabilities to shell user
Mike Lockwood [Thu, 29 Dec 2011 19:42:46 +0000 (14:42 -0500)]
Add extra groups and capabilities to shell user

This allows things like logcat, reboot, internet, SD card access, etc. to
work in an ssh shell like it would in an adb shell.

Change-Id: I6c921d9900a09394250c7b1ae0512d1eef3c1187
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoFix path to ssh binary
Mike Lockwood [Thu, 29 Dec 2011 18:50:19 +0000 (13:50 -0500)]
Fix path to ssh binary

Change-Id: Ic58de0027d947e7b0535edb3fef6bd26519655a1
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoMake libssh a shared library
Mike Lockwood [Thu, 29 Dec 2011 18:20:32 +0000 (13:20 -0500)]
Make libssh a shared library

Change-Id: I4452ad6b23b6ce5e69287b09f9e786942638256d
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoStub out ga_init() in android build
Mike Lockwood [Thu, 29 Dec 2011 18:02:47 +0000 (13:02 -0500)]
Stub out ga_init() in android build

Change-Id: I7be8ef7c0425a48500501895c5eabcebcbdf7aa1
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoInitial port of openssh to android
Mike Lockwood [Wed, 28 Dec 2011 19:12:50 +0000 (14:12 -0500)]
Initial port of openssh to android

Operation instructions:
    start from init.rc using start-ssh script
    Add your public key to /data/ssh/authorized_keys
    login with "ssh shell@<ip address>" from another computer on same network

Change-Id: I1085a8b2f2766d4a2a4a70ffaf0352b07c261281
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoAdd HAVE_PW_GECOS_IN_PASSWD configuration flag
Mike Lockwood [Wed, 28 Dec 2011 18:59:08 +0000 (13:59 -0500)]
Add HAVE_PW_GECOS_IN_PASSWD configuration flag

Change-Id: I0a1997bfa45966f619f9ec5ffaeb8f9be9f741e9
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoInitial commit of openssh-5.9p1
Mike Lockwood [Wed, 7 Dec 2011 16:17:59 +0000 (08:17 -0800)]
Initial commit of openssh-5.9p1

Change-Id: I991b8d22c9904ed6ced33a096776f4f342af52a8
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoAdd support for default authorized_keys file
Mike Lockwood [Wed, 4 Jan 2012 15:38:46 +0000 (10:38 -0500)]
Add support for default authorized_keys file

Change-Id: I23c9f3a1aebaac090db21f55a0ba792a2412206b
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoAllow root login if ro.debuggable is set (userdebug and eng builds)
Mike Lockwood [Thu, 29 Dec 2011 20:30:07 +0000 (15:30 -0500)]
Allow root login if ro.debuggable is set (userdebug and eng builds)

Change-Id: I77197e0bf9daa9774db015b0ffb8be519830ee72
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoAdd extra groups and capabilities to shell user
Mike Lockwood [Thu, 29 Dec 2011 19:42:46 +0000 (14:42 -0500)]
Add extra groups and capabilities to shell user

This allows things like logcat, reboot, internet, SD card access, etc. to
work in an ssh shell like it would in an adb shell.

Change-Id: I206b8b69fd437c611613c7d81b4a926a941e8030
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoFix path to ssh binary
Mike Lockwood [Thu, 29 Dec 2011 18:50:19 +0000 (13:50 -0500)]
Fix path to ssh binary

Change-Id: Ie1de77e93856d59c85ef87e02dcdd0fd268757a8
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoMake libssh a shared library
Mike Lockwood [Thu, 29 Dec 2011 18:20:32 +0000 (13:20 -0500)]
Make libssh a shared library

Change-Id: I33339938951a2e9f5ff35d523fedd4df0f3a6199
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoStub out ga_init() in android build
Mike Lockwood [Thu, 29 Dec 2011 18:02:47 +0000 (13:02 -0500)]
Stub out ga_init() in android build

Change-Id: I0c68510ece755fc8e8f4a93e9d6f017fc23fcfee
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoInitial port of openssh to android
Mike Lockwood [Wed, 28 Dec 2011 19:12:50 +0000 (14:12 -0500)]
Initial port of openssh to android

Operation instructions:
    start from init.rc using start-ssh script
    Add your public key to /data/ssh/authorized_keys
    login with "ssh shell@<ip address>" from another computer on same network

Change-Id: I3d6ea1de97f332d8dc3739828b8560fa398cbd8d
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoAdd HAVE_PW_GECOS_IN_PASSWD configuration flag
Mike Lockwood [Wed, 28 Dec 2011 18:59:08 +0000 (13:59 -0500)]
Add HAVE_PW_GECOS_IN_PASSWD configuration flag

Change-Id: I2571f00b4b6ba41b7795c8c78c58253e5d0205dd
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoInitial commit of openssh-5.9p1
Mike Lockwood [Wed, 7 Dec 2011 16:17:59 +0000 (08:17 -0800)]
Initial commit of openssh-5.9p1

Change-Id: I8ebb99a5acc541716cfaab5b30bd8f7a86996977
Signed-off-by: Mike Lockwood <lockwood@google.com>
12 years agoInitial empty repository
Anatol Pomazau [Thu, 8 Sep 2011 21:55:08 +0000 (14:55 -0700)]
Initial empty repository