Android-x86
Fork
捐款

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-busybox: List of commits

external/busybox


RSS
修訂. 時間 作者
501aa62 marshmallow-x86 android-x86-6.0-r1 android-x86-6.0-r2 android-x86-6.0-r3 2015-10-16 01:57:28 Chih-Wei Huang

Android: add the headers for string functions prototypes

Fix the building errors on Android 6.0 64-bit targets.

Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>

603a0d1 2015-10-11 01:26:34 Chih-Wei Huang

lsusb: add -v option to show bDeviceClass and DEVNAME

68541ab 2015-10-11 01:26:32 Chih-Wei Huang

xlseek: large file support

This fixes the issue that mke2fs can't format large disks.

200e565 2015-10-08 21:12:54 Iftekhar Rifat

Fix busybox building

Change-Id: Icba1e069deb0f86ecc2cef3d6e008dc22660c788

23166cc 2015-09-26 04:52:10 Keith Mok

Enlarge android config for copy buffer

The copy buffer config is 4k currently which is too small
to be efficient on emmc. Enlarge it to 64k, makes cp
doubles the performance.

SAMBAR-434

Change-Id: Id315b910eb570f07b8c90fe4acbea270762b15e8

0098dcf 2015-09-07 02:46:47 Sreeram Ramachandran

Define a writeable CONFDIR for iproute.

Currently, the CONFDIR defaults to /etc/iproute2, which is on a read-only
filesystem. We plan to write some files at runtime to this directory, so we need
to point it at a read-write filesystem.

Note that nothing in Android actually uses (populates) the current CONFDIR
(/etc/iproute2). It doesn't even exist on the default system image. In other
words, this change doesn't break anything.

Change-Id: I69deb1a64d5d6647470823405bf0cc55b24b22de
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
JIRA: CYAN-6759

714fe14 2015-09-07 02:44:04 Christoph J. Thompson

iproute - Don't hardcode the path to config files

Allows using an alternate path for config files.

Change-Id: I6fb6b2d9a4b05a7dce145574760b2a4d442377f9
Signed-off-by: Christoph J. Thompson <cjsthompson@gmail.com>
Signed-off-by: Michael Bestas <mikeioannina@gmail.com>
JIRA: CYAN-6759

e04727a 2015-03-21 00:17:28 Chih-Wei Huang

Android: simplify BUSYBOX_CROSS_COMPILER_PREFIX

The original definition is complicated and won't work
if not build from a lunch environment.

The simplified definition should work for all archs
in all situations.

Change-Id: I961c46942b80e516bc89d41afe6e0fa28611e8de
Signed-off-by: bmc08gt <brandon.mcansh@gmail.com>

9e941c4 2015-03-08 07:34:51 Dan Pasanen

mount: address a couple crashes

Change-Id: I3f978f40eb77d7679decf4a33b5c655ebb74d979

bbfc339 2015-02-25 06:21:41 Dan Pasanen

mount: respect a user-specified fstype

* Don't attempt to auto-detect the filesystem type using blkid
if the user has specifically specified a type

Change-Id: Icebbc3189fc59af9fe52e12b693f3b7ae516e2c7

a7b938a 2015-02-19 22:42:29 Tanguy Pruvot

get_devname: fix a couple warnings

Change-Id: I0dd2b109cbe015f30905169a573368716c2a73c5

d9ce728 2015-02-14 03:31:40 Dan Pasanen

mount: use blkid to determine fstype

* Add a function to volume_id that returns an fstype for a
given device.

* During mount, if the fstype is auto, or blkid disagrees
with the given fstype, trust blkid's determination of the
filesystem type and run with it.

Change-Id: I357cbb5d255a30a27152a06de5328b2ef14553f9

60283c6 2014-11-09 17:13:46 Tanguy Pruvot

Android: fix for 32/64 __set_errno libc change

this export in libc is only present for 32 bit targets
for compatibility issues with the published NDK

Change-Id: I3ddab7d7f3c409cf7732ca23f23d3080fd6861a3

0d6f149 2014-11-07 22:20:29 Tanguy Pruvot

Android: Fix for 64bit arm and x86_64 targets

tested on kitkat arm and lollipop x86_64/arm64

Change-Id: I6049c7d935f08db51bea8f3fb98fe025171f2ef9

edbd464 2014-11-06 07:58:13 Ricardo Cerqueira

Default to L's bionic

ceebc17 2014-09-02 14:08:15 Tanguy Pruvot

busybox: restore mac/linux bash compat.

previous commit was merged too fast.

Change-Id: I2573ce6074e988bae0cd2157fcdf1269f6b1ac99

25b92aa 2014-09-02 13:52:32 Diogo Ferreira

busybox: Use 'gsed' in Mac builds

Mac builds were broken because its sed implementation is not compatible
with some of the features used in this script. We already require gsed
for the Android build on Mac so this changes the script to take that
into account.

Change-Id: I37c10f8c543bdaf2c84409dacfaeccd24eb152d7

e6d6455 2014-09-02 13:41:41 Tanguy Pruvot

Merge "[x86] Android 4.4.4 for x86 needs new implementation of "security_compute_relabel"" into cm-11.0

84f25e7 2014-08-25 21:25:27 HazouPH

New BIONIC_L(Android-L) has own support for STPCPY

