OSDN Git Service

android-x86/external-e2fsprogs.git
6 years agorelease-request-d1418208-3b0b-4ef9-a2f0-a8f8ac6c24e8-for-git_oc-mr1-release-4120176...
android-build-team Robot [Wed, 21 Jun 2017 07:37:19 +0000 (07:37 +0000)]
release-request-d1418208-3b0b-4ef9-a2f0-a8f8ac6c24e8-for-git_oc-mr1-release-4120176 snap-temp-L55000000076156472

Change-Id: I2d2ce869905eb7cbfb17f8e5a4202d3604d331a3

6 years agoMerge changes from topic 'e2fs_fsmgr'
TreeHugger Robot [Wed, 21 Jun 2017 04:36:48 +0000 (04:36 +0000)]
Merge changes from topic 'e2fs_fsmgr'

* changes:
  e2fsdroid: use libselinux function to read file context on device
  Require mke2fs.conf when building mke2fs

6 years agoe2fsdroid: use libselinux function to read file context on device
Jin Qian [Tue, 20 Jun 2017 20:49:53 +0000 (13:49 -0700)]
e2fsdroid: use libselinux function to read file context on device

When e2fsdroid runs on device, location of selinux file contexts
should be determined by libselinux instead of using arbitrary paths.

Bug: 35219933
Change-Id: I413b198422eddb212599498b532ba2c4d8bb36c6

6 years agorelease-request-f3bcfb00-8080-4b95-b497-7457f544b4f6-for-git_oc-mr1-release-4116097...
android-build-team Robot [Tue, 20 Jun 2017 07:30:28 +0000 (07:30 +0000)]
release-request-f3bcfb00-8080-4b95-b497-7457f544b4f6-for-git_oc-mr1-release-4116097 snap-temp-L44400000075746008

Change-Id: Ibf9448e0b37b28c8d7f69d46fcbd10e172f4eb6f

6 years agoMerge "Revert "Mark e2fs libs vendor_available."" am: c91060c119 am: 877324d98b am...
Martijn Coenen [Tue, 20 Jun 2017 02:22:40 +0000 (02:22 +0000)]
Merge "Revert "Mark e2fs libs vendor_available."" am: c91060c119 am: 877324d98b am: 97b32319c0
am: 4df6170ff2

Change-Id: Ib16d92d1baa03e2e350e1e1dc6a6539fe839f8cf

6 years agoMerge "Revert "Mark e2fs libs vendor_available."" am: c91060c119 am: 877324d98b
Martijn Coenen [Tue, 20 Jun 2017 02:19:39 +0000 (02:19 +0000)]
Merge "Revert "Mark e2fs libs vendor_available."" am: c91060c119 am: 877324d98b
am: 97b32319c0

Change-Id: I6e464baf2dec2c360f7195d53bb389da3fd9a963

6 years agoMerge "Revert "Mark e2fs libs vendor_available."" am: c91060c119
Martijn Coenen [Tue, 20 Jun 2017 02:16:39 +0000 (02:16 +0000)]
Merge "Revert "Mark e2fs libs vendor_available."" am: c91060c119
am: 877324d98b

Change-Id: I873ac41fd7e2b964b8cdf5cab83acbe377df5681

6 years agoMerge "Revert "Mark e2fs libs vendor_available.""
Martijn Coenen [Tue, 20 Jun 2017 02:15:09 +0000 (02:15 +0000)]
Merge "Revert "Mark e2fs libs vendor_available.""
am: c91060c119

Change-Id: I887d4f8f9f476373d07f4846fb3945c00aa076e6

6 years agoMerge "Revert "Mark e2fs libs vendor_available.""
Treehugger Robot [Tue, 20 Jun 2017 02:12:12 +0000 (02:12 +0000)]
Merge "Revert "Mark e2fs libs vendor_available.""

6 years agoRevert "Mark e2fs libs vendor_available." am: 43eff9d5fe
Martijn Coenen [Tue, 20 Jun 2017 00:18:32 +0000 (00:18 +0000)]
Revert "Mark e2fs libs vendor_available." am: 43eff9d5fe
am: 88a3b953a2

Change-Id: I23d5e408b5f102e23673ff8448753682b38c8ebf

6 years agoRevert "Mark e2fs libs vendor_available."
Martijn Coenen [Tue, 20 Jun 2017 00:12:14 +0000 (00:12 +0000)]
Revert "Mark e2fs libs vendor_available."
am: 43eff9d5fe

Change-Id: I9da9eec6b55aa00fe3d9fa84beffa09db9675127

6 years agoRevert "Mark e2fs libs vendor_available."
Martijn Coenen [Wed, 7 Jun 2017 22:02:40 +0000 (15:02 -0700)]
Revert "Mark e2fs libs vendor_available."

Test: builds
Bug: 38244611
This reverts commit 611bef8fda6b295e20fa1a6649ddd427160b3491.

Merged-In: I9e4e31805323ca682b999ed7c2fc4aeed1ea58a0
Change-Id: I00bcba565f3b8a67cac1d82ade7e5fa474613c0b

