OSDN Git Service

android-x86/system-vold.git
8 years agoEncrypt on reboot
Paul Lawrence [Fri, 20 Nov 2015 15:07:19 +0000 (07:07 -0800)]
Encrypt on reboot

Change encryption to happen after a reboot, not before. This
removes the problem whereby if data cannot be unmounted, we cannot
encrypt.

Bug: 25426629

Change-Id: I25d610204234ed8254330d001eb965e6e87a2fe9

8 years agoSwitch to new FBE emulation property.
Jeff Sharkey [Fri, 13 Nov 2015 04:18:02 +0000 (20:18 -0800)]
Switch to new FBE emulation property.

Also prepare CE/DE storage directories for owner user at boot.

Bug: 22358539
Change-Id: I76228952c990ebed83360c69ef36321b99114196

8 years agoMerge "Create user_de on adopted storage devices."
Jeff Sharkey [Tue, 17 Nov 2015 19:40:05 +0000 (19:40 +0000)]
Merge "Create user_de on adopted storage devices."

8 years agoCreate user_de on adopted storage devices.
Jeff Sharkey [Tue, 17 Nov 2015 19:16:49 +0000 (12:16 -0700)]
Create user_de on adopted storage devices.

Bug: 25676430
Change-Id: I22064789a608f13af2dddf740769969d4e4dcbe7

8 years agoMake deletion of larger files possible.
Paul Crowley [Tue, 7 Jul 2015 16:13:17 +0000 (17:13 +0100)]
Make deletion of larger files possible.

Bug: 22502684
Change-Id: I9034af1ce919bff51f836e5bf51cc2585089440e

8 years agoMerge "Add --no-unlink option to secdiscard for testing."
Paul Crowley [Mon, 16 Nov 2015 10:36:13 +0000 (10:36 +0000)]
Merge "Add --no-unlink option to secdiscard for testing."

8 years agoMerge "secdiscard.cpp: Use getmntent and my newfound C++ knowledge."
Paul Crowley [Thu, 12 Nov 2015 16:59:57 +0000 (16:59 +0000)]
Merge "secdiscard.cpp: Use getmntent and my newfound C++ knowledge."

8 years agoNew granular encryption commands for framework.
Jeff Sharkey [Mon, 9 Nov 2015 01:56:23 +0000 (17:56 -0800)]
New granular encryption commands for framework.

We now have separate methods for key creation/destruction and
unlocking/locking.  Key unlocking can pass through an opaque token,
but it's left empty for now.

Extend user storage setup to also create system_ce and user_de
paths.  Bring over some path generation logic from installd.

Use strong type checking on user arguments.

Bug: 22358539
Change-Id: I00ba15c7b10dd682640b3f082feade4fb7cbbb5d

8 years agoMerge "system/vold: check return value of PKCS5_PBKDF2_HMAC_SHA1." am: 0a7e668ebf...
Kenny Root [Fri, 6 Nov 2015 17:27:03 +0000 (17:27 +0000)]
Merge "system/vold: check return value of PKCS5_PBKDF2_HMAC_SHA1." am: 0a7e668ebf am: cd6d8e3fb6
am: 03b10c268b

* commit '03b10c268b810c06e31f20fab00ee9bb93d09d01':
  system/vold: check return value of PKCS5_PBKDF2_HMAC_SHA1.

8 years agoMerge "system/vold: check return value of PKCS5_PBKDF2_HMAC_SHA1." am: 0a7e668ebf
Kenny Root [Fri, 6 Nov 2015 17:24:55 +0000 (17:24 +0000)]
Merge "system/vold: check return value of PKCS5_PBKDF2_HMAC_SHA1." am: 0a7e668ebf
am: cd6d8e3fb6

* commit 'cd6d8e3fb68d09122acf4272ad0f93b0f253523f':
  system/vold: check return value of PKCS5_PBKDF2_HMAC_SHA1.

8 years agoMerge "system/vold: check return value of PKCS5_PBKDF2_HMAC_SHA1."
Kenny Root [Fri, 6 Nov 2015 17:22:59 +0000 (17:22 +0000)]
Merge "system/vold: check return value of PKCS5_PBKDF2_HMAC_SHA1."
am: 0a7e668ebf

* commit '0a7e668ebf7215fbb89837e251f3f73a124adada':
  system/vold: check return value of PKCS5_PBKDF2_HMAC_SHA1.

8 years agoMerge "system/vold: check return value of PKCS5_PBKDF2_HMAC_SHA1."
Kenny Root [Fri, 6 Nov 2015 17:20:30 +0000 (17:20 +0000)]
Merge "system/vold: check return value of PKCS5_PBKDF2_HMAC_SHA1."

8 years agosystem/vold: check return value of PKCS5_PBKDF2_HMAC_SHA1.
Adam Langley [Wed, 4 Nov 2015 22:51:39 +0000 (14:51 -0800)]
system/vold: check return value of PKCS5_PBKDF2_HMAC_SHA1.

