Commit graph

3944 commits

Author SHA1 Message Date
Bram Bonné
27a10d501b Merge "Null-terminate libselinux context name in fuzzer." am: 0e8eccd069 am: d157a3e180 am: c1272f7cd2
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1492196

Change-Id: I12958b984364a248df33681c526fd78a8008cd2a
2020-11-16 15:08:38 +00:00
Bram Bonné
c1272f7cd2 Merge "Null-terminate libselinux context name in fuzzer." am: 0e8eccd069 am: d157a3e180
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1492196

Change-Id: I39edf13b5db6b85f58c5d7f34d534b7710c68073
2020-11-16 14:52:56 +00:00
Bram Bonné
d157a3e180 Merge "Null-terminate libselinux context name in fuzzer." am: 0e8eccd069
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1492196

Change-Id: I82565ed4ee46f06b39f9eb66798fdd8c2f820cf2
2020-11-16 14:40:09 +00:00
Bram Bonné
0e8eccd069 Merge "Null-terminate libselinux context name in fuzzer." 2020-11-16 14:21:50 +00:00
Bram Bonné
c7c88d9701 Null-terminate libselinux context name in fuzzer.
Test: make and run libselinux_context_fuzzer on host
Fix: 171997120
Fix: 172338832
Change-Id: I23ed5b8c695a8dc2dd18f1a08d18590f4d8dd1e3
2020-11-13 10:08:57 +01:00
Treehugger Robot
2dfdb05b70 Merge "Add more fuzzers" am: 14de5345d4 am: 2fc3aa4ecf am: 6e05073c56
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1493596

Change-Id: Id6cdda3b30c448604d064cd2a65b23b06c5901f5
2020-11-10 16:08:50 +00:00
Treehugger Robot
6e05073c56 Merge "Add more fuzzers" am: 14de5345d4 am: 2fc3aa4ecf
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1493596

Change-Id: I5225967351b046c8499784e67c2b8e384f644072
2020-11-10 15:42:11 +00:00
Treehugger Robot
2fc3aa4ecf Merge "Add more fuzzers" am: 14de5345d4
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1493596

Change-Id: I8bea3db67f2d82fed79cfbd36a53e9992f479c3a
2020-11-10 15:27:26 +00:00
Treehugger Robot
14de5345d4 Merge "Add more fuzzers" 2020-11-10 15:14:08 +00:00
Joel Galenson
21bd55b760 Add more fuzzers
Test: Run fuzzers
Change-Id: Ia4e459821d9f5d20a238cb27f5a2589897b96e24
2020-11-09 15:12:29 -08:00
Treehugger Robot
d811c9248d Merge "Add another SELinux fuzz target" am: 673604a02a am: 6584cd0ecc am: dca465b272
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1486296

Change-Id: Iaa1347e6238e4ef256074090f8212acb232ba7a2
2020-11-03 22:00:40 +00:00
Treehugger Robot
dca465b272 Merge "Add another SELinux fuzz target" am: 673604a02a am: 6584cd0ecc
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1486296

Change-Id: I7a072de938687751bdd5c3ae7f8d3a477712914b
2020-11-03 21:46:18 +00:00
Treehugger Robot
6584cd0ecc Merge "Add another SELinux fuzz target" am: 673604a02a
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1486296

Change-Id: If534f7e0cd0957e31bbd6a93a15ba2abcc0cc07f
2020-11-03 21:28:05 +00:00
Treehugger Robot
673604a02a Merge "Add another SELinux fuzz target" 2020-11-03 21:01:55 +00:00
Joel Galenson
17dfcdf899 Add another SELinux fuzz target
Test: Build and run the fuzzer
Change-Id: I9f6057f93defc4e1b81bce7e105a7bd89c808ee4
2020-11-03 10:31:35 -08:00
Yifan Hong
a08a528c3c Merge "Make {vendor_,}ramdisk_available." am: e149732597 am: 127bd679a3 am: 55c52e4aba
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1469700

Change-Id: Ifaf409525228ae8b8be545bccd8613cbb12b8288
2020-11-02 19:36:48 +00:00
Yifan Hong
55c52e4aba Merge "Make {vendor_,}ramdisk_available." am: e149732597 am: 127bd679a3
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1469700

Change-Id: I04d498aea6ee06dcc98475b0d39ebd3d82de6e65
2020-11-02 19:22:50 +00:00
Yifan Hong
127bd679a3 Merge "Make {vendor_,}ramdisk_available." am: e149732597
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1469700

Change-Id: I3c3bc5b2ddae4a76b5302ca4c4c8f226faea41ab
2020-11-02 19:04:35 +00:00
Yifan Hong
e149732597 Merge "Make {vendor_,}ramdisk_available." 2020-11-02 18:33:33 +00:00
Joel Galenson
d0e0677737 Add more fuzz targets for SELinux am: 7cb28c7f7a am: c68219f17d am: ca22942b81
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1465082

