OSDN Git Service
Dimitry Ivanov [Thu, 14 Apr 2016 21:33:16 +0000 (21:33 +0000)]
Remove dangling links in secondary namespaces
am:
0551c1d
* commit '
0551c1d47bad202ce6dd90757067bc0fd217497a':
Remove dangling links in secondary namespaces
Change-Id: I7369d6cb16262b6cb175fb95c01f297d83f5f4f9
Dimitry Ivanov [Thu, 14 Apr 2016 20:08:09 +0000 (20:08 +0000)]
Merge "Remove dangling links in secondary namespaces" am:
82a176b
am:
12e83a9
* commit '
12e83a9a5654a48c0fc806e40391000c88781903':
Remove dangling links in secondary namespaces
Change-Id: I6c382f10e52191e482dc631bc8e855114a6cf9a5
Dimitry Ivanov [Thu, 14 Apr 2016 20:04:44 +0000 (20:04 +0000)]
Merge "Remove dangling links in secondary namespaces"
am:
82a176b
* commit '
82a176b55497c0d56351ad4c66cf4cf4b349408d':
Remove dangling links in secondary namespaces
Change-Id: I100dd32c9f8d5d98e072aa0b7388c74a5bbcc3a8
Dimitry Ivanov [Mon, 11 Apr 2016 19:42:58 +0000 (12:42 -0700)]
Remove dangling links in secondary namespaces
linker didn't remove link to the soinfo from shared
namespaces on soinfo_unload, because it didn't keep
record of all namespaces the library is added to.
This change adds test for this and also fixes the
problem by introducing list of secondary namespaces
to soinfo, which is used to remove soinfo in
soinfo::remove_all_links().
Bug: http://b/
28115950
Change-Id: Ifbf6e54f92fa6e88f86b6a8dd6dc22d4553afd22
(cherry picked from commit
aca299ac4721809d6fc61e25c505bb59acd23fbc)
Dimitry Ivanov [Thu, 14 Apr 2016 19:47:57 +0000 (19:47 +0000)]
Merge "Remove dangling links in secondary namespaces"
Dimitry Ivanov [Mon, 11 Apr 2016 19:42:58 +0000 (12:42 -0700)]
Remove dangling links in secondary namespaces
linker didn't remove link to the soinfo from shared
namespaces on soinfo_unload, because it didn't keep
record of all namespaces the library is added to.
This change adds test for this and also fixes the
problem by introducing list of secondary namespaces
to soinfo, which is used to remove soinfo in
soinfo::remove_all_links().
Bug: http://b/
28115950
Change-Id: Ifbf6e54f92fa6e88f86b6a8dd6dc22d4553afd22
Treehugger Robot [Thu, 14 Apr 2016 04:40:28 +0000 (04:40 +0000)]
Merge "linker: remove unnecessary reset of constructors_called flag" am:
30bc91a
am:
5d02df3
* commit '
5d02df36da3c28f240fd518242110a39388782f0':
linker: remove unnecessary reset of constructors_called flag
Change-Id: I1e5235ce78bc2e2d740c55dd517ca178aae2fb16
Dimitry Ivanov [Thu, 14 Apr 2016 04:37:15 +0000 (04:37 +0000)]
Merge "linker: remove unnecessary reset of constructors_called flag"
am:
30bc91a
* commit '
30bc91a083e45acfded89604474189628e5c1259':
linker: remove unnecessary reset of constructors_called flag
Change-Id: I4cd52d026060221fe421636e434c84138f46341b
Treehugger Robot [Thu, 14 Apr 2016 04:30:54 +0000 (04:30 +0000)]
Merge "linker: remove unnecessary reset of constructors_called flag"
Treehugger Robot [Thu, 14 Apr 2016 00:48:18 +0000 (00:48 +0000)]
Merge "Move linker-namespace functions to LIBC_PLATFORM" am:
0e3b719
am:
88b2975
* commit '
88b29753526caf65f168787908587d949d72e6d4':
Move linker-namespace functions to LIBC_PLATFORM
Change-Id: I5f8f5aebd46627808bd9349724d14b95d3f9dc22
Dimitry Ivanov [Thu, 14 Apr 2016 00:43:15 +0000 (00:43 +0000)]
Merge "Move linker-namespace functions to LIBC_PLATFORM"
am:
0e3b719
* commit '
0e3b719bfa84cfe35188513cf6fcbf5b44ea1c43':
Move linker-namespace functions to LIBC_PLATFORM
Change-Id: Ia508e1788339a79df128a9badd5788a19046090a
Treehugger Robot [Thu, 14 Apr 2016 00:36:44 +0000 (00:36 +0000)]
Merge "Move linker-namespace functions to LIBC_PLATFORM"
Dimitry Ivanov [Wed, 13 Apr 2016 23:55:13 +0000 (23:55 +0000)]
Move linker-namespace functions to LIBC_PLATFORM
am:
7095da8
* commit '
7095da8d3c0f45e41aff5ca3d61aa7c442e21bdf':
Move linker-namespace functions to LIBC_PLATFORM
Change-Id: I3e190c3af8597e21e8a5ba62839bed15dda6b6f9
Dimitry Ivanov [Wed, 13 Apr 2016 22:01:37 +0000 (15:01 -0700)]
Move linker-namespace functions to LIBC_PLATFORM
Bug: http://b/
28174921
Change-Id: I089dbeeea813fc2128b9c2f6268a578d23a1954a
(cherry picked from commit
7095da8d3c0f45e41aff5ca3d61aa7c442e21bdf)
Dimitry Ivanov [Wed, 13 Apr 2016 21:47:36 +0000 (14:47 -0700)]
linker: remove unnecessary reset of constructors_called flag
linker doesn't call d-tors for RTLD_NODELETE libraries. There is
no need in reseting this flag in call_destructors (which is called
from soinfo_unload).
Change-Id: I3ed03fa7207b7acf598067276fbb8874e29b5e53
Dimitry Ivanov [Wed, 13 Apr 2016 22:01:37 +0000 (15:01 -0700)]
Move linker-namespace functions to LIBC_PLATFORM
Bug: http://b/
28174921
Change-Id: I089dbeeea813fc2128b9c2f6268a578d23a1954a
Treehugger Robot [Wed, 13 Apr 2016 21:10:52 +0000 (21:10 +0000)]
Merge "linker: unload RTLD_NODELETE libraries when loading fails" am:
3ae69aa
am:
7edfe08
* commit '
7edfe08e5f8a8cebb55359b68fe3c2a762345d23':
linker: unload RTLD_NODELETE libraries when loading fails
Change-Id: I13ad5bc7090820dd187287e62e76aaee8574b8d8
Dimitry Ivanov [Wed, 13 Apr 2016 21:07:22 +0000 (21:07 +0000)]
Merge "linker: unload RTLD_NODELETE libraries when loading fails"
am:
3ae69aa
* commit '
3ae69aab0eabc635f0801fa157cce3a04b6ed08d':
linker: unload RTLD_NODELETE libraries when loading fails
Change-Id: Iaeade4d35daa123fa196254d41f50aa12b0b48c1
Treehugger Robot [Wed, 13 Apr 2016 20:55:20 +0000 (20:55 +0000)]
Merge "linker: unload RTLD_NODELETE libraries when loading fails"
Dimitry Ivanov [Wed, 13 Apr 2016 20:42:00 +0000 (20:42 +0000)]
linker: unload RTLD_NODELETE libraries when loading fails
am:
79abce4
* commit '
79abce42146b27d523f309e0a1bc9f50175191cb':
linker: unload RTLD_NODELETE libraries when loading fails
Change-Id: I6af22f4a240e689d29bfcf13fbf349f1574ab629
Dimitry Ivanov [Wed, 13 Apr 2016 18:46:59 +0000 (11:46 -0700)]
linker: unload RTLD_NODELETE libraries when loading fails
Linker was not unloading libraries marked with RTLD_NODELETE
even when there was a error on load. For example when one of
dt_needed libraries was not found.
Bug: http://b/
27911891
Change-Id: Ibc0bf110aa41fbfdc9f327ad8c364f2e3600af71
(cherry picked from commit
79abce42146b27d523f309e0a1bc9f50175191cb)
Dimitry Ivanov [Wed, 13 Apr 2016 18:46:59 +0000 (11:46 -0700)]
linker: unload RTLD_NODELETE libraries when loading fails
Linker was not unloading libraries marked with RTLD_NODELETE
even when there was a error on load. For example when one of
dt_needed libraries was not found.
Bug: http://b/
27911891
Change-Id: Ibc0bf110aa41fbfdc9f327ad8c364f2e3600af71
Dimitry Ivanov [Wed, 13 Apr 2016 00:11:14 +0000 (00:11 +0000)]
Add libgui.so to the grey-list
am:
8e3a3fb
* commit '
8e3a3fb4f2b7b5183c00e299e9ab17fffced1124':
Add libgui.so to the grey-list
Change-Id: Ifbf5d94321b4580b9912779d8a0782e854b51874
Christopher Ferris [Tue, 12 Apr 2016 22:52:35 +0000 (22:52 +0000)]
Merge "Small refactor." am:
868b6fa
am:
948ea20
* commit '
948ea2091755f8871ed2ac02bc662fae225cb821':
Small refactor.
Change-Id: I20ddb9ec2249251853048acb36f766de6b254f17
Christopher Ferris [Tue, 12 Apr 2016 22:49:15 +0000 (22:49 +0000)]
Merge "Small refactor."
am:
868b6fa
* commit '
868b6fa4261a1d09e016cab6f43dada0273694b8':
Small refactor.
Change-Id: I17fb656811f972f9cacc0ad36b4dc0eaf4f65375
Christopher Ferris [Tue, 12 Apr 2016 22:39:48 +0000 (22:39 +0000)]
Merge "Small refactor."
Christopher Ferris [Fri, 8 Apr 2016 00:14:53 +0000 (17:14 -0700)]
Small refactor.
- Move all ScopedDisableDebugCalls into the debug_XXX calls. This avoids
any issues that might arise where every part of the code needs to properly
guard anything that might allocate. Instead everything is already guarded.
- Add a pointer to debug_data in all of the XXData classes. This avoids
calling individual functions passing in the debug_data pointer.
- Flip the NO_HEADER_OPTIONS to an explicit HEADER_OPTIONS list since fewer
options actually require a header.
- Move the extern of g_debug to the DebugData.h header.
Change-Id: Ia213a391b4a44d9ce122a709d09fe4f1b5426f36
Elliott Hughes [Tue, 12 Apr 2016 22:14:35 +0000 (22:14 +0000)]
Merge "Add a test for pthread_setname_np on another thread in a PR_SET_DUMPABLE 0 process." am:
03a16d3
am:
dcc21ae
* commit '
dcc21ae8ba27476f419ab514ac419dc379010efc':
Add a test for pthread_setname_np on another thread in a PR_SET_DUMPABLE 0 process.
Change-Id: I284e1d008d16499fc7c9e215be8df6b15df11d98
Elliott Hughes [Tue, 12 Apr 2016 22:11:49 +0000 (22:11 +0000)]
Merge "Add a test for pthread_setname_np on another thread in a PR_SET_DUMPABLE 0 process."
am:
03a16d3
* commit '
03a16d3db7c5fff733d28250212821ec2ff5eccd':
Add a test for pthread_setname_np on another thread in a PR_SET_DUMPABLE 0 process.
Change-Id: Ifb5ee6bd879e046d8dc4876fcd571f4a89589286
Colin Cross [Tue, 12 Apr 2016 22:11:49 +0000 (22:11 +0000)]
Merge "Rename deps property to objs in cc_objects" am:
966e1ac
am:
b58978d
* commit '
b58978df585eba0c3c51e9899774301f741d9040':
Rename deps property to objs in cc_objects
Change-Id: Ide379dec5413a350e097895463b2653dadb3a349
Elliott Hughes [Tue, 12 Apr 2016 21:59:12 +0000 (21:59 +0000)]
Merge "Add a test for pthread_setname_np on another thread in a PR_SET_DUMPABLE 0 process."
Dimitry Ivanov [Tue, 12 Apr 2016 21:53:06 +0000 (14:53 -0700)]
Add libgui.so to the grey-list
Bug: http://b/
28151000
Change-Id: I7ba8f78df7dbf32de4839cc5a95ef10e8444715c
Colin Cross [Tue, 12 Apr 2016 21:27:27 +0000 (21:27 +0000)]
Merge "Rename deps property to objs in cc_objects"
am:
966e1ac
* commit '
966e1ac7615598a5fb3b01c1385f223f217d04e5':
Rename deps property to objs in cc_objects
Change-Id: Ie3ef8f69e52a8b6cb6f6468cd2d58bf242fd4c0c
Colin Cross [Tue, 12 Apr 2016 21:16:04 +0000 (21:16 +0000)]
Merge "Rename deps property to objs in cc_objects"
Treehugger Robot [Tue, 12 Apr 2016 19:23:08 +0000 (19:23 +0000)]
Merge "Update Android.bp to match Android.mk" am:
0856a97
am:
2de7820
* commit '
2de7820a135880ab151b8d6d0d69766d6b3eb59f':
Update Android.bp to match Android.mk
Change-Id: If4430c71c6758de128073668065dacb23e1abc14
Colin Cross [Tue, 12 Apr 2016 19:17:09 +0000 (19:17 +0000)]
Merge "Update Android.bp to match Android.mk"
am:
0856a97
* commit '
0856a97499d940e1672d7c652fe4074e5faf277f':
Update Android.bp to match Android.mk
Change-Id: I609c51e56b730cf2a3da3ce27fcd6610f347d5fe
Treehugger Robot [Tue, 12 Apr 2016 19:10:34 +0000 (19:10 +0000)]
Merge "Update Android.bp to match Android.mk"
Colin Cross [Mon, 11 Apr 2016 21:34:18 +0000 (14:34 -0700)]
Rename deps property to objs in cc_objects
The deps property is handled by blueprint, which doesn't give the
flexibilty of handling it within soong. Switch to using objs instead.
Change-Id: Iddc25b0ba03fe79ba0533ef6fde33a5e71bcc8f0
Colin Cross [Mon, 11 Apr 2016 21:51:38 +0000 (14:51 -0700)]
Update Android.bp to match Android.mk
Change-Id: I002242ab36b6d0d8ad833543c07945f64175a613
Colin Cross [Mon, 11 Apr 2016 21:44:45 +0000 (21:44 +0000)]
Merge "Update Android.bp to match Android.mk" am:
eccca04
am:
fded281
* commit '
fded281b3d84ab28266224ebf5b29ef5d7b24a84':
Update Android.bp to match Android.mk
Change-Id: Ibf511f144c5296ae98893b5db9d187e1253b7221
Colin Cross [Mon, 11 Apr 2016 21:39:58 +0000 (21:39 +0000)]
Merge "Update Android.bp to match Android.mk"
am:
eccca04
* commit '
eccca0476902e94767462d520bbb3362c20744f5':
Update Android.bp to match Android.mk
Change-Id: I267755d57f8b46d6b2e41cf87ed204a47859a50e
Colin Cross [Mon, 11 Apr 2016 21:23:56 +0000 (21:23 +0000)]
Merge "Update Android.bp to match Android.mk"
Elliott Hughes [Mon, 11 Apr 2016 19:43:05 +0000 (12:43 -0700)]
Add a test for pthread_setname_np on another thread in a PR_SET_DUMPABLE 0 process.
Bug: http://b/
28051133
Change-Id: I9a578333815afa6bdfc1e3c3eea430a15957304f
Josh Gao [Mon, 11 Apr 2016 18:39:28 +0000 (18:39 +0000)]
Merge "Remove fabs, fabsf, fabsl inlines from <math.h>." am:
c247cd1
am:
b925b15
* commit '
b925b1513f0e2dc030af01552d5e11fa84f883e6':
Remove fabs, fabsf, fabsl inlines from <math.h>.
Change-Id: I739de907a53a50d0f97f674967432f46c8300640
Josh Gao [Mon, 11 Apr 2016 18:34:18 +0000 (18:34 +0000)]
Merge "Remove fabs, fabsf, fabsl inlines from <math.h>."
am:
c247cd1
* commit '
c247cd1fdcadfa8b025902ec45175a73e8cb82a8':
Remove fabs, fabsf, fabsl inlines from <math.h>.
Change-Id: I066654bacbb4f0bbccb7ac34c800faa0d1f732be
Josh Gao [Mon, 11 Apr 2016 18:20:26 +0000 (18:20 +0000)]
Merge "Remove fabs, fabsf, fabsl inlines from <math.h>."
Dimitry Ivanov [Sat, 9 Apr 2016 01:49:41 +0000 (01:49 +0000)]
Merge "Add test for IRELATIVE resolution with RTLD_LAZY" am:
7c64941
am:
8fb6d75
* commit '
8fb6d7538e017ab46b938345c1b4fcf8a68150a4':
Add test for IRELATIVE resolution with RTLD_LAZY
Change-Id: Ib01e39b0eabc0feef83df2d01a7a1c436071a775
Dimitry Ivanov [Sat, 9 Apr 2016 01:47:20 +0000 (01:47 +0000)]
Merge "Add test for IRELATIVE resolution with RTLD_LAZY"
am:
7c64941
* commit '
7c649411b651d036139f3fa5141d5662b6cc168a':
Add test for IRELATIVE resolution with RTLD_LAZY
Change-Id: I6bacce501867c6bc8b8066e5fa07418a4969e658
Dimitry Ivanov [Sat, 9 Apr 2016 01:40:32 +0000 (01:40 +0000)]
Merge "Add test for IRELATIVE resolution with RTLD_LAZY"
Josh Gao [Fri, 8 Apr 2016 18:43:33 +0000 (11:43 -0700)]
Remove fabs, fabsf, fabsl inlines from <math.h>.
These inline definitions appear to be a workaround for a compiler bug
that either never existed, or has been resolved since then.
Bug: http://b/
28067717
Change-Id: Ic1cd0f26403f234a6ab1fa273a9dd23e7f9fee8f
Dimitry Ivanov [Fri, 8 Apr 2016 18:47:53 +0000 (11:47 -0700)]
Add test for IRELATIVE resolution with RTLD_LAZY
Even though bionic linker does not support RTLD_LAZY - it
is good to know that its behavior matches glibc.
Bug: http://b/
27930475
Change-Id: I1a47263aaa3dc44f9ac61fe77deb55a21e7f881a
Josh Gao [Fri, 8 Apr 2016 18:28:16 +0000 (18:28 +0000)]
Merge changes Ife4692e4,I7304cc1d,If19653d0,I769ca792,I93625d19, ... am:
08794d4
am:
6521e82
* commit '
6521e823781ba04cf1576fe8d48f7efb4d4e0d73':
Move <sys/sysconf.h> to <bits/sysconf.h>.
Remove mbstowcs from <wchar.h>.
Extract getopt and friends to <bits/getopt.h>
Remove declaration of unlinkat from <fcntl.h>.
Extract ioctl to <bits/ioctl.h>.
Extract fcntl to <bits/fcntl.h>.
Extract strcasecmp and friends to <bits/strcasecmp.h>.
Make <bits/lockf.h> compile standalone.
Make <android/dlext.h> compile standalone.
Make the network headers compile standalone.
Remove duplicate declaration of mlock, munlock.
Change-Id: I8a38f14315bf154a9e49d62b7449195b86408bbb
Dimitry Ivanov [Fri, 8 Apr 2016 18:16:12 +0000 (18:16 +0000)]
Add libexpat.so to the grey-list
am:
5981d5b
* commit '
5981d5beaf768fa5c65e89bafcba0f5462649d41':
Add libexpat.so to the grey-list
Change-Id: I1531025f30a37954e66fa393880ab6b60eb39a4b
Josh Gao [Fri, 8 Apr 2016 18:16:11 +0000 (18:16 +0000)]
Merge changes Ife4692e4,I7304cc1d,If19653d0,I769ca792,I93625d19, ...
am:
08794d4
* commit '
08794d43adedb30aef58f0c77646ed5eaf9395e3':
Move <sys/sysconf.h> to <bits/sysconf.h>.
Remove mbstowcs from <wchar.h>.
Extract getopt and friends to <bits/getopt.h>
Remove declaration of unlinkat from <fcntl.h>.
Extract ioctl to <bits/ioctl.h>.
Extract fcntl to <bits/fcntl.h>.
Extract strcasecmp and friends to <bits/strcasecmp.h>.
Make <bits/lockf.h> compile standalone.
Make <android/dlext.h> compile standalone.
Make the network headers compile standalone.
Remove duplicate declaration of mlock, munlock.
Change-Id: I25b789a5193c2b9490fee9e3e9158c0b44bf45d9
Josh Gao [Fri, 8 Apr 2016 17:59:23 +0000 (17:59 +0000)]
Merge changes Ife4692e4,I7304cc1d,If19653d0,I769ca792,I93625d19, ...
* changes:
Move <sys/sysconf.h> to <bits/sysconf.h>.
Remove mbstowcs from <wchar.h>.
Extract getopt and friends to <bits/getopt.h>
Remove declaration of unlinkat from <fcntl.h>.
Extract ioctl to <bits/ioctl.h>.
Extract fcntl to <bits/fcntl.h>.
Extract strcasecmp and friends to <bits/strcasecmp.h>.
Make <bits/lockf.h> compile standalone.
Make <android/dlext.h> compile standalone.
Make the network headers compile standalone.
Remove duplicate declaration of mlock, munlock.
Dimitry Ivanov [Fri, 8 Apr 2016 16:49:07 +0000 (09:49 -0700)]
Add libexpat.so to the grey-list
Bug: http://b/
28071598
Change-Id: I5545a06edfd8e0ab5b011392860ddccd6c04677f
Josh Gao [Thu, 7 Apr 2016 23:33:30 +0000 (16:33 -0700)]
Move <sys/sysconf.h> to <bits/sysconf.h>.
Also remove unneeded declaration of sysconf in <unistd.h>.
Bug: http://b/
28067717
Change-Id: Ife4692e48ca97480e422db0686c61133e1d619aa
Josh Gao [Thu, 7 Apr 2016 23:38:22 +0000 (16:38 -0700)]
Remove mbstowcs from <wchar.h>.
Glibc doesn't export the function here, and adding a <bits/...> header
for this function seems unnecessary.
Bug: http://b/
28067717
Change-Id: I7304cc1daca14585c85d5c783365c4a43779ff2c
Josh Gao [Thu, 7 Apr 2016 23:37:49 +0000 (16:37 -0700)]
Extract getopt and friends to <bits/getopt.h>
Bug: http://b/
28067717
Change-Id: If19653d0da8b964c43768aa1051f9c926b3c6acb
Josh Gao [Thu, 7 Apr 2016 22:28:40 +0000 (15:28 -0700)]
Remove declaration of unlinkat from <fcntl.h>.
Glibc doesn't expose unlinkat in fcntl.h, this probably came about
because the man page for unlinkat mentions `#include <fcntl.h>` for the
AT_* constants that actually are defined there.
Bug: http://b/
28067717
Change-Id: I769ca792a189bfea212b1d75096274acb0b7cfdb
Josh Gao [Thu, 7 Apr 2016 21:19:03 +0000 (14:19 -0700)]
Extract ioctl to <bits/ioctl.h>.
Bug: http://b/
28067717
Change-Id: I93625d19fa5a033ab22c650d536e98674f0a8d9d
Josh Gao [Thu, 7 Apr 2016 21:16:30 +0000 (14:16 -0700)]
Extract fcntl to <bits/fcntl.h>.
Bug: http://b/
28067717
Change-Id: Id8c19056244660a6e0276a5614282af8d41fbe1e
Josh Gao [Thu, 7 Apr 2016 20:39:49 +0000 (13:39 -0700)]
Extract strcasecmp and friends to <bits/strcasecmp.h>.
Bug: http://b/
28067717
Change-Id: I76bab098d4c35d07a7a108055c43c820087f9253
Josh Gao [Thu, 7 Apr 2016 20:38:48 +0000 (13:38 -0700)]
Make <bits/lockf.h> compile standalone.
Bug: http://b/
28067717
Change-Id: Ida9f251ff23f9e32dcd0c38eb23b6a3bffea322c
Josh Gao [Thu, 7 Apr 2016 18:21:47 +0000 (11:21 -0700)]
Make <android/dlext.h> compile standalone.
Bug: http://b/
28067717
Change-Id: If087e0c931c69bda34263ea8e0b2dc46d932b2af
Colin Cross [Thu, 7 Apr 2016 20:24:50 +0000 (13:24 -0700)]
Update Android.bp to match Android.mk
Change-Id: I0d9bb2b98838184856da81499a64334e0b554617
Josh Gao [Thu, 7 Apr 2016 18:16:35 +0000 (11:16 -0700)]
Make the network headers compile standalone.
Bug: http://b/
28067717
Change-Id: I0f69c6cba0eb0df2fe68f458ba5aa81fe8e6434c
Josh Gao [Thu, 7 Apr 2016 17:59:45 +0000 (10:59 -0700)]
Remove duplicate declaration of mlock, munlock.
Bug: http://b/
28067717
Change-Id: I4fe5a4368e5112a5d6aed5de9549155d3352962a
Elliott Hughes [Thu, 7 Apr 2016 15:59:28 +0000 (15:59 +0000)]
Merge "Add trivial no-op <nl_types.h>." am:
322d6cf
am:
28dad74
* commit '
28dad746a9f0e82e037519be629b63b2dd22a3ec':
Add trivial no-op <nl_types.h>.
Change-Id: I11fc80bc9ed30e76a4c23ff7b05059c4b0205695
Elliott Hughes [Thu, 7 Apr 2016 15:56:06 +0000 (15:56 +0000)]
Merge "Add trivial no-op <nl_types.h>."
am:
322d6cf
* commit '
322d6cfb33c817f46ea853de51f0a006cb874bef':
Add trivial no-op <nl_types.h>.
Change-Id: Ifdf20010ca2eccf520c2dc5201b1aa9bc2fde01e
Elliott Hughes [Thu, 7 Apr 2016 15:49:02 +0000 (15:49 +0000)]
Merge "Add trivial no-op <nl_types.h>."
Elliott Hughes [Thu, 7 Apr 2016 00:14:45 +0000 (17:14 -0700)]
Add trivial no-op <nl_types.h>.
Needed to build OpenMP.
Bug: http://b/
27617302
Change-Id: Iac15c84ead6f5d5274cfdb2d6d4a4ec0072244bb
Elliott Hughes [Wed, 6 Apr 2016 21:27:11 +0000 (21:27 +0000)]
Merge "Teach our script to ignore more dead POSIX stuff." am:
5e843fb
am:
e537b9c
* commit '
e537b9c9cb8f19af53670d33e0342585c4300038':
Teach our script to ignore more dead POSIX stuff.
Change-Id: I78907262a92673a245487df6ac2804d494be4f9b
Elliott Hughes [Wed, 6 Apr 2016 21:24:50 +0000 (21:24 +0000)]
Merge "Teach our script to ignore more dead POSIX stuff."
am:
5e843fb
* commit '
5e843fb7c4da3e45c099abd1cb72462dbd775078':
Teach our script to ignore more dead POSIX stuff.
Change-Id: I165c7b2bfdca7a4b8255502617a5d673b48e6197
Mark Salyzyn [Wed, 6 Apr 2016 21:24:50 +0000 (21:24 +0000)]
Merge "fix oem_XXXX ids to incorporate both ranges" am:
8c1eb2d
am:
d8263be
* commit '
d8263be8d741f4a8df0b6a11e12457b04bd0aad2':
fix oem_XXXX ids to incorporate both ranges
Change-Id: Ib38c74b1526263b4f59b977d49a6bcbb6b986009
Elliott Hughes [Wed, 6 Apr 2016 21:22:44 +0000 (21:22 +0000)]
Merge "Teach our script to ignore more dead POSIX stuff."
Mark Salyzyn [Wed, 6 Apr 2016 21:22:30 +0000 (21:22 +0000)]
Merge "fix oem_XXXX ids to incorporate both ranges"
am:
8c1eb2d
* commit '
8c1eb2dff2a8c276eb26d1c45a07d802035d7acb':
fix oem_XXXX ids to incorporate both ranges
Change-Id: Iaba706c0027a26d7e56c864138f699b5e0b4493c
Mark Salyzyn [Wed, 6 Apr 2016 21:19:12 +0000 (21:19 +0000)]
Merge "fix oem_XXXX ids to incorporate both ranges"
Mark Salyzyn [Tue, 5 Apr 2016 16:24:59 +0000 (09:24 -0700)]
fix oem_XXXX ids to incorporate both ranges
The XXXX now lines up to the underlying uid and has no offset.
Work with AID_OEM_RESERVED uids.
Test uses hard coded values to catch changes in the API expectations
that may occur in private/android_filesystem_config.h.
SideEffects: names change, some product dependencies.
Bug:
27999086
Change-Id: Ic2b4c36de74ae009a44e14711c75834293828207
Elliott Hughes [Wed, 6 Apr 2016 21:14:26 +0000 (21:14 +0000)]
Merge "Fix b64_pton." am:
9deb01c
am:
5b00b72
* commit '
5b00b7265539c7fa47a75ce671e31e2431523238':
Fix b64_pton.
Change-Id: I64e10236bfe3ee06d03fb7eb297a6c69fedb18e2
Elliott Hughes [Wed, 6 Apr 2016 21:12:08 +0000 (21:12 +0000)]
Merge "Fix b64_pton."
am:
9deb01c
* commit '
9deb01c5a6b98e1b5d33a8f44168884f01bf96d5':
Fix b64_pton.
Change-Id: I249135339db2516d42315863c6d58a7d8bbae6df
Elliott Hughes [Wed, 6 Apr 2016 21:02:34 +0000 (21:02 +0000)]
Merge "Fix b64_pton."
Elliott Hughes [Wed, 6 Apr 2016 20:29:22 +0000 (13:29 -0700)]
Teach our script to ignore more dead POSIX stuff.
Change-Id: Ic29451b7110ac35291125d427e1ae6fd334bdbd5
Elliott Hughes [Wed, 6 Apr 2016 18:56:41 +0000 (11:56 -0700)]
Fix b64_pton.
This was fixed upstream years ago. While we're here, let's switch to the
OpenBSD copy (because that's our majority upstream BSD, not because they
found and fixed this bug first).
Bug: http://b/
28035006
Change-Id: I53dd915a8122bfd7a6d58f01f9902d1586a47e23
Elliott Hughes [Wed, 6 Apr 2016 18:20:59 +0000 (18:20 +0000)]
Merge "Add <sys/quota.h>." am:
37b23cb
am:
95fc2d5
* commit '
95fc2d517218f883384e86c71d3004dc9e28fc19':
Add <sys/quota.h>.
Change-Id: I210e60fd873ac7323fa6603d16c124ae321c3133
Elliott Hughes [Wed, 6 Apr 2016 18:17:52 +0000 (18:17 +0000)]
Merge "Add <sys/quota.h>."
am:
37b23cb
* commit '
37b23cbff5b33cabbe9a5b5c57cb2c70a73e34ab':
Add <sys/quota.h>.
Change-Id: I4a5bd6f8d56c968718596fece23b9c2f2d100c85
Elliott Hughes [Wed, 6 Apr 2016 18:08:34 +0000 (18:08 +0000)]
Merge "Add <sys/quota.h>."
Elliott Hughes [Wed, 6 Apr 2016 06:01:42 +0000 (23:01 -0700)]
Add <sys/quota.h>.
It turns out that at least the Nexus 9 kernel is built without CONFIG_QUOTA.
If we decide we're going to mandate quota functionality, I'm happy for us to
be a part of CTS that ensures that happens, but I don't want to be first, so
there's not much to test here other than "will it compile?". The strace
output looks right though.
Bug: http://b/
27948821
Bug: http://b/
27952303
Change-Id: If667195eee849ed17c8fa9110f6b02907fc8fc04
Elliott Hughes [Wed, 6 Apr 2016 17:11:16 +0000 (17:11 +0000)]
Merge "Rename the <grp.h>/<pwd.h> tests to reflect that they\'re no longer in stubs.cpp." am:
733c92f
am:
53f90a0
* commit '
53f90a0914aee0b447d30d3f7fb36b2d25b2a922':
Rename the <grp.h>/<pwd.h> tests to reflect that they're no longer in stubs.cpp.
Change-Id: Iaeedc02e4ecd0b40e71933f4024d6b09ba7f585d
Elliott Hughes [Wed, 6 Apr 2016 17:08:07 +0000 (17:08 +0000)]
Merge "Rename the <grp.h>/<pwd.h> tests to reflect that they\'re no longer in stubs.cpp."
am:
733c92f
* commit '
733c92fa3632c5ac566cdf6f879e4b9e77c11ecb':
Rename the <grp.h>/<pwd.h> tests to reflect that they're no longer in stubs.cpp.
Change-Id: I7390cbc95d6515ce17c9128474d6d223a2611a1a
Elliott Hughes [Wed, 6 Apr 2016 17:02:34 +0000 (17:02 +0000)]
Merge "Break up the rest of stubs.cpp." am:
492c872
am:
212141e
* commit '
212141e61acd672eede7f8609428e561ce768788':
Break up the rest of stubs.cpp.
Change-Id: I33cb28e5527a90d5c80475d712c67d3311ceb849
Elliott Hughes [Wed, 6 Apr 2016 17:00:45 +0000 (17:00 +0000)]
Merge "Rename the <grp.h>/<pwd.h> tests to reflect that they're no longer in stubs.cpp."
Elliott Hughes [Wed, 6 Apr 2016 16:59:50 +0000 (16:59 +0000)]
Merge "Break up the rest of stubs.cpp."
am:
492c872
* commit '
492c8723e39369b1ab270ef67fdfce01cd3798c2':
Break up the rest of stubs.cpp.
Change-Id: Iacaec8ec6601be0dda413cf3bdf656323c63cf3e
Elliott Hughes [Wed, 6 Apr 2016 16:47:33 +0000 (16:47 +0000)]
Merge "Break up the rest of stubs.cpp."
Elliott Hughes [Wed, 6 Apr 2016 15:38:21 +0000 (08:38 -0700)]
Rename the <grp.h>/<pwd.h> tests to reflect that they're no longer in stubs.cpp.
Bug: http://b/
27999086
Change-Id: I3255ad5861a705beeb9b462e22f79ae1e5a85a79
Elliott Hughes [Wed, 6 Apr 2016 15:34:58 +0000 (08:34 -0700)]
Break up the rest of stubs.cpp.
Bug: http://b/
27999086
Change-Id: Ibcc2c5171d43ebd26b486642052738473f3b7714
Mark Salyzyn [Wed, 6 Apr 2016 15:21:26 +0000 (15:21 +0000)]
Merge "bionic: split out getpwnam and friends" am:
af11ec2
am:
4b3086c
* commit '
4b3086cc8b397db17238f674731be41387ce221d':
bionic: split out getpwnam and friends
Change-Id: I8df95262365e22ea31c53d088d963c875aa10a4d
Mark Salyzyn [Wed, 6 Apr 2016 15:18:20 +0000 (15:18 +0000)]
Merge "bionic: split out getpwnam and friends"
am:
af11ec2
* commit '
af11ec2e9283c7bc2f28953841573ea7ac31bba4':
bionic: split out getpwnam and friends
Change-Id: I1c9604118bd46ebc755393d937676de8030da948
Mark Salyzyn [Wed, 6 Apr 2016 15:05:41 +0000 (15:05 +0000)]
Merge "bionic: split out getpwnam and friends"
Mark Salyzyn [Tue, 5 Apr 2016 16:09:46 +0000 (09:09 -0700)]
bionic: split out getpwnam and friends
- added grp_pwd.cpp containing POSIX passwd and group functions,
colocated because they share with the Android ID (AID) roots.
- stubs.cpp contains all the truly empty functions (network and
protocol accessors)
Bug:
27999086
Change-Id: I036f9e2dd246f48302cb7c97d23176fa24d19c33