Commit graph

3606 commits

Author SHA1 Message Date
Ken Sumrall
7574c035b2 A filesystem manager library to mount filesystems for init.
Instead of specifying in init what to mount, and having various hacks in init
itself to deal with encryption, use a filesystem manager library to do the
work, that can also be invoked by vold when mounting an encrypted volume.
Keep all the magic filesystem info an a device specific fstab file.

Change-Id: Ib988f1e4fb0638ba1d5fd98407fa6d8cf862aaca
2012-04-30 19:31:06 -07:00
Jamie Gennis
802597977c am 5a95bdaa: am 575b2358: Merge "graphics.h: clarify docs about stride for YV12" into jb-dev
* commit '5a95bdaab2939d8f8a2b7657f1b63884781254b6':
  graphics.h: clarify docs about stride for YV12
2012-04-30 13:49:09 -07:00
Jamie Gennis
5a95bdaab2 am 575b2358: Merge "graphics.h: clarify docs about stride for YV12" into jb-dev
* commit '575b23584df48f877f26f62dfb759b4031ba0d3e':
  graphics.h: clarify docs about stride for YV12
2012-04-30 13:46:11 -07:00
Jamie Gennis
575b23584d Merge "graphics.h: clarify docs about stride for YV12" into jb-dev 2012-04-30 13:43:15 -07:00
Jamie Gennis
185b300d6a graphics.h: clarify docs about stride for YV12
This change makes it clearer how to derive the stride of the Cr and Cb plane
from the stride of the Y plane for the YV12 pixel format.

Change-Id: I54a9a20f35224bd583e25c615014cc8d830a1dd0
2012-04-30 12:50:38 -07:00
Todd Poynor
241953cdad am 8ae80a68: am 249b16d9: Merge "init: Set perms for cpufreq interactive governor input boost sysfs" into jb-dev
* commit '8ae80a68f3ba0587a45e73504498a1cf57f0d5ad':
  init: Set perms for cpufreq interactive governor input boost sysfs
2012-04-30 12:36:14 -07:00
Todd Poynor
8ae80a68f3 am 249b16d9: Merge "init: Set perms for cpufreq interactive governor input boost sysfs" into jb-dev
* commit '249b16d9b52cd9242306290aa690adfece33b4d5':
  init: Set perms for cpufreq interactive governor input boost sysfs
2012-04-30 12:33:14 -07:00
Todd Poynor
249b16d9b5 Merge "init: Set perms for cpufreq interactive governor input boost sysfs" into jb-dev 2012-04-30 12:30:27 -07:00
Jeff Brown
75e026e382 am d5fc797f: am f1f0d224: am 331667ff: Use #define value of 1 to indicate presence of headers.
* commit 'd5fc797fddcbde6574273c0e33d3a569dc6ef415':
  Use #define value of 1 to indicate presence of headers.
2012-04-28 12:03:50 -07:00
Jeff Brown
d5fc797fdd am f1f0d224: am 331667ff: Use #define value of 1 to indicate presence of headers.
* commit 'f1f0d224c6d4c116eef8ae821e42370ad0fad957':
  Use #define value of 1 to indicate presence of headers.
2012-04-28 12:01:59 -07:00
Jeff Brown
f1f0d224c6 am 331667ff: Use #define value of 1 to indicate presence of headers.
* commit '331667ffc86cd907cb80a708db5b7a8a84100217':
  Use #define value of 1 to indicate presence of headers.
2012-04-28 11:59:45 -07:00
Jeff Brown
331667ffc8 Use #define value of 1 to indicate presence of headers.
strace tests the value of HAVE_TERMIO_H and HAVE_SYS_UIO_H using

Change-Id: If899845503547410cf17d005733d1c0c6741e939
2012-04-28 11:12:53 -07:00
Colin Cross
afc4e6d95e am 9a676caa: am ced29ec3: am 87576b5f: Merge "Restrict zygote to system user."
* commit '9a676caaa715cc3d56b884382cf2c49c5f4c1e28':
  Restrict zygote to system user.
2012-04-27 22:23:39 -07:00
Colin Cross
9a676caaa7 am ced29ec3: am 87576b5f: Merge "Restrict zygote to system user."
* commit 'ced29ec3afda61735b513ede449987c3af3daa63':
  Restrict zygote to system user.
2012-04-27 22:21:01 -07:00
Colin Cross
ced29ec3af am 87576b5f: Merge "Restrict zygote to system user."
* commit '87576b5febf3a46490a8ec355e5e920a5123fac0':
  Restrict zygote to system user.
