Commit graph

6688 commits

Author SHA1 Message Date
Elliott Hughes
60e7d49557 Merge "Fix libnetutils to build with clean uapi headers." 2013-11-12 21:56:01 +00:00
Elliott Hughes
2d640c2640 Fix libnetutils to build with clean uapi headers.
(And old ones too.)

Bug: 11559337
Change-Id: Ie61218055bbe07655a9d53c539aa47b85098e42c
2013-11-12 13:05:01 -08:00
Elliott Hughes
36ff3bd273 am e8c6d15b: am 59644a6c: Merge "Fix nandread to build with old or uapi headers."
* commit 'e8c6d15b1892ffd09dae8ac7922854140a11130d':
  Fix nandread to build with old or uapi headers.
2013-11-11 16:33:30 -08:00
Elliott Hughes
e8c6d15b18 am 59644a6c: Merge "Fix nandread to build with old or uapi headers."
* commit '59644a6c7182db6caf53dc61f448f2c68ff569be':
  Fix nandread to build with old or uapi headers.
2013-11-11 16:31:57 -08:00
Elliott Hughes
59644a6c71 Merge "Fix nandread to build with old or uapi headers." 2013-11-12 00:29:10 +00:00
Elliott Hughes
b05a2e5130 Fix nandread to build with old or uapi headers.
Bug: 11559337
Change-Id: I9795a16649dafdfe3df150170265157170cd5a79
2013-11-11 16:17:49 -08:00
Christopher Ferris
90e67bcdc3 am d36bfc30: am e6279294: Merge "Revert "Revert enabling libunwind.""
* commit 'd36bfc30ae5fa86b4c3fd8248e5ee16f479250b6':
  Revert "Revert enabling libunwind."
2013-11-07 19:16:25 -08:00
Christopher Ferris
d36bfc30ae am e6279294: Merge "Revert "Revert enabling libunwind.""
* commit 'e627929490dfb92ab51ec6feb259d793a4a9f394':
  Revert "Revert enabling libunwind."
2013-11-07 19:14:31 -08:00
Christopher Ferris
e627929490 Merge "Revert "Revert enabling libunwind."" 2013-11-08 03:12:04 +00:00
Christopher Ferris
e6feaeeda1 Revert "Revert enabling libunwind."
This reverts commit db2309e3d1.

Change-Id: I1626442f029473066ce20921667a406f1a1ea865
2013-11-08 02:59:52 +00:00
Elliott Hughes
8ddd08b1f2 am 4ae94541: am 62ea993a: Merge "Revert enabling libunwind."
* commit '4ae94541b82dde787b0e2c46f1a4f2524572c1c4':
  Revert enabling libunwind.
2013-11-07 09:41:57 -08:00
Elliott Hughes
4ae94541b8 am 62ea993a: Merge "Revert enabling libunwind."
* commit '62ea993a6997701dba7735ca4a4af6fc6cabac2c':
  Revert enabling libunwind.
2013-11-07 09:01:20 -08:00
Elliott Hughes
2ee985913f am fde641ee: am 30296f28: Merge "Let external/mksh install directly into /system/bin/sh."
* commit 'fde641ee24b7a0a5d1fb6e2532153f1bb8504aea':
  Let external/mksh install directly into /system/bin/sh.
2013-11-07 08:59:22 -08:00
Christopher Ferris
c3920dee10 am 11d04d04: am 351b0123: Merge "Enable libunwind on arm platforms."
* commit '11d04d04418503e2381cf4479a105efaf7c13992':
  Enable libunwind on arm platforms.
2013-11-07 08:59:22 -08:00
Elliott Hughes
62ea993a69 Merge "Revert enabling libunwind." 2013-11-07 16:44:53 +00:00
Elliott Hughes
fde641ee24 am 30296f28: Merge "Let external/mksh install directly into /system/bin/sh."
* commit '30296f2801ee692a01c3a4698f50ca01fa238fd1':
  Let external/mksh install directly into /system/bin/sh.
2013-11-07 08:35:18 -08:00
Christopher Ferris
11d04d0441 am 351b0123: Merge "Enable libunwind on arm platforms."
* commit '351b0123084570f8274ad3de44d515754c4b3add':
  Enable libunwind on arm platforms.