The function PKCS5_PBKDF2_HMAC_SHA1 can fail for a number of reasons and
thus its return value should be checked and handled.

Change-Id: I0f0d8f74b58940a34df16b88434a085760822075

8 years agoAdd developer option to convert from FDE to FBE
Paul Lawrence [Thu, 29 Oct 2015 17:30:57 +0000 (10:30 -0700)]
Add developer option to convert from FDE to FBE

This set of changes adds the screen that offers this conversion,
and the plumbing so the option is only available on suitable
devices.

It does not implement the conversion mechanism.

Change-Id: I801199c37b03436045d40bf8840a8746daf94d27

8 years agoMerge commit \'aebfa6e7eee173b8e02f869c3a25cfe2a5fffb9b\' into HEAD am: abcf4c6fca
Bill Yi [Tue, 3 Nov 2015 23:47:58 +0000 (23:47 +0000)]
Merge commit \'aebfa6e7eee173b8e02f869c3a25cfe2a5fffb9b\' into HEAD am: abcf4c6fca
am: ec34abe030

* commit 'ec34abe0306b47640298110c8358c839b2c4432d':

8 years agoMerge commit \'aebfa6e7eee173b8e02f869c3a25cfe2a5fffb9b\' into HEAD
Bill Yi [Tue, 3 Nov 2015 23:34:26 +0000 (23:34 +0000)]
Merge commit \'aebfa6e7eee173b8e02f869c3a25cfe2a5fffb9b\' into HEAD
am: abcf4c6fca

* commit 'abcf4c6fca01c92cd8b4dd581488ede684efea71':

8 years agoMerge commit 'aebfa6e7eee173b8e02f869c3a25cfe2a5fffb9b' into HEAD
Bill Yi [Tue, 3 Nov 2015 22:30:42 +0000 (14:30 -0800)]
Merge commit 'aebfa6e7eee173b8e02f869c3a25cfe2a5fffb9b' into HEAD

8 years agoAdd --no-unlink option to secdiscard for testing.
Paul Crowley [Fri, 3 Jul 2015 15:17:23 +0000 (16:17 +0100)]
Add --no-unlink option to secdiscard for testing.

Also allow deletion of multiple files in one invocation.

Change-Id: I5011bf45f2d3b91964bc68fd8e61ec037e1de2ca

8 years agosecdiscard.cpp: Use getmntent and my newfound C++ knowledge.
Paul Crowley [Wed, 1 Jul 2015 12:33:47 +0000 (13:33 +0100)]
secdiscard.cpp: Use getmntent and my newfound C++ knowledge.

Bug: 19706593
Change-Id: I6254e0339ab42fdbecda80c6f37e64c323329190

8 years agoMerge "Fix ioctl parameter" am: 0eaad8ce8c am: 5cd32f73d8
Elliott Hughes [Thu, 29 Oct 2015 20:47:46 +0000 (20:47 +0000)]
Merge "Fix ioctl parameter" am: 0eaad8ce8c am: 5cd32f73d8
am: 8185d3d8ba

* commit '8185d3d8ba3dec0f26ade8cd4764d5f09cc00bcc':
  Fix ioctl parameter

8 years agoMerge "Fix ioctl parameter" am: 0eaad8ce8c
Elliott Hughes [Thu, 29 Oct 2015 20:44:35 +0000 (20:44 +0000)]
Merge "Fix ioctl parameter" am: 0eaad8ce8c
am: 5cd32f73d8

* commit '5cd32f73d8b5e6db60d397d102e5b1b193a76c77':
  Fix ioctl parameter

8 years agoMerge "Fix ioctl parameter"
Elliott Hughes [Thu, 29 Oct 2015 20:41:28 +0000 (20:41 +0000)]
Merge "Fix ioctl parameter"
am: 0eaad8ce8c

* commit '0eaad8ce8ceaa4b730b0be8c149f389647fbdab0':
  Fix ioctl parameter

8 years agoMerge "Fix ioctl parameter"
Elliott Hughes [Thu, 29 Oct 2015 20:38:10 +0000 (20:38 +0000)]
Merge "Fix ioctl parameter"

8 years agoFix ioctl parameter
caozhiyuan [Thu, 29 Oct 2015 08:39:00 +0000 (16:39 +0800)]
Fix ioctl parameter

Change-Id: I922c8ae77056db81bc5152346299a07a34c527d2

8 years agoPromote free bytes calculation to 64 bits am: 2403b4d056
Oleksiy Avramchenko [Wed, 21 Oct 2015 23:26:18 +0000 (23:26 +0000)]
Promote free bytes calculation to 64 bits am: 2403b4d056
am: aebfa6e7ee

* commit 'aebfa6e7eee173b8e02f869c3a25cfe2a5fffb9b':
  Promote free bytes calculation to 64 bits