6 years agoRequire mke2fs.conf when building mke2fs
Jin Qian [Wed, 7 Jun 2017 19:39:18 +0000 (12:39 -0700)]
Require mke2fs.conf when building mke2fs

make sure mke2fs.conf is copied to /etc so that mke2fs can find it
when running on device.

Bug: 35219933
Change-Id: I400cd21ea3b643469e89bb9bb6cd1536a090598a

6 years agobuild mke2fs and e2fsdroid as static executables for recovery mode
Jin Qian [Fri, 9 Jun 2017 19:37:27 +0000 (12:37 -0700)]
build mke2fs and e2fsdroid as static executables for recovery mode

Bug: 35219933
Change-Id: I84f105cafc57c513d83d9e4d26e9e67ef805e33e

6 years agoRevert "Mark e2fs libs vendor_available."
Martijn Coenen [Thu, 8 Jun 2017 00:18:44 +0000 (17:18 -0700)]
Revert "Mark e2fs libs vendor_available."

This reverts commit 611bef8fda6b295e20fa1a6649ddd427160b3491.

Test: mma -j32

6 years agorelease-request-80d7cd88-53c4-4e65-952a-f34bc86a0841-for-git_oc-mr1-release-4050000...
android-build-team Robot [Sun, 28 May 2017 07:38:27 +0000 (07:38 +0000)]
release-request-80d7cd88-53c4-4e65-952a-f34bc86a0841-for-git_oc-mr1-release-4050000 snap-temp-L22200000068540971

Change-Id: Id10fb1d6ec35431408cfedae3e19c8ea1cfe38a6

6 years agoMerge "Mark e2fs libs vendor_available." am: e653ff4eaf am: 88cef96f45 am: 1d79e6fd74
Jayant Chowdhary [Thu, 25 May 2017 17:37:16 +0000 (17:37 +0000)]
Merge "Mark e2fs libs vendor_available." am: e653ff4eaf am: 88cef96f45 am: 1d79e6fd74
am: 5e3717a438

Change-Id: Ic055fa473bb01c0c6ce59b0931b19c9bc57700c1

6 years agoMerge "Mark e2fs libs vendor_available." am: e653ff4eaf am: 88cef96f45
Jayant Chowdhary [Thu, 25 May 2017 17:28:17 +0000 (17:28 +0000)]
Merge "Mark e2fs libs vendor_available." am: e653ff4eaf am: 88cef96f45
am: 1d79e6fd74

Change-Id: I8cfb004b3a0bbac80af26d8dcac6e2801b1bd709

6 years agoMerge "Mark e2fs libs vendor_available." am: e653ff4eaf
Jayant Chowdhary [Thu, 25 May 2017 17:22:44 +0000 (17:22 +0000)]
Merge "Mark e2fs libs vendor_available." am: e653ff4eaf
am: 88cef96f45

Change-Id: Iecd2b721cbe30f2a756ca8d3a98cfde7a55ac222

6 years agoMerge "Mark e2fs libs vendor_available."
Jayant Chowdhary [Thu, 25 May 2017 17:16:51 +0000 (17:16 +0000)]
Merge "Mark e2fs libs vendor_available."
am: e653ff4eaf

Change-Id: I3c679d7306e5709ca7b72ee4c5ecb68f17977cd2

6 years agoMerge "Mark e2fs libs vendor_available."
Jayant Chowdhary [Thu, 25 May 2017 17:08:38 +0000 (17:08 +0000)]
Merge "Mark e2fs libs vendor_available."

6 years agoMark e2fs libs vendor_available.
Jayant Chowdhary [Wed, 17 May 2017 20:49:26 +0000 (13:49 -0700)]
Mark e2fs libs vendor_available.

libext2_blkid, libext2_com_err, libext2_e2p, libext2_uuid are libraries which
belong to vndk-cap. Mark them vendor_available to enable vndk abi stability
checks on them.

Details: https://android-review.googlesource.com/368372

Test: mm -j64

Bug: 38244611

Change-Id: I1931063b88b845a9a9d06188555c34f1fbc3e369

6 years agorelease-request-e81235f1-b2b4-4de1-b974-255760176f06-for-git_oc-mr1-release-4040405...
android-build-team Robot [Wed, 24 May 2017 20:01:56 +0000 (20:01 +0000)]
release-request-e81235f1-b2b4-4de1-b974-255760176f06-for-git_oc-mr1-release-4040405 snap-temp-L68200000067456736

Change-Id: Iec550e1952c48c580131d3c24a0c70df76750af1

6 years agoMerge "Define HAVE_SYS_SYSMACROS_H for Android." am: 9b9a786601 am: 656008e0d4 am...
Elliott Hughes [Wed, 24 May 2017 00:35:47 +0000 (00:35 +0000)]
Merge "Define HAVE_SYS_SYSMACROS_H for Android." am: 9b9a786601 am: 656008e0d4 am: 4f8e794825
am: e58dc46380

Change-Id: I08d292ece8442f05749adce9b765fe2a1853ac7e

6 years agoMerge "Define HAVE_SYS_SYSMACROS_H for Android." am: 9b9a786601 am: 656008e0d4
Elliott Hughes [Wed, 24 May 2017 00:33:47 +0000 (00:33 +0000)]
Merge "Define HAVE_SYS_SYSMACROS_H for Android." am: 9b9a786601 am: 656008e0d4
am: 4f8e794825

