OSDN Git Service

android-x86/external-mksh.git
5 years agoSwitch to system/core/janitors as OWNERS.
Elliott Hughes [Thu, 17 Jan 2019 21:17:27 +0000 (13:17 -0800)]
Switch to system/core/janitors as OWNERS.

Change-Id: I8975a2dc50963b668ed067941180321c8a6028d3

5 years agoMerge "Add default code reviewers into OWNERS"
Chih-hung Hsieh [Tue, 8 Jan 2019 23:10:01 +0000 (23:10 +0000)]
Merge "Add default code reviewers into OWNERS"

5 years agoAdd default code reviewers into OWNERS
Chih-Hung Hsieh [Fri, 4 Jan 2019 22:18:35 +0000 (14:18 -0800)]
Add default code reviewers into OWNERS

Bug: 33166666
Test: gerrit uploader
Change-Id: Ic035de4bd6984e2631b16efbc91016e2140d2295

5 years agoMerge pie-platform-release to aosp-master - DO NOT MERGE
Bill Yi [Wed, 24 Oct 2018 21:46:22 +0000 (14:46 -0700)]
Merge pie-platform-release to aosp-master - DO NOT MERGE

Change-Id: Ibdd727f0fb578d4c2b41d9374ca7acda69dffc70

5 years agoMerge "mksh: allow -fstack-protector-strong."
Elliott Hughes [Tue, 16 Oct 2018 04:35:09 +0000 (21:35 -0700)]
Merge "mksh: allow -fstack-protector-strong."
am: 73cd92e91b

Change-Id: If18e4b9c2a16fd9ed775642d709febef959ce4f0

5 years agoMerge "mksh: allow -fstack-protector-strong."
Treehugger Robot [Tue, 16 Oct 2018 02:27:36 +0000 (02:27 +0000)]
Merge "mksh: allow -fstack-protector-strong."

5 years agomksh: allow -fstack-protector-strong.
Elliott Hughes [Mon, 15 Oct 2018 22:59:49 +0000 (15:59 -0700)]
mksh: allow -fstack-protector-strong.

Our original aim here was to use stack-protector where possible, but
that ironically ended up with us having _worse_ stack protection than
the current default.

Bug: N/A
Test: boots
Change-Id: Iac0f6b2e8ebd670d9c1abfe2ff314ed39c130ff2

5 years agoMerge "shell is available to the recovery mode" am: 9a3038ba35
Jiyong Park [Thu, 7 Jun 2018 13:43:27 +0000 (06:43 -0700)]
Merge "shell is available to the recovery mode" am: 9a3038ba35
am: dc008fa6f6

Change-Id: I5bd22b27d4d033ae3483f000da6a1a901f19427f

5 years agoMerge "shell is available to the recovery mode"
Jiyong Park [Thu, 7 Jun 2018 13:32:10 +0000 (06:32 -0700)]
Merge "shell is available to the recovery mode"
am: 9a3038ba35

Change-Id: Ib11a0a5bfd12283f332420e150fe8330829d93de

5 years agoMerge "shell is available to the recovery mode"
Treehugger Robot [Thu, 7 Jun 2018 12:39:54 +0000 (12:39 +0000)]
Merge "shell is available to the recovery mode"

5 years agoshell is available to the recovery mode
Jiyong Park [Fri, 1 Jun 2018 03:15:25 +0000 (12:15 +0900)]
shell is available to the recovery mode

Bug: 63673171
Test: `adb reboot recovery; adb devices` shows the device ID
Test: `adb root && adb shell` works
Change-Id: I89ceb2c8d3519b2e4793830b86aed8f4b7af1572

6 years agoMerge "mkshrc: set +o nohup." am: 827d6b8caf
Josh Gao [Thu, 29 Mar 2018 20:50:53 +0000 (20:50 +0000)]
Merge "mkshrc: set +o nohup." am: 827d6b8caf
am: 99c379cc0a

Change-Id: Ifa14f3074ac2cb836ce950add1e27e1583d78335

6 years agoMerge "mkshrc: set +o nohup."
Josh Gao [Thu, 29 Mar 2018 20:34:08 +0000 (20:34 +0000)]
Merge "mkshrc: set +o nohup."
am: 827d6b8caf

Change-Id: Ib9ceff3b3561ae01c22f07e7e89335048eba9937

6 years agoMerge "mkshrc: set +o nohup."
Josh Gao [Thu, 29 Mar 2018 20:19:27 +0000 (20:19 +0000)]
Merge "mkshrc: set +o nohup."

6 years agomkshrc: set +o nohup.
Josh Gao [Thu, 22 Mar 2018 01:03:34 +0000 (18:03 -0700)]
mkshrc: set +o nohup.

Turn off nohup in mkshrc so that backgrounded jobs receive SIGHUP when
the parent shell exits.

Bug: http://b/76116378
Test: manual
Change-Id: I347d25013df107e6bd2e985a0a14e022c9fdf2ab

6 years agoSnap for 4598635 from 034f947f03e15c6f73bda708c5488042a98928ca to pi-release
android-build-team Robot [Sun, 11 Feb 2018 08:23:10 +0000 (08:23 +0000)]
Snap for 4598635 from 034f947f03e15c6f73bda708c5488042a98928ca to pi-release