8 years agoPromote free bytes calculation to 64 bits
Oleksiy Avramchenko [Wed, 21 Oct 2015 23:24:03 +0000 (23:24 +0000)]
Promote free bytes calculation to 64 bits
am: 2403b4d056

* commit '2403b4d0561c756ed5102aaf6048a80c9993f6f8':
  Promote free bytes calculation to 64 bits

8 years agoKill apps using storage through bind mounts. am: 89f74fbf25
Jeff Sharkey [Wed, 21 Oct 2015 23:11:17 +0000 (23:11 +0000)]
Kill apps using storage through bind mounts. am: 89f74fbf25
am: 71ac649c1d

* commit '71ac649c1d179a8d97db6fd1862f8b0d992a6751':
  Kill apps using storage through bind mounts.

8 years agoKill apps using storage through bind mounts.
Jeff Sharkey [Wed, 21 Oct 2015 23:08:56 +0000 (23:08 +0000)]
Kill apps using storage through bind mounts.
am: 89f74fbf25

* commit '89f74fbf2529d708534c041d2b711af0f1feff9f':
  Kill apps using storage through bind mounts.

8 years agoPromote free bytes calculation to 64 bits
Oleksiy Avramchenko [Thu, 1 Oct 2015 10:44:46 +0000 (12:44 +0200)]
Promote free bytes calculation to 64 bits

The expression otherwise overflows for large devices.
It's fsblkcnt_t -> unsigned long, which is 32 bit on ARMv7.

Bug: 25162062
Change-Id: I46c5e00558b7dbd6abd50fae4727396079044df2

8 years agoKill apps using storage through bind mounts.
Jeff Sharkey [Wed, 21 Oct 2015 19:16:12 +0000 (12:16 -0700)]
Kill apps using storage through bind mounts.

When unmounting an emulated volume, look for apps with open files
using the final published volume path.

Without this change, we were only looking at the internal paths
used for runtime permissions, which apps never use directly.  This
meant we'd always fail to unmount the volume if apps didn't respect
the EJECTING broadcast, and volume migration would end up wedged
until the device rebooted.

Bug: 24863778
Change-Id: Ibda484e66ab95744c304c344b226caa5b10b7e2e

8 years agoDon\'t show UI on default encryption
Paul Lawrence [Wed, 21 Oct 2015 16:46:33 +0000 (16:46 +0000)]
Don\'t show UI on default encryption
am: 6ae8604c10

* commit '6ae8604c1006e6ba0f687680387062d4acf1e41b':
  Don't show UI on default encryption

8 years agoDon't show UI on default encryption
Paul Lawrence [Wed, 21 Oct 2015 16:28:39 +0000 (09:28 -0700)]
Don't show UI on default encryption

Merge of https://googleplex-android-review.git.corp.google.com/#/c/764976

Bug: 22989588
Change-Id: I3a6b01ee80446e0955e2039f88a627d37ee6caef

8 years agoMerge "Promote free bytes calculation to 64 bits" am: 7d17af08a8 am: d3c7060ba5
Jeff Sharkey [Wed, 21 Oct 2015 16:08:09 +0000 (16:08 +0000)]
Merge "Promote free bytes calculation to 64 bits" am: 7d17af08a8 am: d3c7060ba5
am: 0130fc6cfb

* commit '0130fc6cfb77c4a835e7df2f48fc47fdd1a9855a':
  Promote free bytes calculation to 64 bits

8 years agoMerge "Promote free bytes calculation to 64 bits" am: 7d17af08a8
Jeff Sharkey [Wed, 21 Oct 2015 16:03:06 +0000 (16:03 +0000)]
Merge "Promote free bytes calculation to 64 bits" am: 7d17af08a8
am: d3c7060ba5

* commit 'd3c7060ba53d87c58103b1776815fea9d29e39cc':
  Promote free bytes calculation to 64 bits

8 years agoMerge "Promote free bytes calculation to 64 bits"
Jeff Sharkey [Wed, 21 Oct 2015 15:58:40 +0000 (15:58 +0000)]
Merge "Promote free bytes calculation to 64 bits"
am: 7d17af08a8

* commit '7d17af08a80c3d9a14a3fe11d70bd12d59641a7b':
  Promote free bytes calculation to 64 bits

8 years agoMerge "Promote free bytes calculation to 64 bits"
Jeff Sharkey [Wed, 21 Oct 2015 15:44:36 +0000 (15:44 +0000)]
Merge "Promote free bytes calculation to 64 bits"

8 years agoMerge "Don\'t show UI on default encryption" into mnc-dr-dev am: 2309f76d17
Paul Lawrence [Wed, 21 Oct 2015 15:08:48 +0000 (15:08 +0000)]
Merge "Don\'t show UI on default encryption" into mnc-dr-dev am: 2309f76d17
am: 01a856d5ca

