Colin Cross
b2e9a0b1c0
Merge "Replace llndk_library with llndk clause in cc_library" am: 48166a4eaf
am: 6cac53807a
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1613420
Change-Id: I561879583a05c06dbb0241bade67cf738c207733
2021-04-28 18:09:01 +00:00
Colin Cross
6cac53807a
Merge "Replace llndk_library with llndk clause in cc_library" am: 48166a4eaf
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1613420
Change-Id: I084aefdf9a56f839b14bdfec74ef218b9693c094
2021-04-28 17:52:01 +00:00
Colin Cross
48166a4eaf
Merge "Replace llndk_library with llndk clause in cc_library"
2021-04-28 16:21:43 +00:00
Colin Cross
a0a4a6c296
Replace llndk_library with llndk clause in cc_library
...
Remove the vestigial llndk_library and replace it with properties
in the llndk clause of the implementation cc_library.
In order to reduce duplication of the arch-specific headers used
by the implementation and LLNDK, rename libc_headers_arch to
libc_llndk_headers and hoist the "include" directory out of it,
since that directory is preproccessed separately for LLNDK
libraries.
Bug: 170784825
Test: m checkbuild
Test: compare out/soong/build.ninja
Change-Id: I75f0ff9129d910640da55eee6a6387467e6e4a9d
2021-04-26 17:45:57 -07:00
Treehugger Robot
9c2d769b1e
Merge "Reorder libc.llndk headers to match libc_headers_arch" am: 4b42ad753e
am: 454fceca01
am: ab02a1a59d
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1613419
Change-Id: If616286fb3a14e7bc37e719ef03700803d2da567
2021-04-23 03:55:24 +00:00
Treehugger Robot
ab02a1a59d
Merge "Reorder libc.llndk headers to match libc_headers_arch" am: 4b42ad753e
am: 454fceca01
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1613419
Change-Id: I12e70807c2248c73dcd43bd4805938d1beb8cf9b
2021-04-23 03:27:34 +00:00
Treehugger Robot
454fceca01
Merge "Reorder libc.llndk headers to match libc_headers_arch" am: 4b42ad753e
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1613419
Change-Id: Ibc7ab03738b88e0d87cc13532fb92f1ada795713
2021-04-23 03:07:47 +00:00
Treehugger Robot
4b42ad753e
Merge "Reorder libc.llndk headers to match libc_headers_arch"
2021-04-23 02:51:32 +00:00
Peter Collingbourne
9771fbf1b8
Merge "Avoid prctl(PR_PAC_RESET_KEYS) on devices without PAC support." am: 2f62c26bcb
am: c30eb0ff47
am: f412f0892a
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1684248
Change-Id: I28e541b4d776f1f9e2617d98df2e133d32e54c84
2021-04-22 22:13:29 +00:00
Peter Collingbourne
f412f0892a
Merge "Avoid prctl(PR_PAC_RESET_KEYS) on devices without PAC support." am: 2f62c26bcb
am: c30eb0ff47
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1684248
Change-Id: Ib8f8f568ae02438fadfcaf543a387114f67f37b6
2021-04-22 21:52:49 +00:00
Peter Collingbourne
c30eb0ff47
Merge "Avoid prctl(PR_PAC_RESET_KEYS) on devices without PAC support." am: 2f62c26bcb
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1684248
Change-Id: I58f3880830675df536bf79561dba685d223bade6
2021-04-22 21:32:04 +00:00
Peter Collingbourne
2f62c26bcb
Merge "Avoid prctl(PR_PAC_RESET_KEYS) on devices without PAC support."
2021-04-22 21:02:42 +00:00
Peter Collingbourne
dcbacd676f
Avoid prctl(PR_PAC_RESET_KEYS) on devices without PAC support.
...
Processes loaded from vendor partitions may have their own sandboxes
that would reject the prctl. Because no devices launched with PAC
enabled before S, we can avoid issues on upgrading devices by checking
for PAC support before issuing the prctl.
Bug: 186117046
Change-Id: I9905b963df01c9007d9fb4527273062ea87a5075
2021-04-22 12:17:01 -07:00
Rupert Shuttleworth
40db2eb3bf
Merge "Add missing liblog_headers dependency to libc_defaults." am: 2a79326a80
am: c284c40f07
am: 81e51240aa
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677126
Change-Id: Iab10e74cadacd217c2b8bceff0f65030a2a297b7
2021-04-22 17:22:08 +00:00
Rupert Shuttleworth
81e51240aa
Merge "Add missing liblog_headers dependency to libc_defaults." am: 2a79326a80
am: c284c40f07
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677126
Change-Id: I8a593921f7c43c34cbcd2833fec70ea30377ae7b
2021-04-22 17:00:24 +00:00
Rupert Shuttleworth
c284c40f07
Merge "Add missing liblog_headers dependency to libc_defaults." am: 2a79326a80
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677126
Change-Id: I4c660cbe216258809cde895a0e770b14bdf6237f
2021-04-22 16:25:25 +00:00
Rupert Shuttleworth
2a79326a80
Merge "Add missing liblog_headers dependency to libc_defaults."
2021-04-22 16:07:20 +00:00
Rupert Shuttleworth
ed80dcd775
Add missing liblog_headers dependency to libc_defaults.
...
This unblocks several targets building with Bazel, see https://android-review.googlesource.com/c/platform/build/soong/+/1677125 .
Test: bp2build; bazel build //bionic/...
Change-Id: I4206241fc56cf4df5d5f1e65a367844da85a1360
2021-04-22 01:52:53 -04:00
Colin Cross
96be371187
Reorder libc.llndk headers to match libc_headers_arch
...
Ease later comparisons by making libc.llndk match libc_headers_arch.
Bug: 170784825
Test: m checkbuild
Change-Id: I90162c0bc5f6f0e79fe974208fde47cca7489fa1
2021-04-21 16:29:50 -07:00
Christopher Ferris
c0066c5f9a
Merge "Fix last python3 issues." am: e6b7969dd1
am: f7c9df48a1
am: bd897f32e4
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1682596
Change-Id: Icc082a7687a7f53ccb269314e346e25df962df3c
2021-04-21 21:04:38 +00:00
Christopher Ferris
bd897f32e4
Merge "Fix last python3 issues." am: e6b7969dd1
am: f7c9df48a1
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1682596
Change-Id: Iabb680f84d020858895f59cdf35da9209f01485e
2021-04-21 20:42:46 +00:00
Christopher Ferris
f7c9df48a1
Merge "Fix last python3 issues." am: e6b7969dd1
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1682596
Change-Id: I64118c75d8599d441412caa6cdff56436c1facc6
2021-04-21 20:18:41 +00:00
Christopher Ferris
e6b7969dd1
Merge "Fix last python3 issues."
2021-04-21 20:02:10 +00:00
Treehugger Robot
3ba1be4088
Merge "Fix overly-zealous strip." am: 74dab83037
am: 0666485a01
am: 8ed685d70d
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1682685
Change-Id: Idca1210f60d0f0075c729b7f8302a28bb66a32b7
2021-04-21 01:55:11 +00:00
Treehugger Robot
8ed685d70d
Merge "Fix overly-zealous strip." am: 74dab83037
am: 0666485a01
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1682685
Change-Id: Ic0f1bce1d6c7f746ef1aa3db3b941cd7c1ac721d
2021-04-21 01:26:33 +00:00
Treehugger Robot
0666485a01
Merge "Fix overly-zealous strip." am: 74dab83037
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1682685
Change-Id: If3e05e5d7eff2a73c5adfb2eaf9a15903aaf1f47
2021-04-21 01:03:18 +00:00
Treehugger Robot
74dab83037
Merge "Fix overly-zealous strip."
2021-04-21 00:41:19 +00:00
Christopher Ferris
a2142d2835
Fix last python3 issues.
...
Includes pointing to the python3 version of the clang bindings.
Also, remove stale .gitignore line.
Test: Ran bionic/libc/kernel/tools/update_all.py and verified
Test: the files generated the same exact way.
Change-Id: I4eb9dd7382bca013f70d921b6ef48c7e7478615a
2021-04-20 17:36:07 -07:00
Dan Albert
8607c084c2
Fix overly-zealous strip.
...
The argument to this is the characters to strip, so `line.strip(line)`
just returns the empty string.
Test: None?
Bug: None
Change-Id: I4f62bffcd00936e4eef837a28b78023fcad54bb0
2021-04-20 16:05:02 -07:00
Christopher Ferris
aeccb1e161
Merge "Update for python3." am: fae6ff2f9e
am: 4bb98a4b96
am: 8ed51cf3c9
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1680430
Change-Id: I9b4ad85f294e6f3e7a8975474ec4517ebc2f604c
2021-04-20 22:16:22 +00:00
Christopher Ferris
8ed51cf3c9
Merge "Update for python3." am: fae6ff2f9e
am: 4bb98a4b96
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1680430
Change-Id: Id4e3e442ae952b44812d503fa060f59fe14ba22b
2021-04-20 21:52:45 +00:00
Christopher Ferris
4bb98a4b96
Merge "Update for python3." am: fae6ff2f9e
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1680430
Change-Id: Ifc0fdaf4668bef0896d1ce530b9223a5b1d10f3f
2021-04-20 21:20:47 +00:00
Christopher Ferris
fae6ff2f9e
Merge "Update for python3."
2021-04-20 20:49:48 +00:00
Treehugger Robot
681b3a2c3b
Merge "Ignore backup files left by emacs." am: 8d36be9bb9
am: eb64a4b579
am: c08981f785
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1680406
Change-Id: I0f2ed2ef3769eb275797904edc33780977eb9171
2021-04-20 03:33:34 +00:00
Treehugger Robot
c08981f785
Merge "Ignore backup files left by emacs." am: 8d36be9bb9
am: eb64a4b579
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1680406
Change-Id: Iac7c61f7e68e1f2589a7f9f4e8535e9d0b15305b
2021-04-20 03:18:15 +00:00
Treehugger Robot
eb64a4b579
Merge "Ignore backup files left by emacs." am: 8d36be9bb9
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1680406
Change-Id: I986015ba85c038f2f605074130c9b6a7857aa071
2021-04-20 02:54:59 +00:00
Treehugger Robot
8d36be9bb9
Merge "Ignore backup files left by emacs."
2021-04-20 01:24:49 +00:00
Christopher Ferris
ac7ec11473
Update for python3.
...
This fixes all of the problems with our kernel scripts, but not
the clang python script problems.
I also removed the updateGitFiles function since that code was
just silently failing any way. I replaced all calls with updateFiles.
Test: Ran script using python2 to verify it still works.
Test: Run script in python3 verifying that it starts to run.
Change-Id: I223a31a8324c59e6bc4067f48a6110361b3e26e8
2021-04-19 17:02:38 -07:00
Dan Albert
77d976cd65
Ignore backup files left by emacs.
...
Test: Added a file like this locally and the upload hook didn't care
Bug: None
Change-Id: I4c33f2517a9a83c7797d3ea9074fffeedf85dcaa
2021-04-19 14:05:59 -07:00
Treehugger Robot
042a40d636
Merge "Say which API level fdsan/fdtrack appeared at." am: b82fcdaf36
am: 4112ac6712
am: ebd5ef4954
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677042
Change-Id: Ibd1be0dc14ce64a5eb0e7c40ff249da63ba474e5
2021-04-17 01:29:43 +00:00
Treehugger Robot
ebd5ef4954
Merge "Say which API level fdsan/fdtrack appeared at." am: b82fcdaf36
am: 4112ac6712
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677042
Change-Id: I460cde469789678f37384a7fc9f868358f38e8b6
2021-04-17 01:05:12 +00:00
Treehugger Robot
4112ac6712
Merge "Say which API level fdsan/fdtrack appeared at." am: b82fcdaf36
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677042
Change-Id: I703d1c0827017584e64269ef25392bdcd686aca0
2021-04-17 00:38:23 +00:00
Treehugger Robot
b82fcdaf36
Merge "Say which API level fdsan/fdtrack appeared at."
2021-04-17 00:22:25 +00:00
Elliott Hughes
c3dbac160a
Merge "Force everything to use python3 for consistency." am: 508c02fa06
am: 923e0d6180
am: 23bfe71cdb
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677766
Change-Id: I224b80c6ceb0ffb877402e23c49e712be71c1ce6
2021-04-16 21:53:53 +00:00
Elliott Hughes
23bfe71cdb
Merge "Force everything to use python3 for consistency." am: 508c02fa06
am: 923e0d6180
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677766
Change-Id: I777fb6a4db4a58639e9727f1aa0fd320d366c64b
2021-04-16 21:28:44 +00:00
Elliott Hughes
923e0d6180
Merge "Force everything to use python3 for consistency." am: 508c02fa06
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677766
Change-Id: Ia6de433774c4d28ab713c0dc62632c1fdf323917
2021-04-16 21:07:37 +00:00
Elliott Hughes
977867173a
Say which API level fdsan/fdtrack appeared at.
...
Test: N/A
Change-Id: Id29db9a5ec6a039af95ce3cdd421542ac862f339
2021-04-16 13:57:52 -07:00
Elliott Hughes
508c02fa06
Merge "Force everything to use python3 for consistency."
2021-04-16 20:49:38 +00:00
Elliott Hughes
6b586e7709
Force everything to use python3 for consistency.
...
Rather than "whatever people have installed as 'python' on their machine".
I've removed check-symbols.py because that's been broken for years and
we never even noticed, and I'm not sure it's worth fixing.
Test: treehugger, manual
Change-Id: Ieb996bbdf790a18d4b1fb46a409cc240ba2a2a49
2021-04-15 13:39:08 -07:00
Treehugger Robot
cbaf82cecc
Merge "Make gensyscalls.py compatible with Python 3." am: 9cf8871dd9
am: 4b6371e433
am: 5a8721a1ed
...
Original change: https://android-review.googlesource.com/c/platform/bionic/+/1677008
Change-Id: I066c8a2ccd91e88ab60d0e6382197981478df663
2021-04-15 20:09:35 +00:00