Commit Graph

3915 Commits

Author SHA1 Message Date
Jeffrey Vander Stoep
a1503a9d93 Revert "Treble-ize tmpfs access"
This reverts commit f8b962729f.

Reason for revert:
This change is no longer necessary due to aosp/889855 which moves all
apps to a shared tmpfs type. It's simpler, and significantly less 
likely to cause build breakages in downstream trees.
Bug: 122854450

Change-Id: I5226ff72c3fbae46822e40d7fbbacee9bc49c6db
2019-02-01 21:39:50 +00:00
Jeff Vander Stoep
f8b962729f Treble-ize tmpfs access
Declare *_tmpfs types for all vendor domains which need it.

Bug: 122854450
Test: Sepolicy-build tests
Test: build taimen-userdebug
Change-Id: Ifd18eea5cac0a21f5fe1e27212e35d71762a9905
(cherry picked from commit 4a137c011f)
2019-01-25 15:23:55 -08:00
Justin Yun
749615f25a Add option to increase inode count for test build
To build with VNDK snapshot libs we need more inode count for the
devices without product partition.

Define PRODUCT_INCREASE_INODE_COUNT=true to double the INODE_COUNT.
This is available only for test builds, since it will consume some
space for system image.

Bug: 122706619
Test: PRODUCT_EXTRA_VNDK_VERSIONS=28 \
      PRODUCT_INCREASE_INODE_COUNT=true m -j

Change-Id: I7e57cf3d4896dbe38e6a112ef983894320026b42
2019-01-14 09:58:00 +09:00
Treehugger Robot
afeabbb7c9 Merge "Add Adam to OWNERS." 2019-01-08 04:41:12 +00:00
Tri Vo
a3a67a6bb9 ueventd.rc: Move device-specific entries to /vendor/ueventd.rc.
Bug: 110962171
Test: boot taimen
Change-Id: I8b70913f6d128f7a53eb786d1e02e61423abe472
2019-01-06 16:25:40 -08:00
SalmaxChang
fe77ce7472 rfs_access: Limit and specify tombstone_rfs_vendor_data_file label for rfs_access
Bug: 121294677

Not impact existing tombstone_wifi_data_file label

Change-Id: Ifbeef88ee2de824b788ea971a2c893526c590d0a
Signed-off-by: SalmaxChang <salmaxchang@google.com>
2018-12-22 07:42:17 +00:00
SalmaxChang
a82169492c selinux: rfs_access: fix tftp_server denials when operating on tombstones file
Bug: 121294677

Sync and cherry-pick ag/4706915 to ASOP

Label and add sepolicy for tftp_server to operation on tombstones file
avc: denied { create } for name="modem" scontext=u:r:rfs_access:s0 tcontext=u:object_r:tombstone_vendor_data_file:s0 tclass=dir permissive=0

Change-Id: Ib01dc4fb3b6268817cc7d8d49430a47dd6993b50
Merged-In: I8cdaab1252ff934df92b7f4e52ba361f894f3227
Signed-off-by: SalmaxChang <salmaxchang@google.com>
2018-12-22 05:46:16 +00:00
Chungjui Fan
e73d5d568d Modify ramoops sepolicy due to some ramoops file paths are changed to vendor partition
Bug: 121294677

Sync and cherry-pick ag/4966918 to AOSP

Change-Id: I82d564bfa8ae3c7c9dce6d9e87cfa014e1c04ad3
Merged-In: Id7ea3c744b5af06db299f60f1ac038d49d5b7ffb
Signed-off-by: SalmaxChang <salmaxchang@google.com>
2018-12-22 02:00:35 +00:00
Joel Galenson
f8cde604fb Add Adam to OWNERS.
Test: None.
Change-Id: Idda7529e3c074e1ba07b28a0bff9b552367bd3d7
2018-12-20 15:43:07 -08:00
chenpaul
4eb18c9485 Modified property name to follow the naming rule
According to go/treble-sysprop-compatibility, vendor relative property
should have prefix "vendor". This patch changes the property name to
follow the naming rule.

Bug: 110327460
Test: WLAN driver and FW version are saved to a new property.

Change-Id: I8d9d70399c3af67b38d82b9c38cf0281a4ad1c35
Merged-In: I8d9d70399c3af67b38d82b9c38cf0281a4ad1c35
2018-12-17 07:48:30 +00:00
Treehugger Robot
f79d38f578 Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master" 2018-12-13 05:45:20 +00:00
Chih-Hung Hsieh
1dcb87eee2 Fix performance-for-range-copy warnings
Bug: 30413223
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,performance*
Change-Id: Ia47cc330399e3d524da90109deb2d736e6fe056b
2018-12-12 13:46:20 -08:00
Xin Li
75fb11e5e1 DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master
Bug: 120502534
Change-Id: If069a02620d2ffe169f92ac348536b5f155de52b
2018-12-11 13:58:57 -08:00
Bill Rassieur
752ec152bb Merge PQ1A.181205.006 from Pi-QPR1-Release into ToT for Pi-Platform release.\n\nBUG: 120448245
Change-Id: Ib66e29981876e7d5f313c9f887ea6eed422063ae
2018-12-04 16:58:39 +00:00
Anton Hansson
a50e104cca Merge "Remove gps_debug.conf" 2018-11-29 15:53:07 +00:00
Anton Hansson
2fa616991a Remove gps_debug.conf
Moved to frameworks/base, where it can be shared with
other devices.