* commit '01a856d5ca99d2c51382de57c02c053d3de88c7d':
  Don't show UI on default encryption

8 years agoMerge "Don\'t show UI on default encryption" into mnc-dr-dev
Paul Lawrence [Wed, 21 Oct 2015 15:03:10 +0000 (15:03 +0000)]
Merge "Don\'t show UI on default encryption" into mnc-dr-dev
am: 2309f76d17

* commit '2309f76d17171a4e9b2593ff248861eb3a41ec5a':
  Don't show UI on default encryption

8 years agoMerge "Don't show UI on default encryption" into mnc-dr-dev
Paul Lawrence [Wed, 21 Oct 2015 14:27:30 +0000 (14:27 +0000)]
Merge "Don't show UI on default encryption" into mnc-dr-dev

8 years agoam f6852593: am cb42a40a: Merge "Clean up any/all stale partition tables." into mnc...
Jeff Sharkey [Mon, 12 Oct 2015 18:38:56 +0000 (18:38 +0000)]
am f6852593: am cb42a40a: Merge "Clean up any/all stale partition tables." into mnc-dr-dev

* commit 'f68525931e1b9ab6938d87bb95a2fa7966f046c4':
  Clean up any/all stale partition tables.

8 years agoam cb42a40a: Merge "Clean up any/all stale partition tables." into mnc-dr-dev
Jeff Sharkey [Mon, 12 Oct 2015 16:48:57 +0000 (16:48 +0000)]
am cb42a40a: Merge "Clean up any/all stale partition tables." into mnc-dr-dev

* commit 'cb42a40a871bc8f06f0a37d321dbe2e7693da0e5':
  Clean up any/all stale partition tables.

8 years agoMerge "Clean up any/all stale partition tables." into mnc-dr-dev
Jeff Sharkey [Mon, 12 Oct 2015 16:34:09 +0000 (16:34 +0000)]
Merge "Clean up any/all stale partition tables." into mnc-dr-dev

8 years agoPromote free bytes calculation to 64 bits
Oleksiy Avramchenko [Thu, 1 Oct 2015 10:44:46 +0000 (12:44 +0200)]
Promote free bytes calculation to 64 bits

The expression otherwise overflows for large devices.
It's fsblkcnt_t -> unsigned long, which is 32 bit on ARMv7.

Change-Id: I46c5e00558b7dbd6abd50fae4727396079044df2

8 years agoam f0500a08: am 0331d4ae: am 685dfdd3: Merge "Error correction: Add libfec dependenci...
Sami Tolvanen [Fri, 2 Oct 2015 11:00:45 +0000 (11:00 +0000)]
am f0500a08: am 0331d4ae: am 685dfdd3: Merge "Error correction: Add libfec dependencies for vold"

* commit 'f0500a08230f068a1cf55e4de3cfc389d51f8669':
  Error correction: Add libfec dependencies for vold

8 years agoam 0331d4ae: am 685dfdd3: Merge "Error correction: Add libfec dependencies for vold"
Sami Tolvanen [Fri, 2 Oct 2015 10:55:10 +0000 (10:55 +0000)]
am 0331d4ae: am 685dfdd3: Merge "Error correction: Add libfec dependencies for vold"

* commit '0331d4ae3843f682e98bfa1aba0f8da7fbd9beb0':
  Error correction: Add libfec dependencies for vold

8 years agoam 685dfdd3: Merge "Error correction: Add libfec dependencies for vold"
Sami Tolvanen [Fri, 2 Oct 2015 10:47:23 +0000 (10:47 +0000)]
am 685dfdd3: Merge "Error correction: Add libfec dependencies for vold"

* commit '685dfdd33590ef8a93627015c434fea54b8f1b4d':
  Error correction: Add libfec dependencies for vold

8 years agoMerge "Error correction: Add libfec dependencies for vold"
Sami Tolvanen [Fri, 2 Oct 2015 10:42:16 +0000 (10:42 +0000)]
Merge "Error correction: Add libfec dependencies for vold"

8 years agoam 44710f0f: am 82fd804f: vold: Retry opening block device on failure when starting...
David Ng [Fri, 2 Oct 2015 09:00:31 +0000 (09:00 +0000)]
am 44710f0f: am 82fd804f: vold: Retry opening block device on failure when starting encryption

* commit '44710f0f9c868f999aecb91a8d3cd8bf9536b283':
  vold: Retry opening block device on failure when starting encryption

8 years agoam 82fd804f: vold: Retry opening block device on failure when starting encryption
David Ng [Fri, 2 Oct 2015 08:27:19 +0000 (08:27 +0000)]
am 82fd804f: vold: Retry opening block device on failure when starting encryption

* commit '82fd804f8ba49399f425bf43681b9b7fe464d9a1':
  vold: Retry opening block device on failure when starting encryption

