Commit graph

7278 commits

Author SHA1 Message Date
Colin Cross
ec04a8d45b am d90b11b6: am 13274a26: Merge "Fix logging errors inside ALOGV"
* commit 'd90b11b6c1905eb7c86dc2cf17314edb37ba4592':
  Fix logging errors inside ALOGV
2014-02-08 05:37:30 +00:00
Elliott Hughes
00010369a6 am 3bff7e3e: am 136a9619: Merge "Use socklen_t instead of int in debuggerd."
* commit '3bff7e3e65d382a8474e0b20dbcf616cfdd82a2d':
  Use socklen_t instead of int in debuggerd.
2014-02-08 05:37:26 +00:00
Colin Cross
d90b11b6c1 am 13274a26: Merge "Fix logging errors inside ALOGV"
* commit '13274a2661eeb9aa4b2f82db6fd11edc22af1d8a':
  Fix logging errors inside ALOGV
2014-02-07 22:38:37 +00:00
Elliott Hughes
3bff7e3e65 am 136a9619: Merge "Use socklen_t instead of int in debuggerd."
* commit '136a961980f4c31da44fa496e0474754d42624e1':
  Use socklen_t instead of int in debuggerd.
2014-02-07 22:35:09 +00:00
Colin Cross
13274a2661 Merge "Fix logging errors inside ALOGV" 2014-02-07 22:31:26 +00:00
Elliott Hughes
136a961980 Merge "Use socklen_t instead of int in debuggerd." 2014-02-07 22:29:19 +00:00
Colin Cross
f4b0b7971c Fix logging errors inside ALOGV
Fix errors exposed by adding checking to disabled ALOGVs.

Change-Id: I36b77bb0ad8dc7661b0f834f20d1179b86134d57
2014-02-07 13:26:04 -08:00
Elliott Hughes
0df8e4f86c Use socklen_t instead of int in debuggerd.
Also other trivial C++ cleanup.

Change-Id: I9b5278c5205e0ea4f9dcbbe3e7b99921dd2436dc
2014-02-07 12:13:30 -08:00
Nick Kralevich
52ca10d15a am e3b1810e: am 71de56a0: Merge "Unify toolbox restorecon and libselinux restorecon implementations."
* commit 'e3b1810e7e15a12512beb285a83a65a803d55366':
  Unify toolbox restorecon and libselinux restorecon implementations.
2014-02-06 23:56:10 +00:00
Nick Kralevich
e3b1810e7e am 71de56a0: Merge "Unify toolbox restorecon and libselinux restorecon implementations."
* commit '71de56a08cac3353334c2253748fdf8c37ec4aa1':
  Unify toolbox restorecon and libselinux restorecon implementations.
2014-02-06 23:48:52 +00:00
Nick Kralevich
71de56a08c Merge "Unify toolbox restorecon and libselinux restorecon implementations." 2014-02-06 23:43:59 +00:00
Stephen Smalley
2761b71d3f Unify toolbox restorecon and libselinux restorecon implementations.
Extend the libselinux restorecon implementation to allow reuse
by the toolbox restorecon command.  This simply requires adding
support for the nochange (-n) and verbose (-v) options to the
libselinux functions and rewriting the toolbox restorecon command
to use the libselinux functions.   Also add a force (-F) option to
support forcing a restorecon_recursive even if the restorecon_last
attribute matches the current file_contexts hash so that we can
continue to force a restorecon via the toolbox command for testing
or when we know something else has changed (e.g. for when we support
relabeling /data/data and package information has changed).

Change-Id: I92bb3259790a7195ba56a5e9555c3b6c76ceb862
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2014-02-06 09:42:04 -05:00
Elliott Hughes
b30b159f70 am 61e92a02: am 68835ee8: Merge "system/core LP64 cleanup."
* commit '61e92a026472786ce81f4738e7d77bcad69697b8':
  system/core LP64 cleanup.
2014-02-06 03:03:52 +00:00
Elliott Hughes
61e92a0264 am 68835ee8: Merge "system/core LP64 cleanup."
* commit '68835ee88b146f654fe3ce007f07ace71266e876':
  system/core LP64 cleanup.
2014-02-06 02:59:38 +00:00
Elliott Hughes
68835ee88b Merge "system/core LP64 cleanup." 2014-02-06 02:12:05 +00:00
Elliott Hughes
5d9fe779c8 system/core LP64 cleanup.
Fixes -Wint-to-pointer and -Wpointer-to-int warnings, plus various -Wformat
warnings.