Change-Id: I789466536d74d319b31549baafae0e06c798731e

6 years agoMerge "Define HAVE_SYS_SYSMACROS_H for Android." am: 9b9a786601
Elliott Hughes [Wed, 24 May 2017 00:30:46 +0000 (00:30 +0000)]
Merge "Define HAVE_SYS_SYSMACROS_H for Android." am: 9b9a786601
am: 656008e0d4

Change-Id: I9a3993b3ac793479410132d0e3bd17d14804248f

6 years agoMerge "Define HAVE_SYS_SYSMACROS_H for Android."
Elliott Hughes [Wed, 24 May 2017 00:28:47 +0000 (00:28 +0000)]
Merge "Define HAVE_SYS_SYSMACROS_H for Android."
am: 9b9a786601

Change-Id: If88a981783f2e1ce7a6714a19738a585dafda5b6

6 years agoMerge "Define HAVE_SYS_SYSMACROS_H for Android."
Treehugger Robot [Wed, 24 May 2017 00:23:16 +0000 (00:23 +0000)]
Merge "Define HAVE_SYS_SYSMACROS_H for Android."

6 years agorelease-request-91ef8626-1af7-4595-b2bd-2d85ee97e99f-for-git_oc-mr1-release-4029936...
android-build-team Robot [Sun, 21 May 2017 07:38:08 +0000 (07:38 +0000)]
release-request-91ef8626-1af7-4595-b2bd-2d85ee97e99f-for-git_oc-mr1-release-4029936 snap-temp-L27200000066301195

Change-Id: I573d19facf828ef22fe2985da833338b36b78286

7 years agoMerge "include sys/sysmacros.h as needed" am: 105f5ecfd8 am: 9e0e531734 am: 01b3b9a574
Elliott Hughes [Fri, 19 May 2017 19:56:36 +0000 (19:56 +0000)]
Merge "include sys/sysmacros.h as needed" am: 105f5ecfd8 am: 9e0e531734 am: 01b3b9a574
am: 14a94052fd

Change-Id: I05286de7d243823d9cb7455ce98d3bd5b465a1d9

7 years agoMerge "include sys/sysmacros.h as needed" am: 105f5ecfd8 am: 9e0e531734
Elliott Hughes [Fri, 19 May 2017 19:54:36 +0000 (19:54 +0000)]
Merge "include sys/sysmacros.h as needed" am: 105f5ecfd8 am: 9e0e531734
am: 01b3b9a574

Change-Id: I0908520a62978609982d096ba0b30a74b589ad18

7 years agoMerge "include sys/sysmacros.h as needed" am: 105f5ecfd8
Elliott Hughes [Fri, 19 May 2017 19:53:06 +0000 (19:53 +0000)]
Merge "include sys/sysmacros.h as needed" am: 105f5ecfd8
am: 9e0e531734

Change-Id: I948773bb1b8c30342f089430b0a9f42c6a002eb0

7 years agoMerge "include sys/sysmacros.h as needed"
Elliott Hughes [Fri, 19 May 2017 19:51:12 +0000 (19:51 +0000)]
Merge "include sys/sysmacros.h as needed"
am: 105f5ecfd8

Change-Id: I6e81118e4cb3c6a34752567d6c036c90820c884d

7 years agoDefine HAVE_SYS_SYSMACROS_H for Android.
Elliott Hughes [Fri, 19 May 2017 19:49:54 +0000 (12:49 -0700)]
Define HAVE_SYS_SYSMACROS_H for Android.

Also remove a duplicate copy of misc/create_inode.c that isn't upstream.

Bug: https://github.com/android-ndk/ndk/issues/398
Test: builds
Change-Id: Ibc475c82aa21f063673cb68bcf6e41ad9d821cd3

7 years agoMerge "include sys/sysmacros.h as needed"
Elliott Hughes [Fri, 19 May 2017 19:47:22 +0000 (19:47 +0000)]
Merge "include sys/sysmacros.h as needed"

7 years agoinclude sys/sysmacros.h as needed
Mike Frysinger [Fri, 19 May 2017 17:25:59 +0000 (13:25 -0400)]
include sys/sysmacros.h as needed

The minor/major/makedev macros are not entirely standard.  glibc has had
the definitions in sys/sysmacros.h since the start, and wants to move away
from always defining them implicitly via sys/types.h (as this pollutes the
namespace in violation of POSIX).  Other C libraries have already dropped
them.  Since the configure script already checks for this header, use that
to pull in the header in files that use these macros.

Change-Id: Ib7f441fe168c2ca72a274978fea422a0c3010e4f
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
7 years agorelease-request-323db86e-b638-4d24-8eb1-d2e3bf4a9d1a-for-git_oc-mr1-release-4017779...
android-build-team Robot [Wed, 17 May 2017 14:27:38 +0000 (14:27 +0000)]
release-request-323db86e-b638-4d24-8eb1-d2e3bf4a9d1a-for-git_oc-mr1-release-4017779 snap-temp-L47900000064949209

