OSDN Git Service

android-x86/external-mksh.git
9 years agoUpgrade to mksh 50d.
Elliott Hughes [Tue, 7 Oct 2014 22:04:14 +0000 (15:04 -0700)]
Upgrade to mksh 50d.

Bug: 17814343
Change-Id: Ie56f48e041850aaf05f44d3640667848ec92f0b1

9 years agoMerge remote-tracking branch 'goog/lmp-mr1-ub-dev' into cp
Elliott Hughes [Mon, 6 Oct 2014 23:58:53 +0000 (16:58 -0700)]
Merge remote-tracking branch 'goog/lmp-mr1-ub-dev' into cp

9 years agoam 1f487419: Merge "Upgrade to mksh 50c."
Elliott Hughes [Mon, 6 Oct 2014 22:42:04 +0000 (22:42 +0000)]
am 1f487419: Merge "Upgrade to mksh 50c."

* commit '1f487419252b1b501e57d8944e854b1c349f92f7':
  Upgrade to mksh 50c.

9 years agoam 1f487419: Merge "Upgrade to mksh 50c."
Elliott Hughes [Mon, 6 Oct 2014 22:40:59 +0000 (22:40 +0000)]
am 1f487419: Merge "Upgrade to mksh 50c."

* commit '1f487419252b1b501e57d8944e854b1c349f92f7':
  Upgrade to mksh 50c.

9 years agoUpgrade to mksh 50c.
Elliott Hughes [Mon, 6 Oct 2014 18:30:44 +0000 (11:30 -0700)]
Upgrade to mksh 50c.

Bug: 17814343

(cherry picked from commit 56b517d46cdf4f6ccd6b62b207110e2afc3db30b)

Change-Id: Ib116fa73e720b9a918afa9538ff22b69345ba3bf

9 years agoMake mksh's mkmf.sh target-agnostic.
Elliott Hughes [Tue, 12 Aug 2014 22:39:09 +0000 (15:39 -0700)]
Make mksh's mkmf.sh target-agnostic.

This isn't much, but it's a step in the right direction. Really we should
probably generate a trivial Android.mk for building the .c files used by
the mksh equivalent of a configure script.

Bug: 17814343

(cherry picked from commit 0e7ec748185584bdc70285c9001d1c992b649127)

Change-Id: Ibce6616acfe560c4dfec1e27c51d45b9dce8456e

9 years agoUpgrade to mksh 50.
Elliott Hughes [Thu, 7 Aug 2014 19:59:26 +0000 (12:59 -0700)]
Upgrade to mksh 50.

Bug: 16569301
Bug: 17814343

(cherry picked from commit 737fdce098f804459a925438e48dd711c31bbc9e)

Change-Id: I7e8a142bec5f553f9e1a2568245582fe8fa14314

9 years agoMerge "Upgrade to mksh 50c."
Elliott Hughes [Mon, 6 Oct 2014 20:41:49 +0000 (20:41 +0000)]
Merge "Upgrade to mksh 50c."

9 years agoUpgrade to mksh 50c.
Elliott Hughes [Mon, 6 Oct 2014 18:30:44 +0000 (11:30 -0700)]
Upgrade to mksh 50c.

Bug: 17814343
Change-Id: I06cbd6e9ef127c6a654d201ebfb6005cbb2ed3b0

9 years agoam 049d9caa: Merge "Make mksh\'s mkmf.sh target-agnostic."
Elliott Hughes [Mon, 22 Sep 2014 17:31:57 +0000 (17:31 +0000)]
am 049d9caa: Merge "Make mksh\'s mkmf.sh target-agnostic."

* commit '049d9caadea06e990fa2f890b4e611adfdf01055':
  Make mksh's mkmf.sh target-agnostic.

9 years agoam 049d9caa: Merge "Make mksh\'s mkmf.sh target-agnostic."
Elliott Hughes [Mon, 22 Sep 2014 17:31:35 +0000 (17:31 +0000)]
am 049d9caa: Merge "Make mksh\'s mkmf.sh target-agnostic."

* commit '049d9caadea06e990fa2f890b4e611adfdf01055':
  Make mksh's mkmf.sh target-agnostic.

9 years agoMerge "Make mksh's mkmf.sh target-agnostic."
Elliott Hughes [Mon, 22 Sep 2014 17:08:25 +0000 (17:08 +0000)]
Merge "Make mksh's mkmf.sh target-agnostic."