2012-04-27 22:18:40 -07:00
Todd Poynor
33045a627d init: Set perms for cpufreq interactive governor input boost sysfs
Change-Id: Ie475c95d81635a068db11e7018895024247878b4
2012-04-27 20:28:44 -07:00
Colin Cross
87576b5feb Merge "Restrict zygote to system user." 2012-04-27 17:08:12 -07:00
Romain Guy
1541eecdb1 am d0ffe384: am ce182cb8: Merge "Let users with SYSTEM permission set debug. properties" into jb-dev
* commit 'd0ffe3840bbcf95e1ee79a4a6926d04c2ea1d56b':
  Let users with SYSTEM permission set debug. properties
2012-04-27 15:29:10 -07:00
Romain Guy
d0ffe3840b am ce182cb8: Merge "Let users with SYSTEM permission set debug. properties" into jb-dev
* commit 'ce182cb8c00d0f5dedadbd4964dbc8cb705b8550':
  Let users with SYSTEM permission set debug. properties
2012-04-27 15:27:48 -07:00
Romain Guy
ce182cb8c0 Merge "Let users with SYSTEM permission set debug. properties" into jb-dev 2012-04-27 15:25:52 -07:00
Romain Guy
45fa13f370 Let users with SYSTEM permission set debug. properties
Change-Id: Ieda3f7dd5dca5f6a8fc50b07822e6a875db030ad
2012-04-27 15:19:30 -07:00
Kenny Root
40a61cf990 am efc70215: am bb2cba56: Merge "Add encryption parameters to adb install" into jb-dev
* commit 'efc702154b5b8256149d1a7a76487244b0d537f8':
  Add encryption parameters to adb install
2012-04-27 14:49:47 -07:00
Kenny Root
efc702154b am bb2cba56: Merge "Add encryption parameters to adb install" into jb-dev
* commit 'bb2cba56b9b64f8bc5ed2bfb68e4836d22862200':
  Add encryption parameters to adb install
2012-04-27 14:46:32 -07:00
Kenny Root
bb2cba56b9 Merge "Add encryption parameters to adb install" into jb-dev 2012-04-27 14:44:45 -07:00
Nick Kralevich
25dd43a9a5 Restrict zygote to system user.
CVE-2011-3918: Address denial of service attack against Android's
zygote process. This change enforces that only UID=system can
directly connect to zygote to spawn processes.

Change-Id: I89f5f05fa44ba8582920b66854df3e79527ae067
2012-04-27 14:18:02 -07:00
Anonymous Coward
4474ac4081 Add encryption parameters to adb install
Change-Id: I92e5f6ace1bc9e711c14cb83533aeb99ab9ab9f7
2012-04-27 13:48:54 -07:00
JP Abgrall
e98cb71db4 am 03768b36: am b982bce7: Revert "libsysutils: NetlinkEvent: add support for interface xt_IDLETIMER events."
* commit '03768b363cdfbc976ab92a07d70e46b8cd597276':
  Revert "libsysutils: NetlinkEvent: add support for interface xt_IDLETIMER events."
2012-04-27 12:51:23 -07:00
JP Abgrall
03768b363c am b982bce7: Revert "libsysutils: NetlinkEvent: add support for interface xt_IDLETIMER events."
* commit 'b982bce73b7e2c824ffb50115ea382fe45c751a4':
  Revert "libsysutils: NetlinkEvent: add support for interface xt_IDLETIMER events."
2012-04-27 11:49:16 -07:00
Colin Cross
5806066100 am cf417693: am 64753635: am a02ff986: Merge "init: Add noexec mount option"
* commit 'cf41769375f34dbf17de52df02e4881ecfee0c8b':
  init: Add noexec mount option
2012-04-27 00:23:55 -07:00
Colin Cross
cf41769375 am 64753635: am a02ff986: Merge "init: Add noexec mount option"
* commit '647536359f8ea63330805cb77abbf2f101952daa':
  init: Add noexec mount option
2012-04-27 00:21:22 -07:00
Colin Cross
647536359f am a02ff986: Merge "init: Add noexec mount option"
* commit 'a02ff986fc0fe5543bb2168814eee04eac8ef579':
  init: Add noexec mount option
2012-04-27 00:18:26 -07:00
JP Abgrall
b982bce73b Revert "libsysutils: NetlinkEvent: add support for interface xt_IDLETIMER events."
This reverts commit 731d831e91.