Change-Id: I6c5eea6b4273d82d28b8e5d2925f3e5457511b17
2014-02-05 18:02:11 -08:00
Elliott Hughes
c7cb88f167 am afdd1915: am eaba2bed: Merge "Revert "Move to the canonical UniquePtr.h.""
* commit 'afdd1915f6f7fd4ea941daac20ba234e981ef376':
  Revert "Move to the canonical UniquePtr.h."
2014-02-04 23:50:38 +00:00
Elliott Hughes
afdd1915f6 am eaba2bed: Merge "Revert "Move to the canonical UniquePtr.h.""
* commit 'eaba2bedf529eeb21351c8bf6365107cb6a4e8b6':
  Revert "Move to the canonical UniquePtr.h."
2014-02-04 23:46:14 +00:00
Elliott Hughes
eaba2bedf5 Merge "Revert "Move to the canonical UniquePtr.h."" 2014-02-04 23:41:58 +00:00
Elliott Hughes
5c4020005b Revert "Move to the canonical UniquePtr.h."
This reverts commit 2a72c575d2.

Change-Id: Idb485f1be2906e8c1c8f0da3df186a7aade027f6
2014-02-04 23:41:22 +00:00
Elliott Hughes
4e9d3ce295 am 0056a41d: am 345fc625: Merge "Move to the canonical UniquePtr.h."
* commit '0056a41d2a1ffd75644451b54e4ccacbbba75a5c':
  Move to the canonical UniquePtr.h.
2014-02-04 23:23:51 +00:00
Elliott Hughes
0056a41d2a am 345fc625: Merge "Move to the canonical UniquePtr.h."
* commit '345fc6252a3e5c6113be893638f4746a54173489':
  Move to the canonical UniquePtr.h.
2014-02-04 23:20:06 +00:00
Elliott Hughes
345fc6252a Merge "Move to the canonical UniquePtr.h." 2014-02-04 23:15:52 +00:00
Elliott Hughes
2a72c575d2 Move to the canonical UniquePtr.h.
Change-Id: I5330c36d2b571acb6d3debd30b8020e33aa8a4a7
2014-02-04 11:58:51 -08:00
Mark Salyzyn
925a3cd95a am ddf872c0: am 5931ea86: Merge "libsysutil: frequent native crash /system/bin/vold"
* commit 'ddf872c0fb3e2a9cf9bfb197842d9bb4ccc164cd':
  libsysutil: frequent native crash /system/bin/vold
2014-02-04 19:26:38 +00:00
Mark Salyzyn
ddf872c0fb am 5931ea86: Merge "libsysutil: frequent native crash /system/bin/vold"
* commit '5931ea864599fc3ce29ed3b1ff8d4ff65413a168':
  libsysutil: frequent native crash /system/bin/vold
2014-02-04 19:24:20 +00:00
Mark Salyzyn
5931ea8645 Merge "libsysutil: frequent native crash /system/bin/vold" 2014-02-04 19:16:28 +00:00
Nick Kralevich
fbca9d9449 am 7e3d72d9: am ba023b06: Merge "Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file."
* commit '7e3d72d974d21932c2a6a0323c59fed2f689d323':
  Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file.
2014-02-04 18:43:06 +00:00
Nick Kralevich
7e3d72d974 am ba023b06: Merge "Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file."
* commit 'ba023b063d25b73923f2df536b6258967f756ff6':
  Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file.
2014-02-04 18:37:36 +00:00
Nick Kralevich
ba023b063d Merge "Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file." 2014-02-04 18:31:51 +00:00
Christopher Ferris
10c2607c3c am 77b23023: am 3faf86c0: Merge "Call a specialized local map set."
* commit '77b230233178e853dccfe9ca0ee52c78e2a2579b':
  Call a specialized local map set.
2014-02-03 00:47:37 +00:00
Christopher Ferris
2765ec1434 am f355750d: am c47aa3bd: Merge "Fix mips build."
* commit 'f355750defa34d2e28d51a220947fea59c4f4429':
  Fix mips build.
2014-02-03 00:47:36 +00:00
Elliott Hughes
f51bee45b0 am 784b6181: am cf53e5db: Merge "Fix debuggerd\'s symbol offset output."
* commit '784b6181cfd2a0362f35d32ee62a98ab60437397':
  Fix debuggerd's symbol offset output.