Bug: 112879252
Test: make
Change-Id: Ie4c8f6776fa82044a81cad251d7517b75c03a00b
Merged-In: Ic406c4ff35951cb4f5bff72d8dcf9f36064ccbb4
2018-11-29 09:44:30 +00:00
Bill Yi
863c063fc7 Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-release
Change-Id: I7123f90134234c55435fb7904cd2188da40dd533
2018-11-28 18:45:55 -08:00
Treehugger Robot
f3893a0112 Merge "Convert IMediaCasService to use vintf_fragments" 2018-11-26 17:54:46 +00:00
Peter Kalauskas
6f93c1d12e Convert IMediaCasService to use vintf_fragments
Bug: 119669996
Test: Run cts CtsMediaTestCases
Change-Id: I43366fd9e95b30948aaa97f1cd5ff8b189de6c52
2018-11-20 16:49:04 -08:00
Joel Galenson
373912b313 Remove fixed bugs from bug_map.
Test: Build
Change-Id: I2b119dabf8f5924cd2352f426be0f2fe91893858
2018-11-20 08:38:28 -08:00
Joel Galenson
10a98f44ee Update bug_map to be the same as internal.
Test: none
Change-Id: I316959165fab43c3cda56361d1cd04dea44eb081
Merged-In: I707ffac915531a17b196ea9e507c6b216676f138
2018-11-16 10:58:01 -08:00
Michael Moreno
26930702eb Cleanup wahoo sepolicy for easel.
Change-Id: I755fd46508d596745ce502f08756505542945afb
Test: aosp with 3P camera app
2018-11-07 13:15:17 -08:00
Tom Cherry
7aa2e5a0d8 Merge "Remove starting servicemanagers" 2018-10-25 21:20:26 +00:00
Treehugger Robot
37bca07141 Merge "Track another vendor_default_prop denial." 2018-10-24 23:18:41 +00:00
Joel Galenson
03f9fc947b Track another vendor_default_prop denial.
This should help fix presubmit tests.

Bug: 79617173
Test: Built policy.
Change-Id: I9c45e914c727988b12e35993ef475aea1564293b
Merged-In: Iaea8790b847066915b9a7436e529def193a4f169
2018-10-24 14:57:02 -07:00
Bill Yi
fa8e89c4e7 Merge pie-platform-release to aosp-master - DO NOT MERGE
Change-Id: Ic57c0ef75569112c08f1c9b4158358bb061bbbfb
2018-10-24 14:45:24 -07:00
Tom Cherry
31d06b3b05 Remove starting servicemanagers
All servicemanagers are started in rootdir/init.rc's `on init`
trigger, so there's no need to start them manually in device specific
rc files.

Test: boot
Change-Id: Ibdea8d5289322aae49af50e325beb793936ea525
2018-10-23 19:55:13 -07:00
Jack Yu
1272b85de6 Added a new system properties for IWLAN operation mode
Added a new flag to specify the IWLAN operation mode. Also
allowed this system properties for vendor native service to
access.

Test: Manual
Bug: 73659459
Change-Id: I5b64c6c437a3dc11a361121e2652a3f30f357105
2018-10-23 12:02:39 -07:00
Anton Hansson
e4d02b86f5 Move libnfc-nci.conf to /product on wahoo
Device-specific files belong off /system.

Bug: 117878616
Test: make
Change-Id: I012a64dda5e8dbb5506a98e6c569bb1218b18e84
2018-10-22 18:06:41 +01:00
Bill Yi
c6f5e8358f Merge pi-dr1-dev to aosp-master
Change-Id: I4e9b675c5ac0c2157f2fb554205788c8aaab2bc2
2018-10-19 12:20:23 -07:00
android-build-team Robot
e70da339c1 Merge cherrypicks of [5285346, 5285158, 5284278] into pi-qpr1-release
Change-Id: Ie48ea2e6d0af7b1ffcb89f9e2c5e524c6fb50a40
2018-10-16 22:48:36 +00:00
Adam Seaton
5f22828cb1 Update SVN for Walleye/Taimen to 21 for December release
bug: 117667960
(cherry picked from commit c3df451697)