The new BIONIC for android L preview has own support for STPCPY for all
arches. This patch removes inbuilt STPCPY support from busybox when BIONIC_L
is defined.

Change-Id: I189a4489450ca11eddd5b3f49a29f1fe46d0157a

068dd73 2014-08-20 06:28:38 HazouPH

[x86] Android 4.4.4 for x86 needs new implementation of "security_compute_relabel"

Change-Id: I2e15f58f11c9ee74ed8e1b7bf731efd881b890d9

39046ba 2014-08-11 00:34:49 Tanguy Pruvot

dmesg: rework color feature, compat. with more

when used with less or more, the colors were not in
the same buffer, resulting blocs of colors.

Also, reset color numbers to the 16 ANSI ones.

Reduce the diff with busybox to be able to send the patch.
This is the first full busybox aosp feature with the new build system

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

Change-Id: Ia0239a0bea02da01cae15736150dfee4fe66dcdb

a20778a 2014-08-10 20:24:38 Tanguy Pruvot

Android: typo in busybox folder

That was a remains of a test when the folder doesnt exists

Change-Id: If1989dc774ae7c6a8a94692ada6c321f67b5f4d9

c9b3fd2 2014-08-10 19:50:10 Tanguy Pruvot

Android: clean only objects, not the folders

Some users building with a high number of threads
reported to me problems regarding the import_includes folder.

So, only delete objects files (.o) and keep import_includes

Change-Id: Ibf3ac818ff2bcf00bdf4f5243112001e2b2e15ef

d4d8133 2014-08-06 23:28:58 Tanguy Pruvot

android: remove syscalls implemented in libbb

We missed the addition of libbb/missing_syscalls.c in 1.21

This also fix 'busybox date -s "2014-08-06 14:15:15"'
(tested in recovery too)

Change-Id: I2a1297e894638f000734b15757100c2d48984ed3

29cf8c2 2014-08-06 20:44:13 Chih-Wei Huang

android: fix building errors with Android L

Tested OK with Android L PDK LRW17D.

The asm files are regenerated by Android L gensyscalls.py.

syscalls: restore compatibilty with current branch

on arm __NR_stime constant is undefined in asm/unistd.h

add also BIONIC_L define for assembly files (syscalls)
tested on arm and x86 (not on mips)

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

Change-Id: If5b6a6d3f8b4c10339f8e7b0bf340d02c1cf26cb

d8482db 2014-08-06 20:40:07 Tanguy Pruvot

Bionic changes for tty related applets

Tested (but applets not included/enabled)
getty, login, su, passwd, mkpasswd, cryptpw

Sample /etc/passwd required before 'passwd' :
root:x:0:0:root:/:/system/xbin/bash

busybox su allow to change current user, if you are root
Example: "busybox su shell -c /system/xbin/bash"

busybox login allow also to do that :
Example: "busybox login shell"

getpwnam() returns now an empty string in passwd member
instead of null, busybox often check directly pw->pw_passwd[0]

Update also selinux related stubs after tests on x86 4.4.2,
l-preview and aosp/master

If you want to include these applets, here is the required
source list to add in busybox-full.sources :

libbb/correct_password.c libbb/pw_encrypt.c libbb/update_passwd.c
loginutils/getty.c loginutils/login.c loginutils/su.c
loginutils/passwd.c loginutils/chpasswd.c loginutils/cryptpw.c

And the config flags to add :

CONFIG_GETTY=y
CONFIG_LOGIN=y
CONFIG_FEATURE_NOLOGIN=y
CONFIG_PASSWD=y
CONFIG_CRYPTPW=y
CONFIG_CHPASSWD=y
CONFIG_SU=y
CONFIG_FEATURE_SU_CHECKS_SHELLS=y

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>

Change-Id: I96ee64f0872856fad6b3ff299faafad6451da556

9d67376 2014-08-06 20:14:20 Tanguy Pruvot

mktemp: warning fix for x86 and l-preview

mktemp is almost not used in busybox, so rename
the function in the mktemp applet to prevent bionic
warning on include.

Change-Id: I4332d3b957aafd6174eb7fe098b099eae779d3c9

3ae2578 2014-08-05 20:13:28 Tanguy Pruvot

android: clearenv should not set environ to NULL

Remove the old internal clearenv() function which is
no more required (exported in libc)

Change-Id: I357f6a3b057c366761b481c09b471d7c53d7a419

b0919fd 2014-08-05 18:41:42 Tanguy Pruvot

Android: update busybox def PATH and cron folder

remove /usr/bin, add /vendor/bin, like official path

config folder was badly set to debian style cron.d
but busybox variant is a bit different :

mkdir /etc/crontabs
echo "* * * * * log CRON!" > /etc/crontabs/`whoami`
crond -f

Change-Id: I0b9af08a557a952b5074da3231f32433f447f558

76616e3 2014-08-05 18:27:04 Tanguy Pruvot

selinux: implement missing selinux functions

checkPasswdAccess() is deprecated
http://linux.die.net/man/3/selinux_check_passwd_access

also, ensure context is initialized in run_shell()

Note: these stubs are just compatible with busybox source code
Should be enhanced, or implemented in libselinux...

Change-Id: I22ea2679191d5c0887b6ef8c77f09a032c226876

Show on old repository browser