8 years agovold: Retry opening block device on failure when starting encryption
David Ng [Wed, 21 Jan 2015 21:55:21 +0000 (13:55 -0800)]
vold: Retry opening block device on failure when starting encryption

The device mapper storage device node can take some time to be
created; so retry.

Bug: 23024596
Change-Id: Ieeb3b697f9cef72d4ea9d106750696901f0a224d

8 years agoError correction: Add libfec dependencies for vold
Sami Tolvanen [Mon, 1 Jun 2015 14:38:29 +0000 (15:38 +0100)]
Error correction: Add libfec dependencies for vold

Vold requires libfec and related dependencies due to fs_mgr_mount_all.

Bug: 21893453
Change-Id: If59df0c5fd3395d4aac97dd8119b7c70c0fa5d4d

8 years agoClean up any/all stale partition tables.
Jeff Sharkey [Wed, 23 Sep 2015 21:13:45 +0000 (14:13 -0700)]
Clean up any/all stale partition tables.

When formatting media as a public volume, we write an MBR, but we
might leave a stale GPT floating around.  Some devices are configured
to aggressively prefer GPT when detected, even if the checksums
between primary/secondary don't match.

To work around this, nuke both MBR and GPT tables from the media
before we lay down our new MBR.

Bug: 24112219
Change-Id: Ibf1be466a6877cbab925a24db5e5dbab0613bea7

8 years agoam 1690c1bc: am 1a20a648: Enable benchmark after trim, when requested.
Jeff Sharkey [Thu, 10 Sep 2015 00:53:30 +0000 (00:53 +0000)]
am 1690c1bc: am 1a20a648: Enable benchmark after trim, when requested.

* commit '1690c1bca2b7d7e08f1b0f536b6e58a890051546':
  Enable benchmark after trim, when requested.

8 years agoam 1a20a648: Enable benchmark after trim, when requested.
Jeff Sharkey [Thu, 10 Sep 2015 00:44:21 +0000 (00:44 +0000)]
am 1a20a648: Enable benchmark after trim, when requested.

* commit '1a20a6487faad2869eaec962e4373402aa7461b3':
  Enable benchmark after trim, when requested.

8 years agoEnable benchmark after trim, when requested.
Jeff Sharkey [Wed, 9 Sep 2015 21:55:45 +0000 (14:55 -0700)]
Enable benchmark after trim, when requested.

The framework can request that a benchmark be run after an fstrim,
but it was disabled due to a kernel bug on certain devices.  That bug
has long been fixed, so it should be safe to enable this again.

Bug: 23942769
Change-Id: Ibe967a75856d0cbad45e2f8f3120f1970caf36d0

8 years agoDon't show UI on default encryption
Paul Lawrence [Wed, 9 Sep 2015 19:13:00 +0000 (12:13 -0700)]
Don't show UI on default encryption

Bug: 22989588
Change-Id: I21403233d84031869d929c46c3c7b2ebefb3caff

8 years agoam 2ada9517: am 480fcd27: Set uid/gid of newly created user dirs to system/system.
Paul Crowley [Thu, 3 Sep 2015 06:32:37 +0000 (06:32 +0000)]
am 2ada9517: am 480fcd27: Set uid/gid of newly created user dirs to system/system.

* commit '2ada95176863c9f73dbaea64e57c46a1a45b632f':
  Set uid/gid of newly created user dirs to system/system.

8 years agoam 480fcd27: Set uid/gid of newly created user dirs to system/system.
Paul Crowley [Thu, 3 Sep 2015 06:21:41 +0000 (06:21 +0000)]
am 480fcd27: Set uid/gid of newly created user dirs to system/system.

* commit '480fcd2750c1d30f3397d1f3152519a11f60990b':
  Set uid/gid of newly created user dirs to system/system.

8 years agoam fa68681a: am 79b6fdfc: (-s ours) update bundled rc files to their contents from...
Tom Cherry [Thu, 27 Aug 2015 14:46:08 +0000 (14:46 +0000)]
am fa68681a: am 79b6fdfc: (-s ours) update bundled rc files to their contents from rootdir/init.rc

* commit 'fa68681ac763b458f9e3afc8c2bfcb9e22a3cda4':
  update bundled rc files to their contents from rootdir/init.rc

8 years agoam efbaf0de: am 685439bb: (-s ours) am 218f48d6: Merge "bundle init.rc contents with...
Tom Cherry [Thu, 27 Aug 2015 14:46:08 +0000 (14:46 +0000)]
am efbaf0de: am 685439bb: (-s ours) am 218f48d6: Merge "bundle init.rc contents with its service"

* commit 'efbaf0de3651c7efa3ed946bcd9f11781cc1fe68':