Change-Id: Id03bd68c6da037b0beafc9ce4394fa73d18efaf6

7 years agoMerge "e2fsdroid: skip setting timestamp if src_dir is null" am: 930bc06448 am: 0b69b...
Jin Qian [Wed, 3 May 2017 23:56:29 +0000 (23:56 +0000)]
Merge "e2fsdroid: skip setting timestamp if src_dir is null" am: 930bc06448 am: 0b69bcaa40 am: d984ad62fc
am: 2e3b787c06

Change-Id: I29891f1fb080dde06d754a8a5a5e8a656f367bac

7 years agoMerge "e2fsdroid: skip setting timestamp if src_dir is null" am: 930bc06448 am: 0b69b...
Jin Qian [Wed, 3 May 2017 23:41:06 +0000 (23:41 +0000)]
Merge "e2fsdroid: skip setting timestamp if src_dir is null" am: 930bc06448 am: 0b69bcaa40
am: d984ad62fc

Change-Id: I4859ca06cbb6930a77d0d4e5f8bd6186116aa628

7 years agoMerge "e2fsdroid: skip setting timestamp if src_dir is null" am: 930bc06448
Jin Qian [Wed, 3 May 2017 23:38:36 +0000 (23:38 +0000)]
Merge "e2fsdroid: skip setting timestamp if src_dir is null" am: 930bc06448
am: 0b69bcaa40

Change-Id: I80400e2b51b0b1f849cf72cb1fb6cfa83fec9ba6

7 years agoMerge "e2fsdroid: skip setting timestamp if src_dir is null"
Jin Qian [Wed, 3 May 2017 23:36:05 +0000 (23:36 +0000)]
Merge "e2fsdroid: skip setting timestamp if src_dir is null"
am: 930bc06448

Change-Id: Ied1e99d9729711e5b27ee690c2fff68243050fa7

7 years agoMerge "e2fsdroid: skip setting timestamp if src_dir is null"
Treehugger Robot [Wed, 3 May 2017 23:26:24 +0000 (23:26 +0000)]
Merge "e2fsdroid: skip setting timestamp if src_dir is null"

7 years agoe2fsdroid: skip setting timestamp if src_dir is null
Jin Qian [Tue, 2 May 2017 20:20:27 +0000 (13:20 -0700)]
e2fsdroid: skip setting timestamp if src_dir is null

fs_mgr formats /data without src_dir.

Test: zero-out first 4096 bytes on /data partition and reboot
Bug: 35219933
Change-Id: I12f1eb1002fd96d18fc7a9ae5a529f673eb57273

7 years agoMerge "e2fsdroid: support multiple selinux file contexts" am: 9b2f003f09 am: 42c649de...
Jin Qian [Wed, 3 May 2017 01:53:00 +0000 (01:53 +0000)]
Merge "e2fsdroid: support multiple selinux file contexts" am: 9b2f003f09 am: 42c649def2 am: f1130df245
am: 2d54abec6f

Change-Id: Idf9b9356482c9185f79a9b4d284c37694b6e384c

7 years agoMerge "e2fsdroid: support multiple selinux file contexts" am: 9b2f003f09 am: 42c649def2
Jin Qian [Wed, 3 May 2017 01:47:28 +0000 (01:47 +0000)]
Merge "e2fsdroid: support multiple selinux file contexts" am: 9b2f003f09 am: 42c649def2
am: f1130df245

Change-Id: I77ec6074e86bd23692571365aafbf8dd9b817e3c

7 years agoMerge "e2fsdroid: support multiple selinux file contexts" am: 9b2f003f09
Jin Qian [Wed, 3 May 2017 01:41:40 +0000 (01:41 +0000)]
Merge "e2fsdroid: support multiple selinux file contexts" am: 9b2f003f09
am: 42c649def2

Change-Id: Ia276f1f7f87037fb4c61b53ba60cb5151fd1cc1d

7 years agoMerge "e2fsdroid: support multiple selinux file contexts"
Jin Qian [Wed, 3 May 2017 01:38:40 +0000 (01:38 +0000)]
Merge "e2fsdroid: support multiple selinux file contexts"
am: 9b2f003f09

Change-Id: Ic6344d8cc308a1ea35b095e5275c394133cd99a4

7 years agoMerge "e2fsdroid: support multiple selinux file contexts"
Treehugger Robot [Wed, 3 May 2017 01:31:26 +0000 (01:31 +0000)]
Merge "e2fsdroid: support multiple selinux file contexts"

7 years agoe2fsdroid: support multiple selinux file contexts
Jin Qian [Fri, 21 Apr 2017 23:29:07 +0000 (16:29 -0700)]
e2fsdroid: support multiple selinux file contexts

Support passing a string of multiple selinux file contexts separated by
comma with -S option.

E.g. e2fsdroid -S ctx1,ctx2 output

Test: make systemimage
Bug: 35219933
Change-Id: Icc0f9d5d6180b5db7d68f7de45a1128f5a20be89

7 years agoe2fsck: update quota when optimizing the extent tree am: 16ffbacc8a
Theodore Ts'o [Thu, 27 Apr 2017 02:16:28 +0000 (02:16 +0000)]
e2fsck: update quota when optimizing the extent tree am: 16ffbacc8a
am: 65d65487af

