Commit graph

5737 commits

Author SHA1 Message Date
Elliott Hughes
8ab9ece2e9 am 162c9a24: Merge "Switch MIPS over to <sys/user.h>."
* commit '162c9a247b2f62065c997c1085637f28e0fcde94':
  Switch MIPS over to <sys/user.h>.
2013-11-20 12:33:55 -08:00
Elliott Hughes
162c9a247b Merge "Switch MIPS over to <sys/user.h>." 2013-11-20 20:31:21 +00:00
Elliott Hughes
76e7f5e508 Switch MIPS over to <sys/user.h>.
Bug: 11559337
Change-Id: I47ce51ec2d45d9cfdfbb6cccce93a66b0f02d967
2013-11-20 11:31:29 -08:00
Lorenzo Colitti
85fddd867b am cbc32e9f: Merge "Support parsing RDNSS ND options from netlink."
* commit 'cbc32e9f7e95d9c35ec5d855a13fd9346e9f55bf':
  Support parsing RDNSS ND options from netlink.
2013-11-19 18:38:17 -08:00
Lorenzo Colitti
6231f7f07b am 71dd5ba4: Merge "Switch back to subsystem "net" for netlink events."
* commit '71dd5ba4647fdecde0a44793f246fb0274159cbe':
  Switch back to subsystem "net" for netlink events.
2013-11-19 18:38:16 -08:00
Lorenzo Colitti
ee676317b0 am a0b3fef0: Merge "Get rid of an infinite loop in NetlinkEvent.cpp."
* commit 'a0b3fef0b78e8c6ef38eac6bcd6da7db6a841522':
  Get rid of an infinite loop in NetlinkEvent.cpp.
2013-11-19 18:38:16 -08:00
Lorenzo Colitti
740bf8da31 am 8c099bc2: Merge "Parse IP address changes in NetlinkEvent."
* commit '8c099bc206094dd229f4468b85c23b8639fb05ea':
  Parse IP address changes in NetlinkEvent.
2013-11-19 18:38:15 -08:00
Lorenzo Colitti
cbc32e9f7e Merge "Support parsing RDNSS ND options from netlink." 2013-11-20 02:22:19 +00:00
Lorenzo Colitti
71dd5ba464 Merge "Switch back to subsystem "net" for netlink events." 2013-11-20 02:22:01 +00:00
Lorenzo Colitti
a0b3fef0b7 Merge "Get rid of an infinite loop in NetlinkEvent.cpp." 2013-11-20 02:21:44 +00:00
Lorenzo Colitti
8c099bc206 Merge "Parse IP address changes in NetlinkEvent." 2013-11-20 02:21:30 +00:00
Lorenzo Colitti
c7eec83f08 Support parsing RDNSS ND options from netlink.
The RDNSS options (RFC 6106) used to configure DNS servers via
router advertisements are passed from the kernel to userspace via
RTM_NEWNDUSEROPT netlink messages. Add code to NetlinkEvent to
parse them.

Also fix a compiler warning and a couple of style issues.

[Cherry-pick of b185e90dcc]

Bug: 9180552
Change-Id: I6c532c8f0ceef3afdc977a431a036df398013e1a
2013-11-20 10:31:19 +09:00
Lorenzo Colitti
526b838c9d Switch back to subsystem "net" for netlink events.
The change to enable address tracking via netlink incorrectly
changed the subsystem of rtnetlink events from "net" to
"interface". This broke interface add/delete notifications,
which come from the kernel with subsystem "net".

Switch back to "net" and deal with address tracking via new
action codes instead of a new subsystem.

[Cherry-pick of f34861346d]

Bug: 10433320
Change-Id: Ibf30efb426949dfd02304cc1d9adb1c005a539a6
2013-11-20 10:29:42 +09:00
Lorenzo Colitti
9683456934 Get rid of an infinite loop in NetlinkEvent.cpp.
[Cherry-pick of 3984276ce4]

Bug: 10358527
Bug: 10263310
Bug: 10232006
Change-Id: I750e4bdf2000040adf214d6a772591d7bd25b350
2013-11-20 10:29:19 +09:00
Lorenzo Colitti
381f70f52a Parse IP address changes in NetlinkEvent.
This adds support for parsing RTM_NEWADDR and RTM_DELADDR
netlink messages received on netd's netlink socket and
formatting them them so NetlinkHandler can process them.

Address changes are notified in subsystem "address". Interface
changes, which used to be notified in subsystem "net", are now
notified in subsystem "interface" to avoid confusion.

[Cherry-pick of a4b4e9ad8e]

Bug: 10232006
Change-Id: I93a50e8de17014e118a42f5cc0eb90a0cbfa73cc
2013-11-20 10:29:05 +09:00
Elliott Hughes
bf8e9342da am 3fa14a53: Merge "Remove x86 debuggerd dependencies on non-uapi headers and corkscrew."
* commit '3fa14a53e70cd55df031646fe3735a6fde37deb8':
  Remove x86 debuggerd dependencies on non-uapi headers and corkscrew.
2013-11-14 21:50:56 -08:00
Elliott Hughes
3fa14a53e7 Merge "Remove x86 debuggerd dependencies on non-uapi headers and corkscrew." 2013-11-15 05:48:27 +00:00
Elliott Hughes
18ddd42092 Remove x86 debuggerd dependencies on non-uapi headers and corkscrew.
Also remove a hack that claims to be "just like ARM", but which was
different from the ARM and MIPS behavior.

Change-Id: I9b16da9a56430998ded27d304ce52c7cc8bfedfc
2013-11-14 17:06:46 -08:00
Elliott Hughes
d97a34af49 am 60e7d495: Merge "Fix libnetutils to build with clean uapi headers."
* commit '60e7d49557a4a330285f9bcd76f0dfae9c1855ae':
  Fix libnetutils to build with clean uapi headers.
2013-11-12 14:55:33 -08:00
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
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
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
4ae94541b8 am 62ea993a: Merge "Revert enabling libunwind."
* commit '62ea993a6997701dba7735ca4a4af6fc6cabac2c':
  Revert enabling libunwind.
2013-11-07 09:01:20 -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
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
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
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
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