Change-Id: Ic68ac678e9091f00f55012b87ccb698a9b491b41
2020-10-29 19:49:14 +00:00
Joel Galenson
ca22942b81 Add more fuzz targets for SELinux am: 7cb28c7f7a am: c68219f17d
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1465082

Change-Id: I9e040b1f3c07e0b7d1f417739905daaa8e177b11
2020-10-29 19:15:37 +00:00
Joel Galenson
c68219f17d Add more fuzz targets for SELinux am: 7cb28c7f7a
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1465082

Change-Id: Iaab4d92b059e36a4b0cbfc77db78d6d71bc82843
2020-10-29 18:56:29 +00:00
Yifan Hong
175a3e4479 Make {vendor_,}ramdisk_available.
Making libselinux available to ramdisk and vendor_ramdisk
modules. Ramdisk and vendor_ramdisk modules are typically
used by first stage init.

This is the prerequisite to make toybox available to ramdisk
and vendor_ramdisk, so that first stage console can use shell
utilities.

Test: pass
Bug: 156098440

Change-Id: I8289eb12ce5a90fc68fcd432a2eef4240c87a7d2
2020-10-29 10:58:38 -07:00
Joel Galenson
7cb28c7f7a Add more fuzz targets for SELinux
Test: Build and run the fuzzers
Change-Id: I6b6a0e19cc56276ea43a989432a2ac6f6beb482f
2020-10-29 07:35:47 -07:00
Jeffrey Vander Stoep
d2af647dcb Merge "Add fuzz targets for SELinux." am: 14e430c1aa am: f938b97422 am: b31b6d902a
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1464002

Change-Id: I3e3b4e4a5554a196a0dc4537f5f970da84c120c1
2020-10-29 11:45:35 +00:00
Jeffrey Vander Stoep
b31b6d902a Merge "Add fuzz targets for SELinux." am: 14e430c1aa am: f938b97422
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1464002

Change-Id: I25d6979c61dc4ad15b52b0618cae99d8bf75c45a
2020-10-29 11:17:35 +00:00
Jeffrey Vander Stoep
f938b97422 Merge "Add fuzz targets for SELinux." am: 14e430c1aa
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1464002

Change-Id: I759bb97ecafaa3cbf1855fc6f270120ce39b64c3
2020-10-29 10:52:45 +00:00
Jeffrey Vander Stoep
14e430c1aa Merge "Add fuzz targets for SELinux." 2020-10-29 10:34:28 +00:00
Bram Bonné
76636da2d8 Add fuzz targets for SELinux.
Test: m libselinux_android_setcontext_fuzzer
Test: m libselinux_context_fuzzer
Change-Id: I82e82ff41b1d969e6756658955dbbdbb6330eb43
2020-10-29 10:01:54 +01:00
Colin Cross
4b6b3906bf Merge "Make the connection between implementation and llndk_library explicit" am: 1118c6f7f6 am: 0b3fa2f4da am: 7926b277f1
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1466922

Change-Id: I11e9a2996459d71f0a69665c38f7a1f580a0b081
2020-10-23 19:42:38 +00:00
Colin Cross
7926b277f1 Merge "Make the connection between implementation and llndk_library explicit" am: 1118c6f7f6 am: 0b3fa2f4da
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1466922

Change-Id: Ia4cf78a86010fc9eebeb7af10903168887f201db
2020-10-23 19:24:44 +00:00
Colin Cross
0b3fa2f4da Merge "Make the connection between implementation and llndk_library explicit" am: 1118c6f7f6
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1466922

Change-Id: Ic3f1024153cec892573cd604365f0475ac962a0a
2020-10-23 19:00:06 +00:00
Colin Cross
1118c6f7f6 Merge "Make the connection between implementation and llndk_library explicit" 2020-10-23 18:09:42 +00:00
Colin Cross
c2846a38dc Make the connection between implementation and llndk_library explicit
Instead of assuming a module with the .llndk suffix exists, add an
llndk_stubs property to every cc_library module that has a
corresponding llndk_library.  Also rename the llndk_library to have
an explicit .llndk suffix.

Bug: 170784825
Test: no changes to build.ninja (excluding comments) or Android-${TARGET_PRODUCT}.mk
Change-Id: Iaf4ffe2dc7459715c97d8083e39b367b128f1b55
2020-10-19 13:37:53 -07:00
Xin Li
666c1232ca [automerger skipped] Skip ab/6749736 in stage. am: 3da3e63976 -s ours am: 9722c03b47 -s ours
am skip reason: Change-Id I5b62003176614c5f7e1f8926f9598e12bae4440c with SHA-1 a8447bb6e2 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/selinux/+/12797390

Change-Id: I1c00d7e1e8ad4a4e5d9c50090e88d624fbcd0470
2020-10-09 03:42:35 +00:00
Xin Li
9722c03b47 [automerger skipped] Skip ab/6749736 in stage. am: 3da3e63976 -s ours
am skip reason: Change-Id I5b62003176614c5f7e1f8926f9598e12bae4440c with SHA-1 a8447bb6e2 is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/selinux/+/12797390