Change-Id: I864e45ca5cb21040c6371ee1ae7fbe6b89196ffb

7 years agoe2fsck: update quota when optimizing the extent tree
Theodore Ts'o [Thu, 27 Apr 2017 02:14:28 +0000 (02:14 +0000)]
e2fsck: update quota when optimizing the extent tree
am: 16ffbacc8a

Change-Id: I85cc193d75eb0635372491126d6a2318c1490120

7 years agoMerge "e2fsck: update quota when optimizing the extent tree" am: 2ed20fdc91 am: 93853...
Keun-young Park [Thu, 27 Apr 2017 00:17:25 +0000 (00:17 +0000)]
Merge "e2fsck: update quota when optimizing the extent tree" am: 2ed20fdc91 am: 93853df15e am: ebe17556a6
am: d288dded7f

Change-Id: I4f8e338f59b40f4070f9269c2b90609c07d1f78d

7 years agoe2fsck: update quota when optimizing the extent tree
Theodore Ts'o [Sat, 15 Apr 2017 04:29:46 +0000 (00:29 -0400)]
e2fsck: update quota when optimizing the extent tree

If quota is enabled, optimizing the extent tree wouldn't update the
in-memory quota statistics, so that a subsequent e2fsck run would show
that the quota usage statistics on disk were incorrect.

Google-Bug-Id: 36391645

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
(cherry picked from commit 96c8e668f7c780dccbc12b7ecc4cac9a5db2bc97)

Change-Id: I429a0ac64b1cc9e5a288f61ba3942e391e575013

7 years agoMerge "e2fsck: update quota when optimizing the extent tree" am: 2ed20fdc91 am: 93853...
Keun-young Park [Wed, 26 Apr 2017 23:52:02 +0000 (23:52 +0000)]
Merge "e2fsck: update quota when optimizing the extent tree" am: 2ed20fdc91 am: 93853df15e
am: ebe17556a6

Change-Id: Idbaf9027d343b55c5d39c9e76def82b6b51c2a4f

7 years agoMerge "e2fsck: update quota when optimizing the extent tree" am: 2ed20fdc91
Keun-young Park [Wed, 26 Apr 2017 23:50:01 +0000 (23:50 +0000)]
Merge "e2fsck: update quota when optimizing the extent tree" am: 2ed20fdc91
am: 93853df15e

Change-Id: Iae8a0cd530b63f2865c7a9bc50959dbd695c29f2

7 years agoMerge "e2fsck: update quota when optimizing the extent tree"
Keun-young Park [Wed, 26 Apr 2017 23:46:33 +0000 (23:46 +0000)]
Merge "e2fsck: update quota when optimizing the extent tree"
am: 2ed20fdc91

Change-Id: I8cc31a542e36907d0b5404e3c9975e4203df164e

7 years agoMerge "e2fsck: update quota when optimizing the extent tree"
Keun-young Park [Wed, 26 Apr 2017 23:41:06 +0000 (23:41 +0000)]
Merge "e2fsck: update quota when optimizing the extent tree"

7 years agoe2fsck: update quota when optimizing the extent tree
Theodore Ts'o [Sat, 15 Apr 2017 04:29:46 +0000 (00:29 -0400)]
e2fsck: update quota when optimizing the extent tree

If quota is enabled, optimizing the extent tree wouldn't update the
in-memory quota statistics, so that a subsequent e2fsck run would show
that the quota usage statistics on disk were incorrect.

Google-Bug-Id: 36391645

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
7 years agoMerge "libblkid: fix buffer overflow scanning partition name" am: 0474c47c22 am:...
Jin Qian [Mon, 24 Apr 2017 19:42:06 +0000 (19:42 +0000)]
Merge "libblkid: fix buffer overflow scanning partition name" am: 0474c47c22 am: ff35b76641 am: 82452d8df8
am: ee4bd9c793

Change-Id: I4833d1d4efc4e8783c87a1fc632cdd89038ce59c

7 years agoMerge "libblkid: fix buffer overflow scanning partition name" am: 0474c47c22 am:...
Jin Qian [Mon, 24 Apr 2017 19:03:50 +0000 (19:03 +0000)]
Merge "libblkid: fix buffer overflow scanning partition name" am: 0474c47c22 am: ff35b76641
am: 82452d8df8

Change-Id: I164931b642abbc79725e780cbd400a6131c4c8cd

7 years agoMerge "libblkid: fix buffer overflow scanning partition name" am: 0474c47c22
Jin Qian [Mon, 24 Apr 2017 18:51:19 +0000 (18:51 +0000)]
Merge "libblkid: fix buffer overflow scanning partition name" am: 0474c47c22
am: ff35b76641

Change-Id: I16fc2fe2ad37cec0fb7c20376d6bc285c0020eff

7 years agoMerge "libblkid: fix buffer overflow scanning partition name"
Jin Qian [Mon, 24 Apr 2017 18:41:46 +0000 (18:41 +0000)]
Merge "libblkid: fix buffer overflow scanning partition name"
am: 0474c47c22

Change-Id: I6cb23da1861c8358fe5ff2b3e2334e4bf4218664