8 years agoam debb3f8c: am b1259ffd: (-s ours) am f298f6be: Merge "Use errno correctly."
Elliott Hughes [Thu, 27 Aug 2015 14:46:07 +0000 (14:46 +0000)]
am debb3f8c: am b1259ffd: (-s ours) am f298f6be: Merge "Use errno correctly."

* commit 'debb3f8cba49db2dff687a5758aebdbbd99b6393':

8 years agoam d9aea039: am 3097d0e1: (-s ours) am 6d24e086: Merge "Remove dead code."
Elliott Hughes [Thu, 27 Aug 2015 14:46:06 +0000 (14:46 +0000)]
am d9aea039: am 3097d0e1: (-s ours) am 6d24e086: Merge "Remove dead code."

* commit 'd9aea039e80363c2256e83fe86d155803dc908f9':

8 years agoam 88fbc742: am 7206b42b: (-s ours) am eddf9bd6: Request specific tags from blkid.
Jeff Sharkey [Thu, 27 Aug 2015 14:46:06 +0000 (14:46 +0000)]
am 88fbc742: am 7206b42b: (-s ours) am eddf9bd6: Request specific tags from blkid.

* commit '88fbc742958684f171e79159b40edfee07127916':

8 years agoam fce8034b: am 2b8f194f: (-s ours) am 1bd078fa: Protect runtime storage mount points.
Jeff Sharkey [Thu, 27 Aug 2015 14:46:05 +0000 (14:46 +0000)]
am fce8034b: am 2b8f194f: (-s ours) am 1bd078fa: Protect runtime storage mount points.

* commit 'fce8034b3ee211c565d5afd2a98ef241c57079fd':

8 years agoam 489fce1c: am 3a60599a: (-s ours) am 8474ee32: Return useful path when not visible.
Jeff Sharkey [Thu, 27 Aug 2015 14:46:04 +0000 (14:46 +0000)]
am 489fce1c: am 3a60599a: (-s ours) am 8474ee32: Return useful path when not visible.

* commit '489fce1c852f546410f175be0a9244b7dd149913':

8 years agoam c4ecb517: am 26934b09: (-s ours) am d46687ee: Use random data for benchmark instea...
Jeff Sharkey [Thu, 27 Aug 2015 14:46:03 +0000 (14:46 +0000)]
am c4ecb517: am 26934b09: (-s ours) am d46687ee: Use random data for benchmark instead of zeros.

* commit 'c4ecb5175079439932ec33e5126e47dae0e82a56':

8 years agoam e7556ee8: am 09b542f2: (-s ours) am 20642ae7: Give secondary users read-only physi...
Jeff Sharkey [Thu, 27 Aug 2015 14:46:02 +0000 (14:46 +0000)]
am e7556ee8: am 09b542f2: (-s ours) am 20642ae7: Give secondary users read-only physical cards.

* commit 'e7556ee8146bde034ccd534732d785b03d15d394':

8 years agoam 8a286762: am 15c6489a: (-s ours) am 32679a82: Create user directory on emulated...
Jeff Sharkey [Thu, 27 Aug 2015 14:46:01 +0000 (14:46 +0000)]
am 8a286762: am 15c6489a: (-s ours) am 32679a82: Create user directory on emulated storage.

* commit '8a286762893788a9b21b486e7e5ad25ae6a728b8':

8 years agoam 287cc74d: am 0d3fe815: (-s ours) am 81f55c6d: Mount emulated volumes as consistent...
Jeff Sharkey [Thu, 27 Aug 2015 14:46:00 +0000 (14:46 +0000)]
am 287cc74d: am 0d3fe815: (-s ours) am 81f55c6d: Mount emulated volumes as consistent location.

* commit '287cc74d0e379e2dfdc5157b840954a721862db2':

8 years agoam 79b6fdfc: (-s ours) update bundled rc files to their contents from rootdir/init.rc
Tom Cherry [Thu, 27 Aug 2015 11:17:54 +0000 (11:17 +0000)]
am 79b6fdfc: (-s ours) update bundled rc files to their contents from rootdir/init.rc

* commit '79b6fdfcea593b9f1a2422f1327a279ee77a54c2':
  update bundled rc files to their contents from rootdir/init.rc

8 years agoam 685439bb: (-s ours) am 218f48d6: Merge "bundle init.rc contents with its service"
Tom Cherry [Thu, 27 Aug 2015 11:17:53 +0000 (11:17 +0000)]
am 685439bb: (-s ours) am 218f48d6: Merge "bundle init.rc contents with its service"

* commit '685439bbc7ef958a3472465ebdabf2b997889e76':

8 years agoam b1259ffd: (-s ours) am f298f6be: Merge "Use errno correctly."
Elliott Hughes [Thu, 27 Aug 2015 11:17:53 +0000 (11:17 +0000)]
am b1259ffd: (-s ours) am f298f6be: Merge "Use errno correctly."

* commit 'b1259ffd92f8965521f3f934548936dfd7650262':

