Package: android-tools / 5.1.1.r38-1.1

Metadata

Package Version Patches format
android-tools 5.1.1.r38-1.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
remove selinux android.patch | (download)

system/core/adb/file_sync_service.c | 3 0 + 3 - 0 !
system/extras/ext4_utils/make_ext4fs.c | 1 0 + 1 - 0 !
system/extras/ext4_utils/make_ext4fs_main.c | 1 0 + 1 - 0 !
3 files changed, 5 deletions(-)

 drop useless includes of android selinux extensions; avoids having to clone another module; this should be sent upstream
use capability.patch | (download)

system/core/include/private/android_filesystem_config.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use linux/capability.h on linux systems too
use local socket.patch | (download)

system/core/adb/adb.c | 6 5 + 1 - 0 !
system/core/adb/adb_client.c | 5 3 + 2 - 0 !
system/core/adb/transport_local.c | 3 2 + 1 - 0 !
3 files changed, 10 insertions(+), 4 deletions(-)

 adb: use local sockets where appropriate
ppc64el ftbfs.patch | (download)

system/extras/ext4_utils/ext4_utils.c | 1 1 + 0 - 0 !
system/extras/ext4_utils/make_ext4fs_main.c | 3 2 + 1 - 0 !
system/extras/ext4_utils/wipe.c | 1 1 + 0 - 0 !
3 files changed, 4 insertions(+), 1 deletion(-)

 fix build failure on ppc64el
 On ppc64/ppc64el, the Linux kernel headers default to defining __u64 as
 'unsigned long int' for "compatibility".  However, this is incompatible
 with android-tools' own definition of the type.  Use the
 __SANE_USERSPACE_TYPES__ define to get kernel header behavior consistent
 with other architectures.

preserve ownership.patch | (download)

system/extras/ext4_utils/make_ext4fs.c | 6 6 + 0 - 0 !
system/extras/ext4_utils/make_ext4fs_main.c | 10 8 + 2 - 0 !
2 files changed, 14 insertions(+), 2 deletions(-)

 add -o argument to preserve ownership
remove bionic android.patch | (download)

external/libselinux/src/procattr.c | 2 1 + 1 - 0 !
system/core/include/cutils/properties.h | 1 0 + 1 - 0 !
system/core/libcutils/properties.c | 2 1 + 1 - 0 !
system/core/liblog/logd_write.c | 5 5 + 0 - 0 !
4 files changed, 7 insertions(+), 3 deletions(-)

 remove bionic specific calls
define shell command.patch | (download)

system/core/adb/services.c | 4 0 + 4 - 0 !
1 file changed, 4 deletions(-)

 we intend to run on linux system so the shell is always /bin/sh,
             for the host or the target.
fix implicit declaration function.patch | (download)

system/core/adb/adb.c | 1 1 + 0 - 0 !
system/core/fs_mgr/fs_mgr_fstab.c | 2 1 + 1 - 0 !
system/core/include/cutils/sockets.h | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 2 deletions(-)

 fix the implicit conversion warnings
adb_libssl_11.diff | (download)

system/core/adb/adb_auth_host.c | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 adb: make compatible with openssl 1.1
 OpenSSL version 1.1 brought some API changes which broke the build here,
 fix that by accessing rsa->n (and e) directly, using RSA_get0_key instead.
adb_libssl_bc.diff | (download)

system/core/adb/adb_auth_host.c | 13 13 + 0 - 0 !
1 file changed, 13 insertions(+)

 adb: backward compatibility with openssl < 1.1
fix big endian build.patch | (download)

system/core/adb/usb_linux_client.c | 11 9 + 2 - 0 !
1 file changed, 9 insertions(+), 2 deletions(-)

---