7 years agoMerge "libblkid: fix buffer overflow scanning partition name"
Treehugger Robot [Mon, 24 Apr 2017 17:51:34 +0000 (17:51 +0000)]
Merge "libblkid: fix buffer overflow scanning partition name"

7 years agolibblkid: fix buffer overflow scanning partition name
Jin Qian [Mon, 17 Apr 2017 23:13:20 +0000 (16:13 -0700)]
libblkid: fix buffer overflow scanning partition name

If "line" is carefully crafted, sscanf will write 1 byte over ptname.

Bug: 36103037
Change-Id: Ia19e032d7c65edc27373ebccc0a5569f0fa31161

7 years agoRevert "Add "libc" to soong static_executable targets."
Jeff Gaston [Thu, 16 Mar 2017 22:41:13 +0000 (15:41 -0700)]
Revert "Add "libc" to soong static_executable targets."

This reverts commit b799ad178fa18c2925a283206496d3f5d6e87f35.
It's no longer needed after https://android-review.googlesource.com/c/329298/

Bug: 34722432
Test: lunch aosp_arm-eng && mmma external/e2fsprogs
Change-Id: I4115fe89ef7751364053223be24e7682e66b6b67

7 years agoMerge "e2fsdroid: don't print empty files in block_list.c:end_new_file" am: 43ff4cf0d...
Ben Fennema [Tue, 14 Mar 2017 21:21:18 +0000 (21:21 +0000)]
Merge "e2fsdroid: don't print empty files in block_list.c:end_new_file" am: 43ff4cf0d8 am: dd62d63cd1
am: 1d8c36e7ae

Change-Id: Iea5425e6ba48a2ee893348ccdc40d099b3cd1ef8

7 years agoMerge "e2fsdroid: don't print empty files in block_list.c:end_new_file" am: 43ff4cf0d8
Ben Fennema [Tue, 14 Mar 2017 21:15:47 +0000 (21:15 +0000)]
Merge "e2fsdroid: don't print empty files in block_list.c:end_new_file" am: 43ff4cf0d8
am: dd62d63cd1

Change-Id: I44a9335693be5300560c6f02f71893633e11d8b3

7 years agoMerge "e2fsdroid: don't print empty files in block_list.c:end_new_file"
Ben Fennema [Tue, 14 Mar 2017 21:10:17 +0000 (21:10 +0000)]
Merge "e2fsdroid: don't print empty files in block_list.c:end_new_file"
am: 43ff4cf0d8

Change-Id: Id89e488be9554baf51aa4144dcd911b7fff4d32f

7 years agoMerge "e2fsdroid: don't print empty files in block_list.c:end_new_file"
Ben Fennema [Tue, 14 Mar 2017 21:04:51 +0000 (21:04 +0000)]
Merge "e2fsdroid: don't print empty files in block_list.c:end_new_file"

7 years agoe2fsdroid: don't print empty files in block_list.c:end_new_file
Ben Fennema [Thu, 9 Mar 2017 06:44:17 +0000 (22:44 -0800)]
e2fsdroid: don't print empty files in block_list.c:end_new_file

Change-Id: I4b38841c9c36a8faaa9f65bc7b61c7abdddab094
Signed-off-by: Ben Fennema <fennema@google.com>
7 years agoMerge "blkid: add support to recognize exfat to blkid." am: 070a4b0d99 am: bd16b7be12
liminghao [Thu, 2 Mar 2017 17:50:54 +0000 (17:50 +0000)]
Merge "blkid: add support to recognize exfat to blkid." am: 070a4b0d99 am: bd16b7be12
am: 6648b16d19

Change-Id: Ib7fc6e989a67bbca2261fa374887ec07946dbb98

7 years agoMerge "blkid: add support to recognize exfat to blkid." am: 070a4b0d99
liminghao [Thu, 2 Mar 2017 17:48:24 +0000 (17:48 +0000)]
Merge "blkid: add support to recognize exfat to blkid." am: 070a4b0d99
am: bd16b7be12

Change-Id: I4f352e2deb6dc927a5dcf914e4ab8fe716dd91a4

7 years agoMerge "blkid: add support to recognize exfat to blkid."
liminghao [Thu, 2 Mar 2017 17:46:55 +0000 (17:46 +0000)]
Merge "blkid: add support to recognize exfat to blkid."
am: 070a4b0d99

Change-Id: I20a4a1f00af496ffc878a43e9dba60d24548ab09

7 years agoMerge "blkid: add support to recognize exfat to blkid."
Treehugger Robot [Thu, 2 Mar 2017 17:42:37 +0000 (17:42 +0000)]
Merge "blkid: add support to recognize exfat to blkid."

7 years agoblkid: add support to recognize exfat to blkid.
liminghao [Wed, 1 Mar 2017 09:54:42 +0000 (17:54 +0800)]
blkid: add support to recognize exfat to blkid.

we can now identify exfat filesystem.