8 years agoam 3097d0e1: (-s ours) am 6d24e086: Merge "Remove dead code."
Elliott Hughes [Thu, 27 Aug 2015 11:17:52 +0000 (11:17 +0000)]
am 3097d0e1: (-s ours) am 6d24e086: Merge "Remove dead code."

* commit '3097d0e151b4f07552e987ee5819e9e7c6953a71':

8 years agoam 7206b42b: (-s ours) am eddf9bd6: Request specific tags from blkid.
Jeff Sharkey [Thu, 27 Aug 2015 11:17:51 +0000 (11:17 +0000)]
am 7206b42b: (-s ours) am eddf9bd6: Request specific tags from blkid.

* commit '7206b42badd044e3fcc75c1e1e842bf6d5475867':

8 years agoam 2b8f194f: (-s ours) am 1bd078fa: Protect runtime storage mount points.
Jeff Sharkey [Thu, 27 Aug 2015 11:17:51 +0000 (11:17 +0000)]
am 2b8f194f: (-s ours) am 1bd078fa: Protect runtime storage mount points.

* commit '2b8f194f1a3c4929e7921a3cb31defd98579e87c':

8 years agoam 3a60599a: (-s ours) am 8474ee32: Return useful path when not visible.
Jeff Sharkey [Thu, 27 Aug 2015 11:17:49 +0000 (11:17 +0000)]
am 3a60599a: (-s ours) am 8474ee32: Return useful path when not visible.

* commit '3a60599ae83aadc9eb2dcc5f645508100ede58f9':

8 years agoam 26934b09: (-s ours) am d46687ee: Use random data for benchmark instead of zeros.
Jeff Sharkey [Thu, 27 Aug 2015 11:17:48 +0000 (11:17 +0000)]
am 26934b09: (-s ours) am d46687ee: Use random data for benchmark instead of zeros.

* commit '26934b0954f28d2d465097bf78f6be0139839b14':

8 years agoam 09b542f2: (-s ours) am 20642ae7: Give secondary users read-only physical cards.
Jeff Sharkey [Thu, 27 Aug 2015 11:17:47 +0000 (11:17 +0000)]
am 09b542f2: (-s ours) am 20642ae7: Give secondary users read-only physical cards.

* commit '09b542f269bfd0726de53c2d230c5266f5227f1c':

8 years agoam 15c6489a: (-s ours) am 32679a82: Create user directory on emulated storage.
Jeff Sharkey [Thu, 27 Aug 2015 11:17:46 +0000 (11:17 +0000)]
am 15c6489a: (-s ours) am 32679a82: Create user directory on emulated storage.

* commit '15c6489aa9de4a11f4ec25b69841fb1c936b6380':

8 years agoam 0d3fe815: (-s ours) am 81f55c6d: Mount emulated volumes as consistent location.
Jeff Sharkey [Thu, 27 Aug 2015 11:17:46 +0000 (11:17 +0000)]
am 0d3fe815: (-s ours) am 81f55c6d: Mount emulated volumes as consistent location.

* commit '0d3fe8152ef0e15bd4105013faaee7961e6a6ea9':

8 years agoSet uid/gid of newly created user dirs to system/system.
Paul Crowley [Mon, 24 Aug 2015 13:53:28 +0000 (14:53 +0100)]
Set uid/gid of newly created user dirs to system/system.

Bug: 23395513
Change-Id: I3d76b77339f995103c0aec09c6de77b3c8cdc0dd

8 years agoam 205a874e: update bundled rc files to their contents from rootdir/init.rc
Tom Cherry [Fri, 21 Aug 2015 22:20:41 +0000 (22:20 +0000)]
am 205a874e: update bundled rc files to their contents from rootdir/init.rc

* commit '205a874e860cb33420226e9a345e4fa2c97d14aa':
  update bundled rc files to their contents from rootdir/init.rc

8 years agoupdate bundled rc files to their contents from rootdir/init.rc
Tom Cherry [Fri, 21 Aug 2015 19:36:40 +0000 (12:36 -0700)]
update bundled rc files to their contents from rootdir/init.rc

Bug 23186545

Change-Id: I634b682b7a4cef9e1b817561b4458e1442443c63
(cherry picked from commit 6cb234dc57ae24f1dd0cb01217221d946eaed0aa)

8 years agoupdate bundled rc files to their contents from rootdir/init.rc
Tom Cherry [Fri, 21 Aug 2015 19:36:40 +0000 (12:36 -0700)]
update bundled rc files to their contents from rootdir/init.rc

Bug 23186545

Change-Id: I634b682b7a4cef9e1b817561b4458e1442443c63
(cherry picked from commit 6cb234dc57ae24f1dd0cb01217221d946eaed0aa)

8 years agoupdate bundled rc files to their contents from rootdir/init.rc
Tom Cherry [Fri, 21 Aug 2015 19:36:40 +0000 (12:36 -0700)]
update bundled rc files to their contents from rootdir/init.rc