Change-Id: I503b8ca4a49f5a2f2184c729264229bdf75a3249

6 years agoMerge "Upgrade to mksh R56c." am: 0c3dc4139a am: 7b388008f5
Elliott Hughes [Thu, 8 Feb 2018 17:12:24 +0000 (17:12 +0000)]
Merge "Upgrade to mksh R56c." am: 0c3dc4139a am: 7b388008f5
am: c9786cca25

Change-Id: Ie5a05d8eab9b6d75b6618fd4f0e94aea4137858e

6 years agoMerge "Upgrade to mksh R56c." am: 0c3dc4139a
Elliott Hughes [Thu, 8 Feb 2018 17:07:54 +0000 (17:07 +0000)]
Merge "Upgrade to mksh R56c." am: 0c3dc4139a
am: 7b388008f5

Change-Id: I662a7b4e9feb6b9b8c11e13eeeeb81f55460c725

6 years agoMerge "Upgrade to mksh R56c."
Elliott Hughes [Thu, 8 Feb 2018 17:03:55 +0000 (17:03 +0000)]
Merge "Upgrade to mksh R56c."
am: 0c3dc4139a

Change-Id: I1a60764867fd78a543d2247a7e860f3cd40c0e3f

6 years agoMerge "Upgrade to mksh R56c."
Elliott Hughes [Thu, 8 Feb 2018 16:53:19 +0000 (16:53 +0000)]
Merge "Upgrade to mksh R56c."

6 years agoUpgrade to mksh R56c.
Elliott Hughes [Mon, 5 Feb 2018 23:55:19 +0000 (15:55 -0800)]
Upgrade to mksh R56c.

R56c is a bugfix-only release everyone must upgrade to:

[komh] Remove redundant OS/2-specific code, clean up others
[komh, tg] Fix drive-qualified (absolute and relative) DOS-style path support in realpath functionality, partially other places
[tg] Don’t substitute ${ENV:-~/.mkshrc} result again
[tg] Improve OS/2 $PATH (et al.) handling, drive-relative paths
[tg] Add MKSH_ENVDIR compile-time option for Jehanne and Plan 9
[tg] Limit nesting when parsing malformed code (Debian #878947)
[tg] Update wcwidth data with bugfixed script (still Unicode 10; resulting values are identical to glibc git master for extant chars)
[Dr. Werner Fink] Raise some time limits in the testsuite
[Shamar] Add support for the Jehanne operating system
[komh] Set stdin to text mode before executing child processes on OS/2
[komh] Pass arguments via a resonse file if executing a child fails
[Dr. Werner Fink] Early locale tracking as a compile-time option
[tg] Fix regressions introduced with new fast character classes

Bug: N/A
Test: builds and boots
Change-Id: I44da7a8bb9859a0357bcd59891dd4f2cfc199733

6 years agoSnap for 4498106 from 7b45c4c5f92c80565d4315cc637e2fc394262005 to pi-release
android-build-team Robot [Tue, 12 Dec 2017 08:27:17 +0000 (08:27 +0000)]
Snap for 4498106 from 7b45c4c5f92c80565d4315cc637e2fc394262005 to pi-release

Change-Id: I824c633b409bbb77cc5725dbb8d3059ff1f81080

6 years agoMerge "adbd handles $TMPDIR now." am: ab3794bf03 am: a774d083d1
Elliott Hughes [Tue, 12 Dec 2017 00:51:34 +0000 (00:51 +0000)]
Merge "adbd handles $TMPDIR now." am: ab3794bf03 am: a774d083d1
am: ee70b0a9fa

Change-Id: Ia286dada4e21b31bdc320c6455f66606715d9c7c

6 years agoMerge "adbd handles $TMPDIR now." am: ab3794bf03
Elliott Hughes [Tue, 12 Dec 2017 00:45:44 +0000 (00:45 +0000)]
Merge "adbd handles $TMPDIR now." am: ab3794bf03
am: a774d083d1

Change-Id: I6e79d0eeb1bcb80e5e971698c7e130483eb0bad1

6 years agoMerge "adbd handles $TMPDIR now."
Elliott Hughes [Tue, 12 Dec 2017 00:41:29 +0000 (00:41 +0000)]
Merge "adbd handles $TMPDIR now."
am: ab3794bf03

Change-Id: Ie1fe55ee5a24278576867e97a32468bd450c2c55

6 years agoMerge "adbd handles $TMPDIR now."
Elliott Hughes [Tue, 12 Dec 2017 00:29:50 +0000 (00:29 +0000)]
Merge "adbd handles $TMPDIR now."

6 years agoadbd handles $TMPDIR now.
Elliott Hughes [Mon, 11 Dec 2017 18:40:13 +0000 (10:40 -0800)]
adbd handles $TMPDIR now.

Bug: http://b/19635681
Test: printenv
Change-Id: I5a957a5e68739bdbc2415962c0b9cd93e154090e

6 years agoSnap for 4453288 from f8389c29187e587101bdcf6be139e081105cbe83 to pi-release
android-build-team Robot [Wed, 15 Nov 2017 08:25:20 +0000 (08:25 +0000)]
Snap for 4453288 from f8389c29187e587101bdcf6be139e081105cbe83 to pi-release

Change-Id: I35f2a5361b9e7bab8a71d97b79ba2ef739ce3669

6 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Xin Li [Wed, 15 Nov 2017 01:24:18 +0000 (01:24 +0000)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD
am: 7941c5b1c7

Change-Id: I94fcdd95e26361328411ea71c02f6baadeac230d

6 years agoMerge remote-tracking branch 'goog/stage-aosp-master' into HEAD
Xin Li [Wed, 15 Nov 2017 00:38:13 +0000 (16:38 -0800)]
Merge remote-tracking branch 'goog/stage-aosp-master' into HEAD

Change-Id: I910684705e21b5e9c998fa89a1496ca195f43973

6 years agoMerge commit '5a8bf259a2eb7fab63a1106d05e6dc8363f6e6b3' into HEAD
Xin Li [Mon, 13 Nov 2017 22:35:27 +0000 (14:35 -0800)]
Merge commit '5a8bf259a2eb7fab63a1106d05e6dc8363f6e6b3' into HEAD

Change-Id: I3f790483eaeff503b29812988dbedecb869183dd

6 years agoSnap for 4447680 from bdc6c8277792ecd6fa8c9f6adbef7010620e82bc to pi-release
android-build-team Robot [Sun, 12 Nov 2017 08:37:27 +0000 (08:37 +0000)]
Snap for 4447680 from bdc6c8277792ecd6fa8c9f6adbef7010620e82bc to pi-release

Change-Id: Icd35d0fe13fc7108dd2a3dd64ff9dd38a07d1f09

6 years agoMerge "Move sh_vendor cflags to its own target" am: f74f8d48e2 am: ecaf5bfb46
Sandeep Patil [Sat, 11 Nov 2017 00:47:18 +0000 (00:47 +0000)]
Merge "Move sh_vendor cflags to its own target" am: f74f8d48e2 am: ecaf5bfb46
am: 3e7698039a

Change-Id: Ief3ad61ef08e5cdcbdd158cad45fcd801422c2e8

6 years agoMerge "Move sh_vendor cflags to its own target" am: f74f8d48e2
Sandeep Patil [Sat, 11 Nov 2017 00:44:38 +0000 (00:44 +0000)]
Merge "Move sh_vendor cflags to its own target" am: f74f8d48e2
am: ecaf5bfb46

Change-Id: I80b7925c568932356fa332611fca98b64ce034a0

6 years agoMerge "Move sh_vendor cflags to its own target"
Sandeep Patil [Sat, 11 Nov 2017 00:42:59 +0000 (00:42 +0000)]
Merge "Move sh_vendor cflags to its own target"
am: f74f8d48e2

Change-Id: Idbfe973bc99c3afaabf9e36d5be2607c352d2287

6 years agoMerge "Move sh_vendor cflags to its own target"
Treehugger Robot [Sat, 11 Nov 2017 00:38:33 +0000 (00:38 +0000)]
Merge "Move sh_vendor cflags to its own target"

6 years agoMove sh_vendor cflags to its own target
Sandeep Patil [Fri, 10 Nov 2017 02:01:21 +0000 (18:01 -0800)]
Move sh_vendor cflags to its own target

The cc_defaults.vendor doesn't work due to VNDK being disabled.
(b/69133815). So, the conversion to soon caused the sh_vendor to start
using $PATH from the environment (instead of the hardcoded one) that in
turn caused vendor shell scripts trying to run system toybox commands.

Bug: 68771183
Test: m -j sh_vendor; adb sync; adb shell; /vendor/bin/sh; echo $PATH
Test: Boot marlin with no denials from init_radio, init_power domains.
Change-Id: Ia90b74a4cffdeba9b53f3b8fb8a56c98386794fa
Signed-off-by: Sandeep Patil <sspatil@google.com>
6 years agoSnap for 4411191 from 050351eaac7268c6ff9fc7e41529fd6197c24502 to pi-release
android-build-team Robot [Mon, 23 Oct 2017 08:05:01 +0000 (08:05 +0000)]
Snap for 4411191 from 050351eaac7268c6ff9fc7e41529fd6197c24502 to pi-release

Change-Id: I4f8f397a9029e51bc945b682a0bd9458af606fcc

6 years agoMerge "Undef before redefining macros" am: 028c26c2d0 am: 46fbc9c701 am: f0f159e557
Jiyong Park [Sun, 22 Oct 2017 12:47:41 +0000 (12:47 +0000)]
Merge "Undef before redefining macros" am: 028c26c2d0 am: 46fbc9c701 am: f0f159e557
am: 011543173e

Change-Id: I607e90419526757f7b15e6176c5814febebbdaa6

6 years agoMerge "Undef before redefining macros" am: 028c26c2d0 am: 46fbc9c701
Jiyong Park [Sun, 22 Oct 2017 12:45:11 +0000 (12:45 +0000)]
Merge "Undef before redefining macros" am: 028c26c2d0 am: 46fbc9c701
am: f0f159e557

Change-Id: I127ffb4a7fada980f31271bac18e3640bcaf7547

6 years agoMerge "Undef before redefining macros" am: 028c26c2d0
Jiyong Park [Sun, 22 Oct 2017 12:42:41 +0000 (12:42 +0000)]
Merge "Undef before redefining macros" am: 028c26c2d0
am: 46fbc9c701

Change-Id: I0e1c6556b1e483c6d8f753b15c90e6f5f835e6e1

6 years agoMerge "Undef before redefining macros"
Jiyong Park [Sun, 22 Oct 2017 12:40:11 +0000 (12:40 +0000)]
Merge "Undef before redefining macros"
am: 028c26c2d0

Change-Id: Ibfe534eca2845106f419150bcb1a027a82e77453

6 years agoMerge "Undef before redefining macros"
Treehugger Robot [Sun, 22 Oct 2017 12:36:44 +0000 (12:36 +0000)]
Merge "Undef before redefining macros"

6 years agoUndef before redefining macros
Jiyong Park [Sun, 22 Oct 2017 08:17:47 +0000 (17:17 +0900)]
Undef before redefining macros

-Werror,-Wmacro-redefined was turned on because of -Werror, -Wall.
Undefine the overridden macros before redefining them to let compiler
know that the redifinition is intentional.

Test: m -j sh_vendor

Change-Id: If324124e4504f05a37afd1021cff179fdfe4c08e

6 years agoMerge "switch to soong" am: 7569b29092 am: 0aef897d8c am: 404525b7f4
Jiyong Park [Sun, 22 Oct 2017 07:49:07 +0000 (07:49 +0000)]
Merge "switch to soong" am: 7569b29092 am: 0aef897d8c am: 404525b7f4
am: a7650f2a2e

Change-Id: I49852ef2417aa35526a803ecdc4242a57c6c2d64

6 years agoMerge "switch to soong" am: 7569b29092 am: 0aef897d8c
Jiyong Park [Sun, 22 Oct 2017 07:47:05 +0000 (07:47 +0000)]
Merge "switch to soong" am: 7569b29092 am: 0aef897d8c
am: 404525b7f4

Change-Id: Iacc7269b12d2561e8e198b903e4efe1f38d1b7e6

6 years agoMerge "switch to soong" am: 7569b29092
Jiyong Park [Sun, 22 Oct 2017 07:44:03 +0000 (07:44 +0000)]
Merge "switch to soong" am: 7569b29092
am: 0aef897d8c

Change-Id: Ib06030d3ac890be65e7bb7fb5dd6bf1063192e24

6 years agoMerge "switch to soong"
Jiyong Park [Sun, 22 Oct 2017 07:41:31 +0000 (07:41 +0000)]
Merge "switch to soong"
am: 7569b29092

Change-Id: I17a2932994dbcd82f1826f4b2a0040f38a641714

6 years agoMerge "switch to soong"
Treehugger Robot [Sun, 22 Oct 2017 07:38:51 +0000 (07:38 +0000)]
Merge "switch to soong"

6 years agoswitch to soong
Jiyong Park [Tue, 26 Sep 2017 00:07:54 +0000 (09:07 +0900)]
switch to soong

sh is converted to Android.bp

Bug: 66914194
Test: build. sh is found in both /system/bin and /vendor/bin

Change-Id: Iee59e7f2a60c3855c76935e64b8100b7f8eb4802

6 years agoSnap for 4393550 from d8028148faf8c378a9e1072a6504491fa267dcbf to pi-release
android-build-team Robot [Fri, 13 Oct 2017 08:14:23 +0000 (08:14 +0000)]
Snap for 4393550 from d8028148faf8c378a9e1072a6504491fa267dcbf to pi-release

Change-Id: I140d7325d6e93d8b4edfbb40cc235b03934bdc13

6 years agoMerge "Use -Werror in external/mksh" am: 9da7e0f318 am: b6be55d35e am: 95c8f2abd7
Chih-hung Hsieh [Thu, 12 Oct 2017 21:00:07 +0000 (21:00 +0000)]
Merge "Use -Werror in external/mksh" am: 9da7e0f318 am: b6be55d35e am: 95c8f2abd7
am: 5a8bf259a2

Change-Id: I6d4696a4522fc01b2784aa8944d51e73c41c3ea9

6 years agoMerge "Use -Werror in external/mksh" am: 9da7e0f318 am: b6be55d35e
Chih-hung Hsieh [Thu, 12 Oct 2017 20:52:35 +0000 (20:52 +0000)]
Merge "Use -Werror in external/mksh" am: 9da7e0f318 am: b6be55d35e
am: 95c8f2abd7

Change-Id: Ie5178680bfee7a48257f365416f802e2b1566e32

6 years agoMerge "Use -Werror in external/mksh" am: 9da7e0f318
Chih-hung Hsieh [Thu, 12 Oct 2017 20:49:36 +0000 (20:49 +0000)]
Merge "Use -Werror in external/mksh" am: 9da7e0f318
am: b6be55d35e

Change-Id: I3bacddf544832686351f101b51042a0545a73404

6 years agoMerge "Use -Werror in external/mksh"
Chih-hung Hsieh [Thu, 12 Oct 2017 20:44:33 +0000 (20:44 +0000)]
Merge "Use -Werror in external/mksh"
am: 9da7e0f318

Change-Id: Ia0889c3287082aaf9199f3548c1f7b64336cc99e

6 years agoMerge "Use -Werror in external/mksh"
Chih-hung Hsieh [Thu, 12 Oct 2017 20:33:07 +0000 (20:33 +0000)]
Merge "Use -Werror in external/mksh"

6 years agoUse -Werror in external/mksh
Chih-Hung Hsieh [Wed, 11 Oct 2017 20:08:29 +0000 (13:08 -0700)]
Use -Werror in external/mksh

* Suppress existing warnings.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I8e8e88745daaf2fbaef2a8ba373d6de1039fe030

6 years agoSnap for 4375922 from 4eb4e3e55e5cab9a3dc22883cbf8333f8ba277f7 to pi-release
android-build-team Robot [Wed, 4 Oct 2017 08:03:57 +0000 (08:03 +0000)]
Snap for 4375922 from 4eb4e3e55e5cab9a3dc22883cbf8333f8ba277f7 to pi-release

Change-Id: I031a66263724fc457ca4fe866d899c942dd6df3d

6 years agoMerge "Stop setting $HOSTNAME in mkshrc." am: 5677920e65 am: 12d6e8bb3f am: 4ee8234275
Elliott Hughes [Tue, 3 Oct 2017 22:52:14 +0000 (22:52 +0000)]
Merge "Stop setting $HOSTNAME in mkshrc." am: 5677920e65 am: 12d6e8bb3f am: 4ee8234275
am: 8785c9f7c6

Change-Id: I75c37c7f8235071d0f66acd46833d118962c629f

6 years agoMerge "Stop setting $HOSTNAME in mkshrc." am: 5677920e65 am: 12d6e8bb3f
Elliott Hughes [Tue, 3 Oct 2017 22:45:48 +0000 (22:45 +0000)]
Merge "Stop setting $HOSTNAME in mkshrc." am: 5677920e65 am: 12d6e8bb3f
am: 4ee8234275

Change-Id: I4f8ac7303b8cec103ad7ada5258eac3f076eb40f

6 years agoMerge "Stop setting $HOSTNAME in mkshrc." am: 5677920e65
Elliott Hughes [Tue, 3 Oct 2017 22:38:23 +0000 (22:38 +0000)]
Merge "Stop setting $HOSTNAME in mkshrc." am: 5677920e65
am: 12d6e8bb3f

Change-Id: Iaf04be2499bf69f3367c653d4fed23ebd9f2cfd2

6 years agoMerge "Stop setting $HOSTNAME in mkshrc."
Elliott Hughes [Tue, 3 Oct 2017 22:29:17 +0000 (22:29 +0000)]
Merge "Stop setting $HOSTNAME in mkshrc."
am: 5677920e65

Change-Id: I694b38a3872a1e17fb2135a6a4635bb93fd801df

6 years agoMerge "Stop setting $HOSTNAME in mkshrc."
Elliott Hughes [Tue, 3 Oct 2017 21:57:49 +0000 (21:57 +0000)]
Merge "Stop setting $HOSTNAME in mkshrc."

6 years agoStop setting $HOSTNAME in mkshrc.
Elliott Hughes [Tue, 3 Oct 2017 15:42:27 +0000 (08:42 -0700)]
Stop setting $HOSTNAME in mkshrc.

bash sets this itself. mksh doesn't, but we can set it in adbd instead.

Bug: N/A
Test: `adb shell printenv` and `adb shell`, `printenv`
Change-Id: I3967681c9c6f7bf9b1365f8361e4960e40e4f916

6 years agorelease-request-37e26775-0485-4a3d-a06c-026b3663c922-for-git_pi-release-4359872 snap...
android-build-team Robot [Tue, 26 Sep 2017 08:12:59 +0000 (08:12 +0000)]
release-request-37e26775-0485-4a3d-a06c-026b3663c922-for-git_pi-release-4359872 snap-temp-L83600000106066915

Change-Id: If0fc97b3efcbc65934e8e3109a79f4724a1e7172

6 years agoMerge "Upgrade to mksh R56b." am: a1899ee519 am: e1c2b662fd am: 02bf36c734
Elliott Hughes [Mon, 25 Sep 2017 19:50:35 +0000 (19:50 +0000)]
Merge "Upgrade to mksh R56b." am: a1899ee519 am: e1c2b662fd am: 02bf36c734
am: d9bbbf9fc9

Change-Id: Ia7bb4858ac217df7c20bbfdb8c993ebccdb139fe

6 years agoMerge "Upgrade to mksh R56b." am: a1899ee519 am: e1c2b662fd
Elliott Hughes [Mon, 25 Sep 2017 19:48:03 +0000 (19:48 +0000)]
Merge "Upgrade to mksh R56b." am: a1899ee519 am: e1c2b662fd
am: 02bf36c734

Change-Id: I91b4d178871971b891709861ea9be2d6a5f941e0

6 years agoMerge "Upgrade to mksh R56b." am: a1899ee519
Elliott Hughes [Mon, 25 Sep 2017 19:45:03 +0000 (19:45 +0000)]
Merge "Upgrade to mksh R56b." am: a1899ee519
am: e1c2b662fd

Change-Id: I3d34550ff13238b36c16c050405522c9f3742d6d

6 years agoMerge "Upgrade to mksh R56b."
Elliott Hughes [Mon, 25 Sep 2017 19:42:34 +0000 (19:42 +0000)]
Merge "Upgrade to mksh R56b."
am: a1899ee519

Change-Id: Iec6d19cc20406d06df71398b6f6479513dfe3f4b

6 years agoMerge "Upgrade to mksh R56b."
Elliott Hughes [Mon, 25 Sep 2017 19:37:27 +0000 (19:37 +0000)]
Merge "Upgrade to mksh R56b."

6 years agoUpgrade to mksh R56b.
Elliott Hughes [Fri, 22 Sep 2017 23:04:20 +0000 (16:04 -0700)]
Upgrade to mksh R56b.

R56b is a bugfix-only release everyone should upgrade to:

[tg] Reference the FAQ webpage
[panpo, Riviera] Fix documentation bug wrt. Esc+Ctrl-L
[tg, Larry Hynes] Fix “0” movement in vi mode
[tg] Replace broken libcs’ offsetof macro with MirBSD’s

R56 is a bugfix release with some experimental fixes:

[tg, Seb] Do not apply alias name restrictions to hash/tilde tracking
[tg] Restore ‘.’, ‘:’ and ‘[’ in alias names (“[[” is still forbidden)
[tg] Fix accidentally defanged $PATHSEP test
[tg] On ^C (INTR and QUIT edchars), shove edit line into history
[iSKUNK, tg] Begin porting to z/OS using EBCDIC encoding, incomplete
[tg] Redo fast character classes code, adding POSIX and other helpers
[tg] bind parses backslash-escaped ‘^’ (and ‘\’) as escaped
[tg] Building with -DMKSH_ASSUME_UTF8=0 no longer causes a known failure in the testsuite
[tg] New test.sh option -U to pass a UTF-8 locale to use in the tests
[tg] re_format(7) BSD: [[ $x = *[[:\<:]]foo[[:\>:]]* ]]
[tg, iSKUNK] Use Config in check.pl only if it exists
[tg] New matching code for bracket expressions, full POSIX (8bit)
[komh] Exclude FAT/HPFS/NTFS-unsafe tests on OS/2 (and Cygwin/MSYS)
[tg] Update to Unicode 10.0.0
[tg, selk] Make readonly idempotent
[tg, multiplexd] When truncating the persistent history, do not change the underlying file, do all operations on the locked one; do not stop using the history at all if it has been truncated
[tg, Jörg] Turn off UTF-8 mode upon turning on POSIX mode
[Martijn Dekker, Geoff Clare, many on the Austin list, tg] In POSIX mode, make the exec builtin force a $PATH search plus execve
[tg] Fix GCC 7, Coverity Scan warnings
[tg, Michal Hlavinka] Track background process PIDs even interactive
[tg] Always expose mksh’s hexdump shell function; speed it up by working on the input in chunks; use character classes to make it EBCDIC safe
[tg] Revamp dot.mkshrc default editor selection mechanism

Bug: N/A
Test: builds and boots
Change-Id: I35d624c4352c1b7c1ee499f9680712a30c64323b

6 years agoMerge "Build vendor shell unconditionally." am: bba8f4a328 am: 8547d5a6a9 am: 83c29a0b24
padarshr [Tue, 27 Jun 2017 19:26:00 +0000 (19:26 +0000)]
Merge "Build vendor shell unconditionally." am: bba8f4a328 am: 8547d5a6a9 am: 83c29a0b24
am: 0a685140c5

Change-Id: I0960b248ffc238f017a7fce637866b0f08805dfb

6 years agoMerge "Build vendor shell unconditionally." am: bba8f4a328 am: 8547d5a6a9
padarshr [Tue, 27 Jun 2017 19:03:15 +0000 (19:03 +0000)]
Merge "Build vendor shell unconditionally." am: bba8f4a328 am: 8547d5a6a9
am: 83c29a0b24

Change-Id: Ia67e60e4389d9a21efb9c4a0d508ad71751a021e

6 years agoMerge "Build vendor shell unconditionally." am: bba8f4a328
padarshr [Tue, 27 Jun 2017 19:00:16 +0000 (19:00 +0000)]
Merge "Build vendor shell unconditionally." am: bba8f4a328
am: 8547d5a6a9

Change-Id: I338f80a7e8bb5132988c9030ad70a4cb4c05ee75

6 years agoMerge "Build vendor shell unconditionally."
padarshr [Tue, 27 Jun 2017 18:57:15 +0000 (18:57 +0000)]
Merge "Build vendor shell unconditionally."
am: bba8f4a328

Change-Id: Icf13f5feb51106fd9b373517ae082018dfe7bab9

6 years agoMerge "Build vendor shell unconditionally."
Treehugger Robot [Tue, 27 Jun 2017 18:47:30 +0000 (18:47 +0000)]
Merge "Build vendor shell unconditionally."

6 years agoBuild vendor shell unconditionally.
padarshr [Fri, 23 Jun 2017 17:48:38 +0000 (23:18 +0530)]
Build vendor shell unconditionally.

Always build vendor shell irrespective of whether
PRODUCT_FULL_TREBLE is enabled or not, as even on Non-Full
treble builds this can be useful to start vendor scripts.

Change-Id: I93e514760cfcfd4f7f4ce401eae50d839638c51c

6 years agosh_vendor link to libc as a shared library. am: d79560268f -s ours
Yifan Hong [Thu, 22 Jun 2017 22:56:58 +0000 (22:56 +0000)]
sh_vendor link to libc as a shared library. am: d79560268f  -s ours
am: a0f2ab0af0  -s ours

Change-Id: I7873684ea7e736a3cf53afdac1bedb4107917be5

6 years agosh_vendor link to libc as a shared library.
Yifan Hong [Thu, 22 Jun 2017 22:44:26 +0000 (22:44 +0000)]
sh_vendor link to libc as a shared library.
am: d79560268f  -s ours

Change-Id: Ifdcb08d50c43d406291a007ab687ec9207dc579f

6 years agoMerge "sh_vendor link to libc as a shared library." am: 02aa26d9ab am: 17d120feef...
Yifan Hong [Thu, 22 Jun 2017 19:29:42 +0000 (19:29 +0000)]
Merge "sh_vendor link to libc as a shared library." am: 02aa26d9ab am: 17d120feef am: 140506d9d2
am: cc5acf1455

Change-Id: I762a63f820b4d2a566b64921ce6029e3a6ee39f5

6 years agoMerge "sh_vendor link to libc as a shared library." am: 02aa26d9ab am: 17d120feef
Yifan Hong [Thu, 22 Jun 2017 19:26:12 +0000 (19:26 +0000)]
Merge "sh_vendor link to libc as a shared library." am: 02aa26d9ab am: 17d120feef
am: 140506d9d2

Change-Id: I7ea4311f215fe3837119e7c06e5fc6e6c1659266

6 years agoMerge "sh_vendor link to libc as a shared library." am: 02aa26d9ab
Yifan Hong [Thu, 22 Jun 2017 19:22:47 +0000 (19:22 +0000)]
Merge "sh_vendor link to libc as a shared library." am: 02aa26d9ab
am: 17d120feef

Change-Id: I690fa32795488aa9678dcce1bc4fb0df6f92ff08

6 years agoMerge "sh_vendor link to libc as a shared library."
Yifan Hong [Thu, 22 Jun 2017 19:18:11 +0000 (19:18 +0000)]
Merge "sh_vendor link to libc as a shared library."
am: 02aa26d9ab

Change-Id: If97c273883223e2a516bd788df2d58f25681666c

6 years agoMerge "sh_vendor link to libc as a shared library."
Treehugger Robot [Thu, 22 Jun 2017 19:14:22 +0000 (19:14 +0000)]
Merge "sh_vendor link to libc as a shared library."

6 years agosh_vendor link to libc as a shared library.
Yifan Hong [Thu, 22 Jun 2017 00:05:15 +0000 (17:05 -0700)]
sh_vendor link to libc as a shared library.

Test: BOARD_VNDK_VERSION m -j -k
Test: m -j -k and boots

Bug: 33241851
Change-Id: Ica98c551892ff83b7e9e661d2ddfa4bac7d2c6f4
Merged-In: Ica98c551892ff83b7e9e661d2ddfa4bac7d2c6f4

6 years agosh_vendor link to libc as a shared library.
Yifan Hong [Thu, 22 Jun 2017 00:05:15 +0000 (17:05 -0700)]
sh_vendor link to libc as a shared library.

Test: BOARD_VNDK_VERSION m -j -k
Test: m -j -k and boots

Bug: 33241851
Change-Id: Ica98c551892ff83b7e9e661d2ddfa4bac7d2c6f4
Merged-In: Ica98c551892ff83b7e9e661d2ddfa4bac7d2c6f4

6 years agoMerge "install copy of shell in vendor partition" am: ee224ea092 am: 5a6144a098 ...
Sandeep Patil [Wed, 21 Jun 2017 23:10:42 +0000 (23:10 +0000)]
Merge "install copy of shell in vendor partition" am: ee224ea092 am: 5a6144a098  -s ours am: 632282bc91  -s ours
am: 1942fd0335  -s ours

Change-Id: I90596692e63df5f814d3da3f1ed38af4764bc85f

6 years agoMerge "install copy of shell in vendor partition" am: ee224ea092 am: 5a6144a098 ...
Sandeep Patil [Wed, 21 Jun 2017 23:07:41 +0000 (23:07 +0000)]
Merge "install copy of shell in vendor partition" am: ee224ea092 am: 5a6144a098  -s ours
am: 632282bc91  -s ours

Change-Id: Id61c8fccafce31b17a9c90d506db05bb64b9c7c2

6 years agoMerge "install copy of shell in vendor partition" am: ee224ea092
Sandeep Patil [Wed, 21 Jun 2017 23:04:59 +0000 (23:04 +0000)]
Merge "install copy of shell in vendor partition" am: ee224ea092
am: 5a6144a098  -s ours

Change-Id: I05b9d8ad63a5b69fec0c7a4dc768d1fcade3a8a6

6 years agoMerge "install copy of shell in vendor partition"
Sandeep Patil [Wed, 21 Jun 2017 23:01:42 +0000 (23:01 +0000)]
Merge "install copy of shell in vendor partition"
am: ee224ea092

Change-Id: Id919730d78760daefef01bba45b64556658cf8a5

6 years agoMerge "install copy of shell in vendor partition"
Sandeep Patil [Wed, 21 Jun 2017 22:58:32 +0000 (22:58 +0000)]
Merge "install copy of shell in vendor partition"

6 years agoinstall copy of shell in vendor partition
Sandeep Patil [Thu, 13 Apr 2017 01:02:50 +0000 (18:02 -0700)]
install copy of shell in vendor partition

This is to be used by vendor processes. Particularly, vendor shell
scripts that get launched as init services. The shell is restricted from
running as interactive mode in SEPolicy. Unless it is launched from rooted
system shell. The change also adds the ability to override the default
$PATH regardless of the environment.

Bug: 36463595
Test: Boot sailfish with new shell and ensure all init services exit
      with status 0

Merged-In: I1eaf2c8a8f6905caf00d53e067add67eaea00e09
Change-Id: I1eaf2c8a8f6905caf00d53e067add67eaea00e09
Signed-off-by: Sandeep Patil <sspatil@google.com>
(cherry picked from commit c2036115102d80c026b70846812a42204522f9ac)

7 years agoinstall copy of shell in vendor partition am: c203611510
Sandeep Patil [Fri, 14 Apr 2017 21:03:40 +0000 (21:03 +0000)]
install copy of shell in vendor partition am: c203611510
am: 5bfe1ea22e

Change-Id: I7040d3e62b6709013fdb3798ebff318c4693d40c

7 years agoinstall copy of shell in vendor partition
Sandeep Patil [Fri, 14 Apr 2017 21:01:07 +0000 (21:01 +0000)]
install copy of shell in vendor partition
am: c203611510

Change-Id: I6a1da672c65522768647550df8768f9cd3285b23

7 years agoMerge "Upgrade to mksh R55." am: 693c2ea1e4 am: e0d2df7f07 am: 0d2db5fba1
Elliott Hughes [Fri, 14 Apr 2017 06:59:17 +0000 (06:59 +0000)]
Merge "Upgrade to mksh R55." am: 693c2ea1e4 am: e0d2df7f07 am: 0d2db5fba1
am: 651a7bb8b8

Change-Id: I1137b9d86533f909f850ba2ec4b6b0a98a4c29a0

7 years agoMerge "Upgrade to mksh R55." am: 693c2ea1e4 am: e0d2df7f07
Elliott Hughes [Fri, 14 Apr 2017 06:07:26 +0000 (06:07 +0000)]
Merge "Upgrade to mksh R55." am: 693c2ea1e4 am: e0d2df7f07
am: 0d2db5fba1

Change-Id: I14e66c15ea92f0ae7b282245bb07f911dfccf935

7 years agoMerge "Upgrade to mksh R55." am: 693c2ea1e4
Elliott Hughes [Fri, 14 Apr 2017 06:00:07 +0000 (06:00 +0000)]
Merge "Upgrade to mksh R55." am: 693c2ea1e4
am: e0d2df7f07

Change-Id: I2e1ef7d4911a211b3dc58e3cab8e6c6e0ad2778a

7 years agoMerge "Upgrade to mksh R55."
Elliott Hughes [Fri, 14 Apr 2017 05:53:42 +0000 (05:53 +0000)]
Merge "Upgrade to mksh R55."
am: 693c2ea1e4

Change-Id: If722a24bb137ba653d1374814397c705f3b10af2

7 years agoMerge "Upgrade to mksh R55."
Elliott Hughes [Fri, 14 Apr 2017 05:43:06 +0000 (05:43 +0000)]
Merge "Upgrade to mksh R55."

7 years agoinstall copy of shell in vendor partition
Sandeep Patil [Thu, 13 Apr 2017 01:02:50 +0000 (18:02 -0700)]
install copy of shell in vendor partition

This is to be used by vendor processes. Particularly, vendor shell
scripts that get launched as init services. The shell is restricted from
running as interactive mode in SEPolicy. Unless it is launched from rooted
system shell. The change also adds the ability to override the default
$PATH regardless of the environment.

Bug: 36463595
Test: Boot sailfish with new shell and ensure all init services exit
      with status 0

Change-Id: I1eaf2c8a8f6905caf00d53e067add67eaea00e09
Signed-off-by: Sandeep Patil <sspatil@google.com>