Change-Id: I870e59a14b6bcd8b45562cdd02c2502d60a9eeff
Signed-off-by: liminghao <liminghao@xiaomi.com>
7 years agoMerge "e2fsck: exit with exit status 0 if no errors were fixed" am: 82f3d0584c am...
Theodore Ts'o [Tue, 28 Feb 2017 01:24:19 +0000 (01:24 +0000)]
Merge "e2fsck: exit with exit status 0 if no errors were fixed" am: 82f3d0584c am: ba0844f8c7
am: a9f981de18

Change-Id: I888600261f4f12cadc56255101f6de5c3d495f29

7 years agoMerge "e2fsck: exit with exit status 0 if no errors were fixed" am: 82f3d0584c
Theodore Ts'o [Tue, 28 Feb 2017 01:21:49 +0000 (01:21 +0000)]
Merge "e2fsck: exit with exit status 0 if no errors were fixed" am: 82f3d0584c
am: ba0844f8c7

Change-Id: I4f4faf0007fa8a59e447013d0d2c2323f5713d0d

7 years agoMerge "e2fsck: exit with exit status 0 if no errors were fixed"
Theodore Ts'o [Tue, 28 Feb 2017 01:19:50 +0000 (01:19 +0000)]
Merge "e2fsck: exit with exit status 0 if no errors were fixed"
am: 82f3d0584c

Change-Id: I2d5c70430675a0338fc219fc8f69cdbdac335e82

7 years agoMerge "e2fsck: exit with exit status 0 if no errors were fixed"
Treehugger Robot [Tue, 28 Feb 2017 01:16:00 +0000 (01:16 +0000)]
Merge "e2fsck: exit with exit status 0 if no errors were fixed"

7 years agoe2fsck: exit with exit status 0 if no errors were fixed
Theodore Ts'o [Fri, 17 Feb 2017 03:02:35 +0000 (22:02 -0500)]
e2fsck: exit with exit status 0 if no errors were fixed

Previously, e2fsck would exit with a status code of 1 even though the
only changes that it made to the file system were various
optimziations and not fixing file system corruption.  Since the man
page states that an exit status of 1 means "file system errors
corrupted", fix e2fsck to return an exit status of 0.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
7 years agoMerge "Disable macro redefined warnings." am: 0a9866d60b am: 9bbfd91413
Christopher Ferris [Mon, 27 Feb 2017 20:27:45 +0000 (20:27 +0000)]
Merge "Disable macro redefined warnings." am: 0a9866d60b am: 9bbfd91413
am: a091d1cfbf

Change-Id: I2077cce88a448ed86bb85b39cba767f930a287e3

7 years agoMerge "Disable macro redefined warnings." am: 0a9866d60b
Christopher Ferris [Mon, 27 Feb 2017 20:23:42 +0000 (20:23 +0000)]
Merge "Disable macro redefined warnings." am: 0a9866d60b
am: 9bbfd91413

Change-Id: I99cf61b4953f53f349518b64ad1c84d3e3de7037

7 years agoMerge "Disable macro redefined warnings."
Christopher Ferris [Mon, 27 Feb 2017 20:16:59 +0000 (20:16 +0000)]
Merge "Disable macro redefined warnings."
am: 0a9866d60b

Change-Id: Ieca574c841b5d73b991cd119878dcbf1f73781eb

7 years agoMerge "Disable macro redefined warnings."
Christopher Ferris [Mon, 27 Feb 2017 20:09:54 +0000 (20:09 +0000)]
Merge "Disable macro redefined warnings."

7 years agoDisable macro redefined warnings.
Christopher Ferris [Thu, 23 Feb 2017 23:36:54 +0000 (15:36 -0800)]
Disable macro redefined warnings.

The new kernel headers do:

  #define __bitwise __bitwise__

However, the code redefines __bitwise without undef'ing it first.

This is a temporary fix, b/35721782 filed to fix this.

Change-Id: I2c6a64146966f1737835f012d24ccc844570d02b
Test: Builds without warningers/errors.

7 years agoMerge "Add "libc" to soong static_executable targets." am: 98f63cd9de am: ea7db4e63a...
Alex Deymo [Thu, 26 Jan 2017 02:43:40 +0000 (02:43 +0000)]
Merge "Add "libc" to soong static_executable targets." am: 98f63cd9de am: ea7db4e63a am: 668ec9e6b6
am: a0ad535dcd

Change-Id: Ifb15f1cf46e68219346dcd7a0ed909b6a8b2473c

7 years agoMerge "Add "libc" to soong static_executable targets." am: 98f63cd9de am: ea7db4e63a
Alex Deymo [Thu, 26 Jan 2017 02:40:39 +0000 (02:40 +0000)]
Merge "Add "libc" to soong static_executable targets." am: 98f63cd9de am: ea7db4e63a
am: 668ec9e6b6

Change-Id: I29edac9d49075bae0cfa8d335d8694e0d9751c0d

7 years agoMerge "Add "libc" to soong static_executable targets." am: 98f63cd9de
Alex Deymo [Thu, 26 Jan 2017 02:38:10 +0000 (02:38 +0000)]
Merge "Add "libc" to soong static_executable targets." am: 98f63cd9de
am: ea7db4e63a

Change-Id: Ia3107fb2fd6300980f0e451a98caaddb5087811e