Change-Id: Ib12da1303ad8b639218f1a0d800a5df15b0f2dd6
2020-10-09 03:22:59 +00:00
Xin Li
3da3e63976 Skip ab/6749736 in stage.
Merged-In: I5b62003176614c5f7e1f8926f9598e12bae4440c
Change-Id: I7462af74a07860ca8ccf682db50e9daad7f070c2
2020-10-08 17:21:42 -07:00
Tom Cherry
244f216891 Use libcutils_headers for android_filesystem_config.h am: 68c10fa51a am: 168ba563bd am: 889db95fa7 am: 7e28ca476a
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1429896

Change-Id: I02274f080625f5c0dfab4ff1bb44a7d884252421
2020-09-19 09:54:09 +00:00
Tom Cherry
7e28ca476a Use libcutils_headers for android_filesystem_config.h am: 68c10fa51a am: 168ba563bd am: 889db95fa7
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1429896

Change-Id: Ia7a32de60ece1acb496e6c9b8a07936fc0882412
2020-09-19 08:19:29 +00:00
Tom Cherry
889db95fa7 Use libcutils_headers for android_filesystem_config.h am: 68c10fa51a am: 168ba563bd
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1429896

Change-Id: Ifb713a225f975b268302ba77dbb251dcc726ac11
2020-09-19 07:53:46 +00:00
Tom Cherry
168ba563bd Use libcutils_headers for android_filesystem_config.h am: 68c10fa51a
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1429896

Change-Id: Ie38e8091dbf96717fe02e124fea8e7c9ed94c6da
2020-09-19 06:23:32 +00:00
Tom Cherry
68c10fa51a Use libcutils_headers for android_filesystem_config.h
android_filesystem_config.h is found since system/core/include is on
the include path for all projects and contains a symlink to the real
android_filesystem_config.h.  This is fragile and the below bug seeks
to remove this symlink and have users correctly depend on
libcutils_headers.

Bug: 165825252
Test: build
Change-Id: I173a275366051aec3e941870e6dbebaab6bea6d0
2020-09-18 15:45:16 -07:00
Xin Li
386b30ae91 [automerger skipped] Mark Android R (rvc-dev-plus-aosp-without-vendor@6692709) as merged am: 28e6947fe2 -s ours am: a6c5e571b1 -s ours am: 26a36130ec -s ours
am skip reason: Change-Id I2f55149f4130f2bb1cb292c69766645be7a5a2b6 with SHA-1 6bf38f245e is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/selinux/+/12469358

Change-Id: I4edb76d71c37ac4c5950755e8f006ac372827fec
2020-08-27 19:18:27 +00:00
Xin Li
26a36130ec [automerger skipped] Mark Android R (rvc-dev-plus-aosp-without-vendor@6692709) as merged am: 28e6947fe2 -s ours am: a6c5e571b1 -s ours
am skip reason: Change-Id I2f55149f4130f2bb1cb292c69766645be7a5a2b6 with SHA-1 6bf38f245e is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/selinux/+/12469358

Change-Id: Icbe4aee55ea1108119239320455a8724ad829029
2020-08-27 18:57:31 +00:00
Xin Li
a6c5e571b1 [automerger skipped] Mark Android R (rvc-dev-plus-aosp-without-vendor@6692709) as merged am: 28e6947fe2 -s ours
am skip reason: Change-Id I2f55149f4130f2bb1cb292c69766645be7a5a2b6 with SHA-1 6bf38f245e is in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/selinux/+/12469358

Change-Id: I1b2484ff7ddcf8626b6ba22112b77c7660f66d78
2020-08-27 18:30:08 +00:00
Xin Li
28e6947fe2 Mark Android R (rvc-dev-plus-aosp-without-vendor@6692709) as merged
Bug: 166295507
Merged-In: I2f55149f4130f2bb1cb292c69766645be7a5a2b6
Change-Id: I730a1015288e9645786108830235558aa0980605
2020-08-27 09:44:16 -07:00
Stephen Crane
0e4b4c60ba Pass individual arguments in bindgen flags am: ed5407a024 am: 357e8d74f0 am: af7e4986ed am: a8447bb6e2
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1390551

Change-Id: Id25212425043adbe07669e7b413f6eaf92fcf562
2020-08-06 22:55:14 +00:00
Stephen Crane
a8447bb6e2 Pass individual arguments in bindgen flags am: ed5407a024 am: 357e8d74f0 am: af7e4986ed
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1390551

Change-Id: I5b62003176614c5f7e1f8926f9598e12bae4440c
2020-08-06 22:37:24 +00:00
Stephen Crane
af7e4986ed Pass individual arguments in bindgen flags am: ed5407a024 am: 357e8d74f0
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1390551

Change-Id: If4d8acf7aee9f1e3e3f0a6f7f9ea9fd8e4fcefdb
2020-08-06 22:06:43 +00:00
Stephen Crane
357e8d74f0 Pass individual arguments in bindgen flags am: ed5407a024
Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/1390551

Change-Id: I939ffaf6c15c71879d675d238173d20c7750773a
2020-08-06 21:44:49 +00:00