2013-11-07 08:35:16 -08:00
Christopher Ferris
db2309e3d1 Revert enabling libunwind.
It appears that some branches might not have libunwind set up properly.

Change-Id: Ia72889e115bc2791c7a9e67563c5f4a62197cafd
2013-11-07 08:12:10 -08:00
Elliott Hughes
30296f2801 Merge "Let external/mksh install directly into /system/bin/sh." 2013-11-07 16:08:12 +00:00
Christopher Ferris
351b012308 Merge "Enable libunwind on arm platforms." 2013-11-07 15:16:11 +00:00
Christopher Ferris
aca6a4c8af am 5e860ce2: am d6f9be1b: Merge "Fix include files in backtrace.h."
* commit '5e860ce246b9235debc6a04325c7c1983c2b277e':
  Fix include files in backtrace.h.
2013-11-06 17:47:16 -08:00
Christopher Ferris
5e860ce246 am d6f9be1b: Merge "Fix include files in backtrace.h."
* commit 'd6f9be1b9a2fc5880b0bcbb0fa47267a14fdc734':
  Fix include files in backtrace.h.
2013-11-06 17:45:08 -08:00
Christopher Ferris
d6f9be1b9a Merge "Fix include files in backtrace.h." 2013-11-07 01:42:48 +00:00
Christopher Ferris
e57912da92 Fix include files in backtrace.h.
(cherry picked from commit 0893258222)

Change-Id: I37a78a9472b94ae84a84d871bfa9a070ff882699
2013-11-06 17:34:38 -08:00
Christopher Ferris
22f91cb3a1 Enable libunwind on arm platforms.
Bug: 8410085
Change-Id: I8a645ec0e04b38fc186bbc0f0cc597e31b05cc55
2013-11-06 15:40:23 -08:00
Christopher Ferris
dee1842d2f am adbb3352: am a2d1469c: Merge "Use new defines in test code."
* commit 'adbb3352e9ce98e2012fa136198daa8342bdac00':
  Use new defines in test code.
2013-11-05 12:19:00 -08:00
Christopher Ferris
adbb3352e9 am a2d1469c: Merge "Use new defines in test code."
* commit 'a2d1469c773d809261d830d2f3cb3f6a7b6cdade':
  Use new defines in test code.
2013-11-05 12:17:10 -08:00
Christopher Ferris
a2d1469c77 Merge "Use new defines in test code." 2013-11-05 20:15:29 +00:00
Christopher Ferris
7f081ec079 Use new defines in test code.
In addition, fix up the warnings and remove the -fpermissive when
compiling.

Change-Id: Ia27b902499b34ff3d881acb9057120af390baf2c
2013-11-05 12:13:05 -08:00
Christopher Ferris
2e47c8ac74 am 1e1bae1b: am c2945850: Merge "Add some clarifying defines."
* commit '1e1bae1b0fc750f60ef9a2531850bbcf27ba6610':
  Add some clarifying defines.
2013-11-05 11:48:55 -08:00
Christopher Ferris
1e1bae1b0f am c2945850: Merge "Add some clarifying defines."
* commit 'c2945850e58f4ef50f3e3534ce50306262375d37':
  Add some clarifying defines.
2013-11-05 11:44:33 -08:00
Christopher Ferris
c2945850e5 Merge "Add some clarifying defines." 2013-11-05 19:29:36 +00:00
Elliott Hughes
09b3598761 Let external/mksh install directly into /system/bin/sh.
Change-Id: I3ac60af2b5c6bba98c33cb63952eb4d35676d73f
2013-11-05 11:12:56 -08:00
Christopher Ferris
cbfc7302fb Add some clarifying defines.
In order to be explicit in the Backtrace::Create() calls, adding a couple
of defines and some comments to describe what they mean.

Change-Id: I6ad08c529791821496a95fa33cea1c95b0a7eada
2013-11-05 11:05:32 -08:00
Elliott Hughes
f6e11efd07 am f4b3b73e: am c8626ba4: Merge "Dispose of ash."
* commit 'f4b3b73e95422afe79d5c5e7d28b0fcdfeaa7e88':
  Dispose of ash.
2013-11-05 10:31:46 -08:00
Christopher Ferris
4ddea7f44c am d5a7c371: am 408b3acf: Merge "Add corkscrew support for finding static symbols."
* commit 'd5a7c371d22ea327be03bfa10944e5f0f2d51a24':
  Add corkscrew support for finding static symbols.