Change-Id: Ibf3e69bd4ed3b252d237ede91a4a1f2149fee899
2018-10-16 22:48:21 +00:00
Tri Vo
cb352d2c5d Merge "netmgrd: remove access to system_file type."
am: dae630d1b7

Change-Id: Ia29215c5888cc04850e4e6e149802d0a86242314
2018-10-15 21:33:04 -07:00
Tri Vo
dae630d1b7 Merge "netmgrd: remove access to system_file type." 2018-10-16 03:32:21 +00:00
Siarhei Vishniakou
e6646ed8d2 Merge "Move input configuration files to /vendor"
am: d9d071a1fa

Change-Id: Ib0776828ce307c31922f53858cb7d8101ed4e2f3
2018-10-15 16:32:10 -07:00
Treehugger Robot
d9d071a1fa Merge "Move input configuration files to /vendor" 2018-10-15 23:16:37 +00:00
Tri Vo
44184ac225 Merge "wahoo: explicit app access to cgroup"
am: d14a22fa74

Change-Id: Icd92d154c12982da315a82221b858243aae725fc
2018-10-15 12:42:53 -07:00
Tri Vo
d14a22fa74 Merge "wahoo: explicit app access to cgroup" 2018-10-15 19:34:41 +00:00
Siarhei Vishniakou
79c04d0f9d Move input configuration files to /vendor
Input configuration files should be in /vendor, not in /system, since
these are device-specific

Bug: 112880217
Test: dumpsys input and observe that the files are placed into /vendor
Change-Id: I6212dbe2eb75115baa02d4db3c9e1b82569d0bd3
2018-10-15 11:11:10 -07:00
Tri Vo
2a0701afc6 Remove vendor sepolicy for input files.
am: e4ee1e6655

Change-Id: I1e342ed7023dd13f83510969cb1985a997703e81
2018-10-15 11:01:46 -07:00
Tri Vo
6ce4a8b3b5 wahoo: explicit app access to cgroup
The set of vendor apps touching cgroup is from go/sedenials.

Bug: 110043362
Test: boot aosp_walleye without cgroup denials/audit messages.
Change-Id: I5493fe272eab845949e20ea4d0ab0e59b07ff645
2018-10-13 17:23:29 -07:00
Tri Vo
e4ee1e6655 Remove vendor sepolicy for input files.
Bug: 112880217
Test: aosp_walleye boots without denials to input files
Change-Id: Ida8c3ef10b21d40937de710000a394a9d435bf13
2018-10-12 18:21:52 -07:00
Bill Rassieur
527771341e Merge PPR2.181005.003 from pi-release-2 into pi-platform-release.
Change-Id: I20acc9ce9c81f9685a046033ff6ccc95820ff83f
BUG: 117431430
2018-10-10 17:28:33 +00:00
Tri Vo
985629b020 netmgrd: remove access to system_file type.
Bug: 111243627
Test: go/sedenials shows that netmgrd does not access system_file on wahoo
Change-Id: Id9c0e3439a89a233f9359fde4ab0b305005b7a19
2018-10-09 14:54:13 -07:00
Joel Galenson
848e42a1f2 Remove rules for binary that is not on the device.
am: 44e354d3a1

Change-Id: I4f447399ee69e7468b20008efd9e53f55f4368e9
2018-10-09 14:11:48 -07:00
Joel Galenson
44e354d3a1 Remove rules for binary that is not on the device.
This was removed from the device in
I9b3571d246b1e48815bfce8a791cfcd2bc609778.

Bug: 79551588
Test: Booted device and observed no relevant errors.
Change-Id: I8902250bfc626790847313505d7e289201782b90
Merged-In: I6edff4f2838ea623363b78cbf3904eb2708d0197
2018-10-09 12:46:32 -07:00
Joel Galenson
851ed2c43c Remove binary that does not exist on the device.
am: 82d00f1e65

Change-Id: If1c662974da997138070d4bc44e92e9994ff7871
2018-10-09 11:12:32 -07:00
Joel Galenson
583311d271 Remove binary that does not exist on the device.
am: 36233383bb

Change-Id: I9b631c9afd3f47e885b4359f8e2e283fb177294b
2018-10-09 08:27:44 -07:00
Joel Galenson
fc4c9a412b Remove rules for binary that is not on the device.
am: 82455337ea

Change-Id: Iac32b14cf30a0ee0fcf2026d680e91f622d93e31
2018-10-09 08:27:28 -07:00
Joel Galenson
82d00f1e65 Remove binary that does not exist on the device.
The binary was removed in Ie95d90b79bf6ed10593ebf3ec5accc278fda8720.

Bug: 79551588
Test: Booted device and observed no relevant errors.
Change-Id: Ibe9ee820d31b2fe786c8928d720dc1ffba245736
2018-10-09 08:20:20 -07:00