Christopher Ferris
8a8b0c9bfc
Do not keep struct state on the stack.
...
This structure is huge (~18000 bytes on arm64) and can blow out
the stack very easily.
Modify the code to allocate these structures instead of leaving them
on the stack.
Bug: 14468519
Change-Id: I774f71235d896d32a14ab1af06f95ca9ef819f52
2014-05-14 16:50:41 -07:00
Elliott Hughes
1e07463fcc
Merge "Add tests for fprintf behavior when the underlying fd is bad."
2014-05-14 23:35:31 +00:00
Dmitriy Ivanov
d59e50063a
Improve detection of already loaded libraries
...
Linker is now able to resolve symlinked libraries correctly.
soinfo is extended to save the graph of dependencies during
load/unload. Dependencies are used only in CallConstructor.
Bug: 9741592
Change-Id: Id9c48a74c46aa89bcdf3d54ec2f8ba3d398130b1
2014-05-14 15:16:35 -07:00
Dmitriy Ivanov
82935da8a6
am 3d80e36a
: am 283ec625
: am 6897b7b8
: Merge "Fix for linker allocator"
...
* commit '3d80e36a85414e09f7ccbdd71c7a196704344c92':
Fix for linker allocator
2014-05-14 21:09:40 +00:00
Dmitriy Ivanov
3d80e36a85
am 283ec625
: am 6897b7b8
: Merge "Fix for linker allocator"
...
* commit '283ec6256bdde5685f224efdc67a061cc611b33a':
Fix for linker allocator
2014-05-14 21:07:21 +00:00
Elliott Hughes
0fdfa216d4
am c04a2061
: am f5b79eba
: am fbd9dcad
: Merge "Add a unit test for already-fixed printf -0.0 formatting."
...
* commit 'c04a20613a0e438e4dcdafc2632470fbee47c3f3':
Add a unit test for already-fixed printf -0.0 formatting.
2014-05-14 21:05:33 +00:00
Dmitriy Ivanov
283ec6256b
am 6897b7b8
: Merge "Fix for linker allocator"
...
* commit '6897b7b8b95beae120fd53e6fd15921d6420bea7':
Fix for linker allocator
2014-05-14 21:04:17 +00:00
Dmitriy Ivanov
6897b7b8b9
Merge "Fix for linker allocator"
2014-05-14 21:02:18 +00:00
Elliott Hughes
c9244bdac1
Add tests for fprintf behavior when the underlying fd is bad.
...
Bug: 7229520
Change-Id: Ie878e0c13fdcda7b9131fa56208b84ed88125be7
2014-05-14 13:31:35 -07:00
Elliott Hughes
c04a20613a
am f5b79eba
: am fbd9dcad
: Merge "Add a unit test for already-fixed printf -0.0 formatting."
...
* commit 'f5b79eba6fae370316987f2d8f7399a641909fe7':
Add a unit test for already-fixed printf -0.0 formatting.
2014-05-14 20:18:37 +00:00
Elliott Hughes
f5b79eba6f
am fbd9dcad
: Merge "Add a unit test for already-fixed printf -0.0 formatting."
...
* commit 'fbd9dcadc8e25b22c99596462669017b9b1b4a7c':
Add a unit test for already-fixed printf -0.0 formatting.
2014-05-14 20:14:36 +00:00
Elliott Hughes
fbd9dcadc8
Merge "Add a unit test for already-fixed printf -0.0 formatting."
2014-05-14 20:11:23 +00:00
Sreeram Ramachandran
c184a7a0ad
am 62090bb6
: am d2ac8787
: am 49ec2a0c
: Merge "Mark sockets on accept()."
...
* commit '62090bb6b9b3a38820dfd758ffccf0e94a3eb943':
Mark sockets on accept().
2014-05-14 19:54:25 +00:00
Elliott Hughes
ad25b331c6
am c1a5bc96
: am deedbebb
: am acc51369
: Merge "Add a regression test for a long-fixed pthread_once bug."
...
* commit 'c1a5bc96fb84a16dc1f4cae7919413be2b3912f0':
Add a regression test for a long-fixed pthread_once bug.
2014-05-14 19:54:24 +00:00
Elliott Hughes
f693d2916b
am c6057a5f
: am d60d67db
: am aeec2ae7
: Merge "Remove the broken pthread deadlock prediction."
...
* commit 'c6057a5f618cca842432c3a28af1a9293b551aff':
Remove the broken pthread deadlock prediction.
2014-05-14 19:54:24 +00:00
Dmitriy Ivanov
1079406cab
Fix for linker allocator
...
Change-Id: I18a3f1a8515657f0deb69266184fb516a27f90e8
2014-05-14 12:52:57 -07:00
Sreeram Ramachandran
62090bb6b9
am d2ac8787
: am 49ec2a0c
: Merge "Mark sockets on accept()."
...
* commit 'd2ac8787496422ee70e44f6e5abf65b570015470':
Mark sockets on accept().
2014-05-14 19:51:36 +00:00
Elliott Hughes
c1a5bc96fb
am deedbebb
: am acc51369
: Merge "Add a regression test for a long-fixed pthread_once bug."
...
* commit 'deedbebb4ef3dfb14334a95ff5bdff42faa3a70f':
Add a regression test for a long-fixed pthread_once bug.
2014-05-14 19:51:35 +00:00
Elliott Hughes
c6057a5f61
am d60d67db
: am aeec2ae7
: Merge "Remove the broken pthread deadlock prediction."
...
* commit 'd60d67db33a7190504c1503455a4e49f7f01a9db':
Remove the broken pthread deadlock prediction.
2014-05-14 19:51:35 +00:00
Sreeram Ramachandran
d2ac878749
am 49ec2a0c
: Merge "Mark sockets on accept()."
...
* commit '49ec2a0cdc56fcd6bdd1b0feea127acfabc076f9':
Mark sockets on accept().
2014-05-14 19:48:10 +00:00
Elliott Hughes
deedbebb4e
am acc51369
: Merge "Add a regression test for a long-fixed pthread_once bug."
...
* commit 'acc513698b90abdf84f26d6dd08eb0b32fa56714':
Add a regression test for a long-fixed pthread_once bug.
2014-05-14 19:48:09 +00:00
Elliott Hughes
d60d67db33
am aeec2ae7
: Merge "Remove the broken pthread deadlock prediction."
...
* commit 'aeec2ae7202892a2bca25a17e60850f9c07b64f6':
Remove the broken pthread deadlock prediction.
2014-05-14 19:48:08 +00:00
Sreeram Ramachandran
49ec2a0cdc
Merge "Mark sockets on accept()."
2014-05-14 19:40:50 +00:00
Elliott Hughes
e77f38f14a
Add a unit test for already-fixed printf -0.0 formatting.
...
This was fixed by the upgrade to upstream head.
Bug: 5084292
Change-Id: Ia3bda1c0bbe38f428e22213b8bdbdf1a16caccf2
2014-05-14 12:39:12 -07:00
Elliott Hughes
acc513698b
Merge "Add a regression test for a long-fixed pthread_once bug."
2014-05-14 19:29:45 +00:00
Elliott Hughes
aeec2ae720
Merge "Remove the broken pthread deadlock prediction."
2014-05-14 19:29:30 +00:00
Elliott Hughes
3694ec6c4b
Add a regression test for a long-fixed pthread_once bug.
...
Bug: 1934122
Change-Id: Iae09baedc2c6ed4036521e51718fe9d015bc56b9
2014-05-14 11:46:08 -07:00
Elliott Hughes
07f1ded139
Remove the broken pthread deadlock prediction.
...
This hasn't built in over one release cycle and no one even noticed.
art does this the right way and other projects should do the same.
Change-Id: I7d1fb84c4080e008f329ee73e209ce85a36e6d55
2014-05-14 11:38:22 -07:00
Sreeram Ramachandran
8f0cd8aa22
Mark sockets on accept().
...
(cherry picked from commit 58b1f3f6a30a660ad81637c2b50382c3d279243b)
Change-Id: I5d09be413cf720fbed905f96313b007997ada76c
2014-05-14 11:10:22 -07:00
Elliott Hughes
a0d2534ef4
am b270fd33
: am 7451897c
: am e6c27a7a
: Merge "Fix a typo in the big g_ search/replace."
...
* commit 'b270fd332922b365091f835b1b61ed221a87f102':
Fix a typo in the big g_ search/replace.
2014-05-14 18:09:56 +00:00
Elliott Hughes
b270fd3329
am 7451897c
: am e6c27a7a
: Merge "Fix a typo in the big g_ search/replace."
...
* commit '7451897cd45c7dceb52803400c5f979692013c4f':
Fix a typo in the big g_ search/replace.
2014-05-14 18:07:19 +00:00
Elliott Hughes
7451897cd4
am e6c27a7a
: Merge "Fix a typo in the big g_ search/replace."
...
* commit 'e6c27a7af7a9b13e4e3d3ebd604d28effa9e9322':
Fix a typo in the big g_ search/replace.
2014-05-14 18:02:53 +00:00
Elliott Hughes
e6c27a7af7
Merge "Fix a typo in the big g_ search/replace."
2014-05-14 17:59:52 +00:00
Elliott Hughes
cd46104cf8
Fix a typo in the big g_ search/replace.
...
Change-Id: I79261de70d225236d0eadff288220258d697437f
2014-05-14 10:58:58 -07:00
Elliott Hughes
73a3760ea8
am b2da973f
: am 6eb0fe2b
: am 15c13bd6
: Merge "Switch to g_ for globals."
...
* commit 'b2da973fe9e7a1c9e774433eeae86c517321ebdc':
Switch to g_ for globals.
2014-05-14 17:50:17 +00:00
Elliott Hughes
b2da973fe9
am 6eb0fe2b
: am 15c13bd6
: Merge "Switch to g_ for globals."
...
* commit '6eb0fe2b02bcc7d82ba23df6cfaef0369e7b068b':
Switch to g_ for globals.
2014-05-14 17:45:12 +00:00
Elliott Hughes
6eb0fe2b02
am 15c13bd6
: Merge "Switch to g_ for globals."
...
* commit '15c13bd6cc0ce44d8f083f75d0bfa926a88cc169':
Switch to g_ for globals.
2014-05-14 17:41:20 +00:00
Elliott Hughes
15c13bd6cc
Merge "Switch to g_ for globals."
2014-05-14 17:36:37 +00:00
Elliott Hughes
1728b23965
Switch to g_ for globals.
...
That's what the Google style guide recommends, and we're starting
to get a mix.
Change-Id: Ib0c53a890bb5deed5c679e887541a715faea91fc
2014-05-14 10:02:03 -07:00
Ross McIlroy
4586f8d3ae
am 582cf711
: am bc45edaa
: am bac79558
: Merge "Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc."
...
* commit '582cf711309138e4e7e0c46696491028c823834d':
Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc.
2014-05-14 14:40:05 +00:00
Ross McIlroy
582cf71130
am bc45edaa
: am bac79558
: Merge "Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc."
...
* commit 'bc45edaa9e5673c13b3cb161aa2bfacea29bbe04':
Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc.
2014-05-14 14:35:38 +00:00
Ross McIlroy
bc45edaa9e
am bac79558
: Merge "Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc."
...
* commit 'bac795586bbc5dcbe886d8d781710f60c4c19d9b':
Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc.
2014-05-14 14:30:56 +00:00
Ross McIlroy
bac795586b
Merge "Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc."
2014-05-14 14:27:41 +00:00
The Android Automerger
afa90b4c3a
merge in master-release history after reset to 7fbc7481cc
2014-05-14 05:49:33 -07:00
Ross McIlroy
0c8a5f82e6
Fix x86_64 user_fpregs_struct to use the same name for the tag word as glibc.
...
Glibc calls the tag pointer in user_fpregs_struct ftw instead of twd.
Change-Id: I4a8dab777fa889de0b9927035cd18557ae6f3263
2014-05-14 13:29:19 +01:00
Sreeram Ramachandran
dedf2922d5
Mark sockets on accept().
...
Conflicts:
libc/SYSCALLS.TXT
Change-Id: I5d09be413cf720fbed905f96313b007997ada76c
2014-05-14 04:26:51 -07:00
Paul Jensen
41d9a50371
Add support for deleting per-network DNS resolver caches.
...
This is required when the possible range of NetIds is large to
prevent netd consuming excessive amounts of memory.
This required replacing the per-cache locks in favor of a single
global lock to prevent accesses to deleted caches.
Change-Id: I99d058bafea5de743e56075dbed74031da4df63f
2014-05-14 04:16:18 -07:00
Calin Juravle
7fbc7481cc
am 32cd82f0
: am 7c0b313d
: am a7318774
: Merge "Change wctype_t from int to long."
...
* commit '32cd82f093184fc3b6b43171f16ed5d74ca02795':
Change wctype_t from int to long.
2014-05-14 10:47:04 +00:00
Calin Juravle
9d60edbcfe
am c16e4332
: am d36bbf13
: am fd3171b4
: Merge "Change wctype_t from enum to int"
...
* commit 'c16e4332e42ff152c06963c398e9195576d6aae4':
Change wctype_t from enum to int
2014-05-14 10:47:04 +00:00
Calin Juravle
32cd82f093
am 7c0b313d
: am a7318774
: Merge "Change wctype_t from int to long."
...
* commit '7c0b313df17569fd821a5617339f962fa1f1ef11':
Change wctype_t from int to long.
2014-05-14 10:42:44 +00:00