Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

bionic: Listed des commits

bionic


RSS
Révision l'heure Auteur
ac8e209 r-x86 2021-12-29 17:58:40 Chih-Wei Huang

We need text relocations

Don't show annoying warnings.

729422b 2021-12-29 17:58:35 Chih-Wei Huang

Add syscalls ioperm and iopl

f9aa757 2021-12-29 17:58:30 Christopher R. Palmer

linker: Allow text-relocs for x86 (only)

This effectively reverts

https://android.googlesource.com/platform/bionic/+/e4ad91f86a47b39612e030a162f4793cb3421d31%5E%21/#F0

for x86 platforms. Unfortunately, this seems like it is required
if we are going to support ffmpeg. The ffmpeg team decreed that they
require text relocations for x86 (only) and that they would not
fix the fact that android 6.0 makes ffmpeg unusable on x86:

https://trac.ffmpeg.org/ticket/4928

Change-Id: I68397f4d62f4f6acd8e0d41b7ecdc115969b890a

673bb02 2020-11-05 09:02:09 android-build-team Robot

Snap for 6952926 from 6aaff2a54df115dd12b5034d03a2c58c39e4881b to rvc-d2-release

Change-Id: I43ec97d5123405a4f786f1f09bff1a2414538f93

6aaff2a 2020-11-04 07:56:12 Ryan Prichard

Fix __cxa_atexit run-time regression with many registrations

When an array element is added or removed, make only the relevant page
writable, rather than the entire array. The entire array is still made
writable during recompaction and expansion.

This change fixes most of a large regression in __cxa_atexit runtime
(blueline, taskset 10, performance governor, 100000 registrations,
times are in seconds)
- Q: _Exit=0.292380, exit=0.626801
- R: _Exit=28.435082, exit=95.785110
- new: _Exit=0.352285, exit=0.713893

Test: bionic unit tests
Test: adb shell taskset 10 \
/data/benchmarktest64/bionic-spawn-benchmarks/bionic-spawn-benchmarks \
--benchmark_filter='atexit' \
--benchmark_display_aggregates_only=true \
--benchmark_repetitions=10
Bug: http://b/168043760
Change-Id: I88cc15c29c9890b422b7f621f29f98a03ca1f886
Merged-In: I88cc15c29c9890b422b7f621f29f98a03ca1f886
(cherry picked from commit de523c02bbea1923ee5fbe9d1d60a905f6e965b0)

4cc291c 2020-09-10 12:47:55 android-build-team Robot

Snap for 6824415 from 087507107e7a5d352dbcd8bd5618b5f82bb160eb to rvc-d2-release

Change-Id: Ife829bbafbf0df55fef98b2661e2897d8cd4c55e

0875071 2020-08-30 15:35:12 Ken Chen

Fix OOB read in DNS resolver am: 43264bc365 am: c5ea7569a8 am: 2c2546b158 am: cf6b3ecd4d am: 2820a9770e

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12329970

Change-Id: Ic91c04263e75d739a43f3a92756981fb030559ce

2820a97 2020-08-30 15:01:55 Ken Chen

Fix OOB read in DNS resolver am: 43264bc365 am: c5ea7569a8 am: 2c2546b158 am: cf6b3ecd4d

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12329970

Change-Id: I8a4388a793a26fb246529165c3e6338115cdaff9

cf6b3ec 2020-08-30 14:25:44 Ken Chen

Fix OOB read in DNS resolver am: 43264bc365 am: c5ea7569a8 am: 2c2546b158

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12329970

Change-Id: I5e167b6717d7f90ba782e26ef553fb6d302b493a

2c2546b 2020-08-30 14:07:23 Ken Chen

Fix OOB read in DNS resolver am: 43264bc365 am: c5ea7569a8

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12329970

Change-Id: I5a3ea0eb929c76e76be9a17264b7f1b6b04e9f8c

c5ea756 2020-08-30 13:49:07 Ken Chen

Fix OOB read in DNS resolver am: 43264bc365

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12329970

Change-Id: Ief989a779e7fea19a92fb90a863017ecdb1bc7a3

b0c50da 2020-08-27 01:56:00 android-build-team Robot

Snap for 6792403 from 8860af56c35d2797a9ed934eb2fd1cb0f39f6130 to rvc-d2-release

Change-Id: Id412751918f046c754919a4f3a1d7d0d25f65f30

8860af5 2020-08-22 13:10:08 Josh Gao

async_safe: don't call libc's socket.

Like with close, socket is no longer a simple syscall, so we can get
recursive calls that deadlock.

Bug: http://b/165206592
Test: bionic-unit-tests on cuttlefish
Test: treehugger
Change-Id: I2ba77d733d1ebf08a91afd6ca179e7ae6ae3866e
(cherry picked from commit d37113311c9541876bf3e268f2cace272515a694)

e54c53b 2020-08-12 05:42:45 Evgenii Stepanov

Remove stack address check in cfi_basic test. am: cc3c685b5f am: d43f9a8831 am: 99d9bfa6b4

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12347832

Change-Id: I91f6cb07ac87eb3f4f64fa748b57eb9444c3be7b

99d9bfa 2020-08-12 05:26:00 Evgenii Stepanov

Remove stack address check in cfi_basic test. am: cc3c685b5f am: d43f9a8831

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12347832

Change-Id: I6601c7fbc627b71cffad0b9043926e45166b8ecd

d43f9a8 2020-08-12 05:06:44 Evgenii Stepanov

Remove stack address check in cfi_basic test. am: cc3c685b5f

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12347832

Change-Id: Iba89ecc4e8c5c453fa1c8f023c91c14cff5a0a44

cc3c685 2020-08-11 09:50:24 Evgenii Stepanov