9 years agoMake mksh's mkmf.sh target-agnostic.
Elliott Hughes [Tue, 12 Aug 2014 22:39:09 +0000 (15:39 -0700)]
Make mksh's mkmf.sh target-agnostic.

This isn't much, but it's a step in the right direction. Really we should
probably generate a trivial Android.mk for building the .c files used by
the mksh equivalent of a configure script.

Change-Id: I2a6d2e2b3a3ce03fea47a8ebccabd509989fbab9

9 years agoam d2b5c0ed: Merge "Upgrade to mksh 50."
Elliott Hughes [Fri, 8 Aug 2014 00:23:58 +0000 (00:23 +0000)]
am d2b5c0ed: Merge "Upgrade to mksh 50."

* commit 'd2b5c0ede63db6e5390c680884ca65f612173da0':
  Upgrade to mksh 50.

9 years agoMerge "Upgrade to mksh 50."
Elliott Hughes [Thu, 7 Aug 2014 23:32:09 +0000 (23:32 +0000)]
Merge "Upgrade to mksh 50."

9 years agoUpgrade to mksh 50.
Elliott Hughes [Thu, 7 Aug 2014 19:59:26 +0000 (12:59 -0700)]
Upgrade to mksh 50.

Bug: 16569301
Change-Id: I0560d52066198e25d3f0e5f3e4b0b7a5cd4f60b4

9 years agoam f9948769: Merge "cat builtin: permit interrupt during writing; more: avoid SIGPIPE"
Christopher Ferris [Tue, 5 Aug 2014 21:43:18 +0000 (21:43 +0000)]
am f9948769: Merge "cat builtin: permit interrupt during writing; more: avoid SIGPIPE"

* commit 'f9948769fe018acb71d1bed0a8db747d5397691f':
  cat builtin: permit interrupt during writing; more: avoid SIGPIPE

9 years agocat builtin: permit interrupt during writing; more: avoid SIGPIPE
Thorsten Glaser [Mon, 28 Jul 2014 13:18:35 +0000 (13:18 +0000)]
cat builtin: permit interrupt during writing; more: avoid SIGPIPE

(cherry picked from commit 353204547df46174e6b4273c43f56ed4dcb5794f)

Change-Id: I740d8da02577b8c7acc74c297f110a2a913ae2bf

9 years agoMerge "cat builtin: permit interrupt during writing; more: avoid SIGPIPE"
Christopher Ferris [Tue, 5 Aug 2014 19:37:07 +0000 (19:37 +0000)]
Merge "cat builtin: permit interrupt during writing; more: avoid SIGPIPE"

9 years agocat builtin: permit interrupt during writing; more: avoid SIGPIPE
Thorsten Glaser [Mon, 28 Jul 2014 13:18:35 +0000 (13:18 +0000)]
cat builtin: permit interrupt during writing; more: avoid SIGPIPE

Change-Id: I883dbb359e2580779d7d9fc8e982fbe2a9180668

10 years agoMerge "Use uapi kernel headers."
Christopher Ferris [Wed, 18 Dec 2013 23:16:57 +0000 (23:16 +0000)]
Merge "Use uapi kernel headers."

10 years agoUse uapi kernel headers.
Christopher Ferris [Wed, 18 Dec 2013 22:56:42 +0000 (14:56 -0800)]
Use uapi kernel headers.

Bug: 11559337
Change-Id: I05a34131ac533bf6d0eb300cf9c310cd7d70f037

10 years agoMerge "Install mksh directly into /system/bin/sh."
Elliott Hughes [Thu, 7 Nov 2013 16:08:35 +0000 (16:08 +0000)]
Merge "Install mksh directly into /system/bin/sh."

10 years agoInstall mksh directly into /system/bin/sh.
Elliott Hughes [Tue, 5 Nov 2013 19:12:04 +0000 (11:12 -0800)]
Install mksh directly into /system/bin/sh.

No need for a symbolic link.

Change-Id: I1c71d52041213459c04c50ffd6392196d70e4d17

10 years agoMerge "Update to mksh R48"
Nick Kralevich [Wed, 28 Aug 2013 19:19:18 +0000 (19:19 +0000)]
Merge "Update to mksh R48"

10 years agoUpdate to mksh R48 jb-x86
Thorsten Glaser [Thu, 25 Jul 2013 14:24:45 +0000 (14:24 +0000)]
Update to mksh R48

Change-Id: I4d1bef9bf8ddc7899cfb32a6f2fa9e6f632bc53f