2014-02-03 00:47:36 +00:00
Christopher Ferris
77b2302331 am 3faf86c0: Merge "Call a specialized local map set."
* commit '3faf86c0d4b98e7d26edbe8d1c8a8a231c86a234':
  Call a specialized local map set.
2014-02-03 00:45:02 +00:00
Christopher Ferris
f355750def am c47aa3bd: Merge "Fix mips build."
* commit 'c47aa3bd2acde49f858b21bcafd750b2981df7c0':
  Fix mips build.
2014-02-03 00:45:02 +00:00
Elliott Hughes
784b6181cf am cf53e5db: Merge "Fix debuggerd\'s symbol offset output."
* commit 'cf53e5dbdfa06a16104f4ffa03aeeb538fbd1509':
  Fix debuggerd's symbol offset output.
2014-02-03 00:45:01 +00:00
Christopher Ferris
3faf86c0d4 Merge "Call a specialized local map set." 2014-02-01 22:18:02 +00:00
Christopher Ferris
c47aa3bd2a Merge "Fix mips build." 2014-02-01 22:13:17 +00:00
Christopher Ferris
c53c47364f Fix mips build.
Change-Id: I5401ae6ca6553ebbec231166820c1c904355ec63
2014-02-01 12:23:03 -08:00
Christopher Ferris
73dc1cc3fb Call a specialized local map set.
Bug: 12852152
Change-Id: I8a0c558bc218805b0e06371af0af055e4aa6e0bb
2014-02-01 11:53:33 -08:00
Elliott Hughes
cf53e5dbdf Merge "Fix debuggerd's symbol offset output." 2014-02-01 07:48:24 +00:00
Elliott Hughes
f7b4b519e4 Fix debuggerd's symbol offset output.
Before:
  00007fff33e489d8  00007ff286e4ad94  /system/lib64/libc.so (__libc_init+54u)

After:
  00007fff45c6c158  00007f61bc36fd94  /system/lib64/libc.so (__libc_init+84)

Change-Id: I36796c99843a41583824a96793a5a4c81ddb666e
2014-01-31 23:13:55 -08:00
Elliott Hughes
5cbb68cf89 am da9b5dab: am 434edbe6: Merge "LP64 should have debuggerd and debuggerd64."
* commit 'da9b5dab2d565f9682fe1fb3555702bf82334ab4':
  LP64 should have debuggerd and debuggerd64.
2014-02-01 01:36:59 +00:00
Elliott Hughes
da9b5dab2d am 434edbe6: Merge "LP64 should have debuggerd and debuggerd64."
* commit '434edbe6fffb9445316567ac6de3f407c005b37b':
  LP64 should have debuggerd and debuggerd64.
2014-02-01 01:33:51 +00:00
Elliott Hughes
434edbe6ff Merge "LP64 should have debuggerd and debuggerd64." 2014-02-01 01:28:03 +00:00
Elliott Hughes
e9edf7a0ef LP64 should have debuggerd and debuggerd64.
Change-Id: I4e39c200e6867bb9a5bbcfec1c449b8864028feb
2014-01-31 17:15:10 -08:00
Elliott Hughes
f1935b6d93 am 2e9dcd21: am 1bc6169f: Merge "Remove dead code that looked like part of debuggerd."
* commit '2e9dcd21d3be51297eff22a15c42f55904da0f4b':
  Remove dead code that looked like part of debuggerd.
2014-02-01 00:46:09 +00:00
Mark Salyzyn
4389588e8d libsysutil: frequent native crash /system/bin/vold
regression from commit a6e965578e44f9ae5f98de822ba5decec381dffc

* wrap writev with sigaction SIG_IGN SIGPIPE to emulate the
  send(,,,MSG_NOSIGNAL) call it had replaced.

(cherry pick from commit 83fc720785)

BUG: 12796279
Change-Id: I14363630ada79c0a5b85bb6b2afd0a1c4d5c3109
2014-01-31 15:27:14 -08:00
Elliott Hughes
2e9dcd21d3 am 1bc6169f: Merge "Remove dead code that looked like part of debuggerd."
* commit '1bc6169f80fb02957695351ce8b4f49d0c019382':
  Remove dead code that looked like part of debuggerd.
2014-01-31 23:21:36 +00:00
Elliott Hughes
1bc6169f80 Merge "Remove dead code that looked like part of debuggerd." 2014-01-31 23:11:44 +00:00