2013-11-05 10:31:45 -08:00
Elliott Hughes
f4b3b73e95 am c8626ba4: Merge "Dispose of ash."
* commit 'c8626ba480c0e2cab4f4d2fe43bd8f741320b404':
  Dispose of ash.
2013-11-05 10:30:02 -08:00
Christopher Ferris
d5a7c371d2 am 408b3acf: Merge "Add corkscrew support for finding static symbols."
* commit '408b3acf5e0b0d353cf8b64598f285141d1a0116':
  Add corkscrew support for finding static symbols.
2013-11-05 10:29:46 -08:00
Elliott Hughes
c8626ba480 Merge "Dispose of ash." 2013-11-05 18:00:27 +00:00
Elliott Hughes
f6e21e06e3 Dispose of ash.
We haven't used ash for several releases. Remove ash and its
companion liblinenoise.

I've left the support for an alternative shell here for now,
but we can move that out to external/mksh later if we want.
(For now this seemed like a somewhat useful signpost to the real shell.)

Change-Id: I634c7969f6cbe375a2bc56fc1077e64888380f3d
2013-11-05 09:44:57 -08:00
Christopher Ferris
408b3acf5e Merge "Add corkscrew support for finding static symbols." 2013-11-04 23:19:53 +00:00
Christopher Ferris
923b536920 Add corkscrew support for finding static symbols.
Change-Id: Ie557a9b0efadece75e1accaa7e214fb559eb19e1
2013-11-04 14:50:36 -08:00
Shuo Gao
eb0eb4f79f fix corruption in Vector<> when malloc falied
1. When alloc or realloc failed in the function SharedBuffer::editResize,
it would return a NULL pointer, then mStorage would update to be 1 by
SharedBuffer::data() if no pointer check here, which is an obviously
wrong address, and would cause corruption when used it e.g. in capacity().

So add the pointer check here for the return value of SharedBuffer::editResize,
if it's NULL do not use it to update mStorage, to avoid the value of mStorage
polluted.

2. when alloc or realloc falied in _grow & _shrink function, mStorage keep
the original value, so mCount should not be updated here.

Otherwise, mStorage might be 0 but mCount>0, so a corruption would happend
when it try to delete items from the Vector since mCount>0.

Change-Id: I7c3814e843c459834ca5eed392e8d63d1cb7d2d8
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Jian Luo <jian.luo@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 139626
2013-10-30 23:24:29 -07:00
Igor Murashkin
d3beee649f am e65b7ea8: utils: Fix broken sdk build on windows
* commit 'e65b7ea8801145626504c724c28aedd0e5038a28':
  utils: Fix broken sdk build on windows
2013-10-30 18:35:39 -07:00
Igor Murashkin
e65b7ea880 utils: Fix broken sdk build on windows
Bug: 11324229
Change-Id: Ia50e79b5e2430faea77b0c98902e8e018fb9ceff
2013-10-30 18:09:52 -07:00
Igor Murashkin
ce510d40c2 am 81f2c3d2: utils: Fix broken build
* commit '81f2c3d2117cfe7307ee6efbd82567bd02950965':
  utils: Fix broken build
2013-10-30 16:15:57 -07:00
Igor Murashkin
81f2c3d211 utils: Fix broken build
Bug: 11324229
Change-Id: I7e4f514c5531e4c0c11bb0ba5d67e4dabbcd5792
2013-10-30 16:05:45 -07:00
Chris Dearman
b518aeb5e3 Force alignment of data buffer used to process netlink messages
This avoids any overhead associated with accessing unaligned data
while processing netlink messages.

Change-Id: I1ea13051816ef46b6627594121d98cda130ac609
2013-10-30 15:42:26 -07:00
Christopher Ferris
6b7b65417a am b5c24e09: am 8c58086c: Merge "More libbacktrace fixes."
* commit 'b5c24e096d34e0f096d574f2aa799cd2dc6fc7db':
  More libbacktrace fixes.
2013-10-30 14:31:48 -07:00
Christopher Ferris
b5c24e096d am 8c58086c: Merge "More libbacktrace fixes."
* commit '8c58086c54a23d33e915852a1355a171b09679cc':
  More libbacktrace fixes.
2013-10-30 14:29:51 -07:00