Now that the xt_IDLETIMER uses the KOBJECT_UEVENT netlink, this
change is not needed anymore.
2012-04-26 23:52:58 -07:00
Colin Cross
a02ff986fc Merge "init: Add noexec mount option" 2012-04-26 18:10:21 -07:00
Colin Cross
9385e3df64 am e860d239: am 9c1c2059: am 5b3eb07e: Merge "Prevent bit shifting if num bits is negative"
* commit 'e860d239529a484021d779d391c823ca93323ae1':
  Prevent bit shifting if num bits is negative
2012-04-26 16:43:09 -07:00
Colin Cross
e860d23952 am 9c1c2059: am 5b3eb07e: Merge "Prevent bit shifting if num bits is negative"
* commit '9c1c205931311d576442b5025391d851b22afccb':
  Prevent bit shifting if num bits is negative
2012-04-26 16:40:35 -07:00
Colin Cross
9c1c205931 am 5b3eb07e: Merge "Prevent bit shifting if num bits is negative"
* commit '5b3eb07ed730f9765c93afcb7f49559c212fe533':
  Prevent bit shifting if num bits is negative
2012-04-26 16:37:45 -07:00
Colin Cross
5b3eb07ed7 Merge "Prevent bit shifting if num bits is negative" 2012-04-26 13:31:29 -07:00
Todd Poynor
4b6455c515 am 1875930a: (-s ours) am 8d3ea1d1: init: set perms for cpufreq interactive governor boost -- DO NOT MERGE
* commit '1875930a9d24f2b97650bf511c52d197ba0d44d6':
  init: set perms for cpufreq interactive governor boost -- DO NOT MERGE
2012-04-25 21:41:21 -07:00
Kenny Root
4abdbddec1 am d8b46e7f: am f8bbaba5: Add directory for forward locked apps in ASECs
* commit 'd8b46e7fd6769bcae2cdd763a809a265e7a527da':
  Add directory for forward locked apps in ASECs
2012-04-25 21:39:59 -07:00
Jean-Baptiste Queru
280cbdd49b am 75878ecc: Merge from AOSP
* commit '75878eccc219c02eff6363f1b16a8dab07032322':
  Forward compatibility
2012-04-25 21:39:58 -07:00
Todd Poynor
1875930a9d am 8d3ea1d1: init: set perms for cpufreq interactive governor boost -- DO NOT MERGE
* commit '8d3ea1d1e198e71ca3f856c6f397faf40922f562':
  init: set perms for cpufreq interactive governor boost -- DO NOT MERGE
2012-04-25 21:28:04 -07:00
Kenny Root
d8b46e7fd6 am f8bbaba5: Add directory for forward locked apps in ASECs
* commit 'f8bbaba57bf309fec83dc9842176d996831e6db1':
  Add directory for forward locked apps in ASECs
2012-04-25 19:09:46 -07:00
Todd Poynor
8d3ea1d1e1 init: set perms for cpufreq interactive governor boost -- DO NOT MERGE
Change-Id: I6509cda358b4a75706afd01a5b5a36eabe492554
Signed-off-by: Todd Poynor <toddpoynor@google.com>
2012-04-25 18:20:31 -07:00
Kenny Root
f8bbaba57b Add directory for forward locked apps in ASECs
Forward locked apps on internal storage will be stored in ASEC
containers using ext4. This way permissions can be preserved whether on
internal or external storage.

Change-Id: I942f8f0743c210330a11e2b1d0204df7a5ddb2ae
2012-04-25 14:18:25 -07:00
Todd Poynor
e945d7ee9e init: set perms for cpufreq interactive governor boost
Change-Id: I6509cda358b4a75706afd01a5b5a36eabe492554
Signed-off-by: Todd Poynor <toddpoynor@google.com>
2012-04-25 09:40:14 -07:00
Jean-Baptiste Queru
75878eccc2 Merge from AOSP
Change-Id: Iae692bc1c54ffc241fd6853bbbdab19688c4f46b
2012-04-25 09:33:15 -07:00
Jean-Baptiste Queru
a9aa02cc4c am 307d9cfc: Merge from AOSP
* commit '307d9cfc1690ec4982152aae1b6bd24ff8e078ed':
2012-04-24 18:50:18 -07:00
Jean-Baptiste Queru
b579811b01 am 980a59b4: Forward compatibility
* commit '980a59b45dd210d2c2d0d9e61d48899af2d1099f':
  Forward compatibility
2012-04-24 18:50:17 -07:00
Jean-Baptiste Queru
307d9cfc16 Merge from AOSP
Change-Id: Iedb6ea4e1cf66edda8d91e3d432cb010e697ed44
2012-04-24 17:38:54 -07:00
Mathias Agopian
c36cc3b598 Merge "ANativeWindow: add set_active_rect" 2012-04-24 17:30:33 -07:00