OSDN Git Service

android-x86/external-e2fsprogs.git
6 years agoe2fsdroid: use libselinux function to read file context on device am: 2fff6fb036
Jin Qian [Thu, 6 Jul 2017 16:12:04 +0000 (16:12 +0000)]
e2fsdroid: use libselinux function to read file context on device am: 2fff6fb036
am: 3ac608fd1b  -s ours

Change-Id: Ia6535f6a8ba375bab3feea79342957e61503c677

6 years agoRequire mke2fs.conf when building mke2fs am: 778eaa84a0
Jin Qian [Thu, 6 Jul 2017 16:12:01 +0000 (16:12 +0000)]
Require mke2fs.conf when building mke2fs am: 778eaa84a0
am: 6243f2136f  -s ours

Change-Id: I13166000fc980e1925c7f61bf9358128fbd1229d

6 years agoe2fsdroid: use libselinux function to read file context on device
Jin Qian [Thu, 6 Jul 2017 16:06:07 +0000 (16:06 +0000)]
e2fsdroid: use libselinux function to read file context on device
am: 2fff6fb036

Change-Id: I2dd7351c28c20239e70796ce04eddf838587a08e

6 years agoRequire mke2fs.conf when building mke2fs
Jin Qian [Thu, 6 Jul 2017 16:06:02 +0000 (16:06 +0000)]
Require mke2fs.conf when building mke2fs
am: 778eaa84a0

Change-Id: I579087da2b2ce0f41ccb1581ade77b55cc23a039

6 years agoMerge "build mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2...
Jin Qian [Wed, 5 Jul 2017 22:47:29 +0000 (22:47 +0000)]
Merge "build mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2c5d" into oc-dr1-dev-plus-aosp
am: 1d718f1426  -s ours

Change-Id: I5733477e77b216072c1d38bea82578da7ecadcec

6 years agoMerge "build mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2...
Android Build Merger (Role) [Wed, 5 Jul 2017 22:46:57 +0000 (22:46 +0000)]
Merge "build mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2c5d am: 82f83c86fa  -s ours"

6 years agoMerge "build mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2...
Android Build Merger (Role) [Wed, 5 Jul 2017 22:46:51 +0000 (22:46 +0000)]
Merge "build mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2c5d am: 82f83c86fa  -s ours"

6 years agobuild mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2c5d
Jin Qian [Wed, 5 Jul 2017 22:45:43 +0000 (22:45 +0000)]
build mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2c5d
am: 82f83c86fa  -s ours

Change-Id: Iea72db3a67695ddb1b82b45c897e21190d974476

6 years agobuild mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2c5d
Jin Qian [Wed, 5 Jul 2017 22:45:37 +0000 (22:45 +0000)]
build mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2c5d
am: 82f83c86fa  -s ours

Change-Id: I81e457f78d718523fd83bb37e87f99c3b39e6d0e

6 years agoMerge "build mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2...
Android Build Merger (Role) [Wed, 5 Jul 2017 22:45:11 +0000 (22:45 +0000)]
Merge "build mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2c5d am: 6ba274bec2  -s ours"

6 years agobuild mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2c5d
Jin Qian [Wed, 5 Jul 2017 22:44:05 +0000 (22:44 +0000)]
build mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2c5d
am: 6ba274bec2  -s ours

Change-Id: I07609c788549125c39060f48c88738ccdddcecd6

6 years agobuild mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2c5d
Jin Qian [Wed, 5 Jul 2017 22:43:58 +0000 (22:43 +0000)]
build mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2c5d
am: 6ba274bec2  -s ours

Change-Id: I76200dfbff8b4a3d826636360ff22943298c2654

6 years agoMerge "build mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2...
Android Build Merger (Role) [Wed, 5 Jul 2017 22:41:55 +0000 (22:41 +0000)]
Merge "build mke2fs and e2fsdroid as static executables for recovery mode am: 05a31e2c5d" into oc-dr1-dev-plus-aosp

6 years agobuild mke2fs and e2fsdroid as static executables for recovery mode
Jin Qian [Wed, 5 Jul 2017 22:40:48 +0000 (22:40 +0000)]
build mke2fs and e2fsdroid as static executables for recovery mode
am: 05a31e2c5d

Change-Id: I25be6080b9d75f6205e69f14c87a98ab8bc11732

6 years agobuild mke2fs and e2fsdroid as static executables for recovery mode
Jin Qian [Wed, 5 Jul 2017 22:40:29 +0000 (22:40 +0000)]
build mke2fs and e2fsdroid as static executables for recovery mode
am: 05a31e2c5d

Change-Id: I0f233278ba6f45003b77a0bb040a0c208ff4dd09

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
Merged-In: I413b198422eddb212599498b532ba2c4d8bb36c6

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
Merged-In: 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
Merged-In: I84f105cafc57c513d83d9e4d26e9e67ef805e33e

6 years agoMerge "Add OWNERS in external/e2fsprogs" am: 7975672f63 am: 22a19631dd am: 6e2cbd8ecd
Chih-Hung Hsieh [Wed, 21 Jun 2017 07:56:02 +0000 (07:56 +0000)]
Merge "Add OWNERS in external/e2fsprogs" am: 7975672f63 am: 22a19631dd am: 6e2cbd8ecd
am: a7f19f9fa8

Change-Id: Ibc1455a417bcf4c81b8185502507a2667fdaaf8d

6 years agoMerge "Add OWNERS in external/e2fsprogs" am: 7975672f63 am: 22a19631dd
Chih-Hung Hsieh [Wed, 21 Jun 2017 07:54:00 +0000 (07:54 +0000)]
Merge "Add OWNERS in external/e2fsprogs" am: 7975672f63 am: 22a19631dd
am: 6e2cbd8ecd

Change-Id: Ib9a8d1f77f88262be6f2623484f278cb2526062f

6 years agoMerge "Add OWNERS in external/e2fsprogs" am: 7975672f63
Chih-Hung Hsieh [Wed, 21 Jun 2017 07:51:29 +0000 (07:51 +0000)]
Merge "Add OWNERS in external/e2fsprogs" am: 7975672f63
am: 22a19631dd

Change-Id: Iad9e424fd98270330d33edac17eddbdb9b42ffad

6 years agoMerge "Add OWNERS in external/e2fsprogs"
Chih-Hung Hsieh [Wed, 21 Jun 2017 07:49:00 +0000 (07:49 +0000)]
Merge "Add OWNERS in external/e2fsprogs"
am: 7975672f63

Change-Id: I7bc8a819f7ab8c153c37b38b31019e09363c6080

6 years agoMerge "Add OWNERS in external/e2fsprogs"
Treehugger Robot [Wed, 21 Jun 2017 07:43:36 +0000 (07:43 +0000)]
Merge "Add OWNERS in external/e2fsprogs"

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 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 agoAdd OWNERS in external/e2fsprogs
Chih-Hung Hsieh [Fri, 16 Jun 2017 22:55:14 +0000 (15:55 -0700)]
Add OWNERS in external/e2fsprogs

* Owners are selected from top CL approvals or owners.
  They will be suggested to review/approve future CLs.
* OWNERS files are recognized by the new find-owners plugin, see .md files in
  https://gerrit.googlesource.com/plugins/find-owners/+/master/src/main/resources/Documentation/

Test: build/make/tools/checkowners.py -c -v OWNERS
Change-Id: I9dd4696970b36c2b55fcfc2ec22431cb6aa46e5b

7 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

7 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

7 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

7 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

7 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

7 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."

7 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

7 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

7 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

7 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

7 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

7 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."

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 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