Bug 23186545

Change-Id: I634b682b7a4cef9e1b817561b4458e1442443c63

8 years agoam 10b02df8: am 218f48d6: Merge "bundle init.rc contents with its service"
Tom Cherry [Fri, 21 Aug 2015 18:31:27 +0000 (18:31 +0000)]
am 10b02df8: am 218f48d6: Merge "bundle init.rc contents with its service"

* commit '10b02df820ece261b621a1f46838995249a1082c':
  bundle init.rc contents with its service

8 years agoam 218f48d6: Merge "bundle init.rc contents with its service"
Tom Cherry [Fri, 21 Aug 2015 18:24:14 +0000 (18:24 +0000)]
am 218f48d6: Merge "bundle init.rc contents with its service"

* commit '218f48d6c55a7ee5115a7a8fc4248d33ea01811f':
  bundle init.rc contents with its service

8 years agoam 218f48d6: Merge "bundle init.rc contents with its service"
Tom Cherry [Fri, 21 Aug 2015 18:20:19 +0000 (18:20 +0000)]
am 218f48d6: Merge "bundle init.rc contents with its service"

* commit '218f48d6c55a7ee5115a7a8fc4248d33ea01811f':
  bundle init.rc contents with its service

8 years agoMerge "bundle init.rc contents with its service"
Tom Cherry [Fri, 21 Aug 2015 17:42:33 +0000 (17:42 +0000)]
Merge "bundle init.rc contents with its service"

9 years agobundle init.rc contents with its service
Tom Cherry [Fri, 14 Aug 2015 20:06:45 +0000 (13:06 -0700)]
bundle init.rc contents with its service

Bug: 23186545
Change-Id: I82d8b6dc54ebe32ceb1ed997aaab3701ee7b6c4a

9 years agoam ad6bd043: am f298f6be: Merge "Use errno correctly."
Elliott Hughes [Mon, 17 Aug 2015 17:48:38 +0000 (17:48 +0000)]
am ad6bd043: am f298f6be: Merge "Use errno correctly."

* commit 'ad6bd0438745aeb9a4484448e4392dc23ea3b351':
  Use errno correctly.

9 years agoam f298f6be: Merge "Use errno correctly."
Elliott Hughes [Mon, 17 Aug 2015 17:43:54 +0000 (17:43 +0000)]
am f298f6be: Merge "Use errno correctly."

* commit 'f298f6be4c8df8745735676e37ccc963909ff3b2':
  Use errno correctly.

9 years agoam f298f6be: Merge "Use errno correctly."
Elliott Hughes [Mon, 17 Aug 2015 17:43:52 +0000 (17:43 +0000)]
am f298f6be: Merge "Use errno correctly."

* commit 'f298f6be4c8df8745735676e37ccc963909ff3b2':
  Use errno correctly.

9 years agoMerge "Use errno correctly."
Elliott Hughes [Mon, 17 Aug 2015 17:33:35 +0000 (17:33 +0000)]
Merge "Use errno correctly."

9 years agoUse errno correctly.
tao.pei [Mon, 17 Aug 2015 12:18:49 +0000 (20:18 +0800)]
Use errno correctly.

Make sure to check errno prior to doing anything
else that can modify it.

Change-Id: Id81ecc2c3fa07c222ab1e2ef6441331a1eaad635

9 years agoam 5e7f772d: am 6d24e086: Merge "Remove dead code."
Elliott Hughes [Sat, 15 Aug 2015 02:24:13 +0000 (02:24 +0000)]
am 5e7f772d: am 6d24e086: Merge "Remove dead code."

* commit '5e7f772dbd27d5d93b15f004991749d321b6d62d':
  Remove dead code.

9 years agoam 6d24e086: Merge "Remove dead code."
Elliott Hughes [Sat, 15 Aug 2015 02:19:16 +0000 (02:19 +0000)]
am 6d24e086: Merge "Remove dead code."

* commit '6d24e0866f61aba0ac3023408ead083ad9b6cdab':
  Remove dead code.

9 years agoam 6d24e086: Merge "Remove dead code."
Elliott Hughes [Sat, 15 Aug 2015 02:19:04 +0000 (02:19 +0000)]
am 6d24e086: Merge "Remove dead code."

* commit '6d24e0866f61aba0ac3023408ead083ad9b6cdab':
  Remove dead code.

9 years agoMerge "Remove dead code."
Elliott Hughes [Sat, 15 Aug 2015 02:06:36 +0000 (02:06 +0000)]
Merge "Remove dead code."

9 years agoRemove dead code.
Elliott Hughes [Sat, 15 Aug 2015 01:41:14 +0000 (18:41 -0700)]
Remove dead code.

Change-Id: I042f8aacfa8a7900b5684aaa24da368cdcb41b1f