Remove stack address check in cfi_basic test.

This is not actually a property that is guaranteed by the bionic
implementation of CFI shadow. Since the gaps between libraries are not
completely inaccessible, it is possible for a stack mapping to sneak in,
which would cause the callback to register in the test library.

This is not a correctness issue in CFI as the actual __cfi_check
callback will reject such address anyway, at a small CPU cost.

Bug: 156218352
Test: CtsBionicTestCases-cfi_test#basic
Change-Id: I8d04fb7132e1eac2a8abfbc48a37c8eac6e25a09
Merged-In: I8d04fb7132e1eac2a8abfbc48a37c8eac6e25a09
(cherry picked from commit 0f6b504e0c682e7c3d377416dacfe57b6c59f1b8)

43264bc 2020-08-07 21:19:43 Ken Chen

Fix OOB read in DNS resolver

The remote server specifies resplen, the length of the response it
intends to send. anssiz represents the size of the destination buffer.
If the reported resplen is larger than the anssiz, the code correctly
only reads up to anssiz bytes, but returns resplen. so later functions
will access far out of bounds.

The fix ensures that the length of send_vc return does not exceed the
buffer size.

Bug: 161362564
Test: build, flash, boot
Test: atest netd_integration_test
Merged-In: Id4b5df1be4652e4623847b0b0bad0af65b80fdd5
Change-Id: Id4b5df1be4652e4623847b0b0bad0af65b80fdd5

d39e74e 2020-08-06 16:26:10 android-build-team Robot

Snap for 6741352 from d10da4eb3006271484986246483bcc330ce0458d to rvc-d2-release

Change-Id: If92ee1a0164b598d6b2dc1e2953385f5623d5c6e

d10da4e 2020-08-05 02:05:41 Christopher Ferris

Add support for new scudo mallopt options. am: 44f0faa247

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12296260

Change-Id: I7e699a3e8f232aea5de4270ab4eca2e8f58d7f8d

44f0faa 2020-08-04 06:15:54 Christopher Ferris

Add support for new scudo mallopt options.

Bug: 162092537

Test: Ran new unit tests.
Change-Id: I4b7d17a9e98166c03cd153eb9e9d847693914ea3
Merged-In: I4b7d17a9e98166c03cd153eb9e9d847693914ea3
(cherry picked from commit 8844879212852a70918df1c9ebcac4d574f1fcd9)

0860b8f 2020-07-25 06:35:45 Bram Bonné

Resolve interface flags using SIOCGIFFLAGS ioctl am: 3a5a22d607 am: 4f4ad63a64

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12216903

Change-Id: I1606ca60ef6cb6d5d259d93d91e8f22f8bf39b8b

4f4ad63 2020-07-25 06:24:07 Bram Bonné

Resolve interface flags using SIOCGIFFLAGS ioctl am: 3a5a22d607

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12216903

Change-Id: I883aa15f40106cb7b3ed44eb395fd5018b48a8ae

3a5a22d 2020-07-24 00:40:25 Bram Bonné

Resolve interface flags using SIOCGIFFLAGS ioctl

Normally, getifaddrs() gets its information about interface flags from
RTM_NEWLINK messages. With the ability for non-system apps to send
RTM_GETLINK messages going away, resolve these flags by performing a
SIOCGIFFLAGS ioctl call instead.

This fixes a bug where the flags were erroneously copied over from an
ifaddrmsg's ifa_flags.

Bug: 141455849
Bug: 161869825
Test: atest bionic-unit-tests-static
Test: Connect to wireless network.
Test: Call getifaddrs() from a non-system app targeting API R+, verify
that the interface flags are correct.

Change-Id: I552f3b9d21072f59ee6f0890f47cb1bdf3cfcf20

dd4282c 2020-07-14 02:01:37 Tom Cherry

Don't test pw_shell for old vendor images am: 4785c13549 am: a7985e0324

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12133446

Change-Id: I5a729a381d01dda260c43392f33c84d4ab11b598

a7985e0 2020-07-14 01:50:20 Tom Cherry

Don't test pw_shell for old vendor images am: 4785c13549

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/12133446

Change-Id: I2b6934bd1a142553c215ef5343984b562985f2d6

4785c13 2020-07-11 11:01:20 Tom Cherry

Don't test pw_shell for old vendor images

R GSI on P product tests fail since pw_shell has changed. This value
has no practical use on Android, so we ignore testing it for older
vendor images.

Bug: 160937247
Test: this test does/doesn't run appropriately
Merged-In: Ie485bd019b3826e71ad19131effcbb002f888d52
Change-Id: Ie485bd019b3826e71ad19131effcbb002f888d52
(cherry picked from commit b9fa04d805912d58d920ccd1a7af77daf81293e7)

afacee2 2020-06-10 08:21:36 Lev Rumyantsev

Move set_cached_pid() to __clone_for_fork() am: c8c3bc58a1 am: 936dc784c8

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/11800686

Change-Id: Id373e1024fae0aef271b7655413567a31e026781

4c52de5 2020-06-10 08:21:33 Lev Rumyantsev

Remove WEAK_FOR_NATIVE_BRIDGE for fork am: 8b26ca4164 am: a4c0e31906

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/11800685

Change-Id: I29ac82e06198fd2ef4e2e354a00624c6cf2ed802

936dc78 2020-06-10 08:05:28 Lev Rumyantsev

Move set_cached_pid() to __clone_for_fork() am: c8c3bc58a1

Original change: https://googleplex-android-review.googlesource.com/c/platform/bionic/+/11800686

Change-Id: Id7c4ee7687e98340fb99c1974e6c3872594aed55

Afficher sur ancien navigateur de dépôt.