7 years agoMerge "Add "libc" to soong static_executable targets."
Alex Deymo [Thu, 26 Jan 2017 02:35:39 +0000 (02:35 +0000)]
Merge "Add "libc" to soong static_executable targets."
am: 98f63cd9de

Change-Id: I7455d4552d82cc80d87edc5383ca34bce77be2f9

7 years agoMerge "Add "libc" to soong static_executable targets."
Alex Deymo [Thu, 26 Jan 2017 02:30:25 +0000 (02:30 +0000)]
Merge "Add "libc" to soong static_executable targets."

7 years agoAdd "libc" to soong static_executable targets.
Alex Deymo [Thu, 26 Jan 2017 01:47:50 +0000 (17:47 -0800)]
Add "libc" to soong static_executable targets.

When building a static exectuable for "arm", the libgcc is automatically
included by the build system *after* libc, but libgcc has some symbol
dependencies on "libc", like for example the "raise" symbol.

libgcc, libatomic and libcompiler_rt-extras are passed in a group
(enclosed by --start-group and --end-group) so they all are included
regardless of the order inside that group. Nevertheless libc only
appears outside this group and before them, so the undefined references
from libgcc are not resolved.

This patch adds "libc" as a explicit static_libs dependency to
static_executable targets forcing it to be included in the group.

Bug: 34220783
Test: mmma external/e2fsprogs
Change-Id: Ia18db10da0f18494600d7e0c870291902d71b287

7 years agoMerge "Convert e2fsprogs targets to soong." am: 6091a50d7a am: 19f945ac14 am: 006bf071cd
Alex Deymo [Thu, 26 Jan 2017 00:01:45 +0000 (00:01 +0000)]
Merge "Convert e2fsprogs targets to soong." am: 6091a50d7a am: 19f945ac14 am: 006bf071cd
am: 0c0ecab090

Change-Id: I6e3cbfe0166194d57e88152939070b5b73d93d87

7 years agoMerge "Convert e2fsprogs targets to soong." am: 6091a50d7a am: 19f945ac14
Alex Deymo [Wed, 25 Jan 2017 23:59:10 +0000 (23:59 +0000)]
Merge "Convert e2fsprogs targets to soong." am: 6091a50d7a am: 19f945ac14
am: 006bf071cd

Change-Id: I2d18a61cf9b2b0439f98350668fe309d94809dce

7 years agoMerge "Convert e2fsprogs targets to soong." am: 6091a50d7a
Alex Deymo [Wed, 25 Jan 2017 23:56:06 +0000 (23:56 +0000)]
Merge "Convert e2fsprogs targets to soong." am: 6091a50d7a
am: 19f945ac14

Change-Id: Ic9e7214abd359c24f33e273295584d174c701d0a

7 years agoMerge "Convert e2fsprogs targets to soong."
Alex Deymo [Wed, 25 Jan 2017 23:53:09 +0000 (23:53 +0000)]
Merge "Convert e2fsprogs targets to soong."
am: 6091a50d7a

Change-Id: Iacf1c8b33da19ed46009f60416cf65af18736296

7 years agoMerge "Convert e2fsprogs targets to soong."
Alex Deymo [Wed, 25 Jan 2017 23:48:42 +0000 (23:48 +0000)]
Merge "Convert e2fsprogs targets to soong."

7 years agoConvert e2fsprogs targets to soong.
Alex Deymo [Thu, 12 Jan 2017 17:48:04 +0000 (09:48 -0800)]
Convert e2fsprogs targets to soong.

This patch also removes all the "-host" and "_static" suffix from all
the libraries adding "unique_host_soname: true". This prevents
confusions with the host installed libraries.

A new "libext2_misc" library is introduced to export some files from
the misc/ directory to other binaries in this project.

Bug: 34220783
Test: mmma external/e2fsprogs

Change-Id: Ia1b689991346b11f8cb38f7c6ee356e666e01d6d

7 years agoMerge "HACK: android: exit(1) if selabel_lookup fails" am: 412c46afdf am: 6c826a6fc9...
Nick Kralevich [Thu, 19 Jan 2017 03:46:37 +0000 (03:46 +0000)]
Merge "HACK: android: exit(1) if selabel_lookup fails" am: 412c46afdf am: 6c826a6fc9 am: d775c7038b
am: d4bfd33a0e

Change-Id: Icc046814e68891473b4550a55c87fd4e9a11f26b

7 years agoMerge "HACK: android: exit(1) if selabel_lookup fails" am: 412c46afdf am: 6c826a6fc9
Nick Kralevich [Thu, 19 Jan 2017 03:44:08 +0000 (03:44 +0000)]
Merge "HACK: android: exit(1) if selabel_lookup fails" am: 412c46afdf am: 6c826a6fc9
am: d775c7038b

Change-Id: I3d1bc996c98cc328d439adc741a1623b7fa8841b

7 years agoMerge "HACK: android: exit(1) if selabel_lookup fails" am: 412c46afdf
Nick Kralevich [Thu, 19 Jan 2017 03:42:07 +0000 (03:42 +0000)]
Merge "HACK: android: exit(1) if selabel_lookup fails" am: 412c46afdf
am: 6c826a6fc9

Change-Id: I4abfb2ae25b498ede40399d6a5226b90f8f28687