11 years agoMerge "mksh: use /data/local instead of /data/local/tmp"
Nick Kralevich [Wed, 20 Feb 2013 20:08:35 +0000 (20:08 +0000)]
Merge "mksh: use /data/local instead of /data/local/tmp"

11 years agomksh: use /data/local instead of /data/local/tmp
Nick Kralevich [Wed, 20 Feb 2013 19:20:51 +0000 (11:20 -0800)]
mksh: use /data/local instead of /data/local/tmp

/data/local/tmp is writable by the shell user and is not
sticky (S_IXVTX). /data/local is only writable by root
(as a result, the sticky bit doesn't matter).

Change-Id: I7ea121208846c2cffe97f6316272c526b47a1813

11 years agoMerge "Update mksh to R43 (formal release, from tarball)"
Nick Kralevich [Tue, 19 Feb 2013 21:20:34 +0000 (21:20 +0000)]
Merge "Update mksh to R43 (formal release, from tarball)"

11 years agoUpdate mksh to R43 (formal release, from tarball)
Thorsten Glaser [Mon, 18 Feb 2013 23:02:51 +0000 (23:02 +0000)]
Update mksh to R43 (formal release, from tarball)

The files in src/ are just the unmodified mksh release .tgz
and is Not a Contribution to Android, it’s the upstream code
project. ChangeLog: https://www.mirbsd.org/mksh.htm#clog

Changes, other than upstream mksh code:
• update Copyright years
• sync with moving to a different AOSP project and other AOSP changes
• mkmf.sh: add test compilation mode
• be conservative in filedescriptor usage
• don’t compile the $MirOS$ RCS IDs into the binary to save space
• enable UTF-8 mode, to match reality
• help memory leak debugging by adding -DDEBUG_LEAKS
• update rest of mkmf.sh to work with updated AOSP and mksh
• use ro.product.device property as default hostname in mkshrc
  (originally submitted by John Michelau <john.michelau@motorola.com>)
• do not export PS1 in mkshrc (cross-shell developers agreed on this)
• add “more” function to mkshrc to get a simplistic pager
• add “hd” and “setenv” functions to mkshrc for better UX
• mention Launchpad as upstream bugtracker as comment in mkshrc
• change TMPDIR to /data/local/tmp for now, as /sqlite_stmt_journals is gone
  (although this is still no full replacement, it’s better than before)
• address the segfaults seen by DONG-DONG YANG

Change-Id: I2d4d175bc5163b3d6f5098024f98f316fe812e55

12 years agoTrack libnativehelper move for PDK.
Elliott Hughes [Thu, 3 May 2012 23:38:30 +0000 (16:38 -0700)]
Track libnativehelper move for PDK.

Bug: 6369821
Change-Id: I287c08d562d3aab14adf34a614ef752ecc21c064

12 years agoUpdated mksh to ToT as of 12 October 2011.
Geremy Condra [Thu, 13 Oct 2011 01:17:24 +0000 (18:17 -0700)]
Updated mksh to ToT as of 12 October 2011.

This includes several security fixes and brings us in
line with upstream, who has included fixes for a
number of issues originally reported by the Android
team.

Change-Id: I1e0f3adf292b86fa7679b3364a774e5b6004beb8

12 years agoMove mksh to a separate project.
Jean-Baptiste Queru [Thu, 16 Jun 2011 17:05:28 +0000 (10:05 -0700)]
Move mksh to a separate project.

This was originally in system/core/mksh

commit ba2627c6cdb3aaa40aebd362170c382b55b7b511
Author: Thorsten Glaser <tg@mirbsd.org>
Date:   Tue Aug 24 18:21:37 2010 +0200

    Add mksh from CVS 2010/08/24 as system/core/mksh module

    Both shells (ash from system/core/sh, and mksh) are built by
    default but only the one where $(TARGET_SHELL) is set to is
    actually installed (the shell and the mkshrc configuration
    file are tagged shell_mksh for this to work).

commit f41986bbc79055a4feed7266cac5c1b540296daf
Author: Jeff Hamilton <jham@android.com>
Date:   Fri Sep 10 10:46:06 2010 -0500

    Don't alias 'stop' to 'kill -STOP'

    Android has already has a stop command used
    to stop the main runtime and the alias
    interferes with testing tools that expect
    stop to kill the runtime.

Change-Id: I5ddf28dbd0221148d3b8f55eaf4f1e7d046c9288

12 years agoInitial empty repository
Anatol Pomazau [Fri, 10 Jun 2011 15:15:48 +0000 (08:15 -0700)]
Initial empty repository