From 19c7fd692fe96f082834223420f9af0c4ab7b0b2 Mon Sep 17 00:00:00 2001 From: HenriDellal Date: Fri, 4 Dec 2020 18:50:07 +0300 Subject: [PATCH] samsung-gts210ve{lte,wifi}: disable SEC_RESTRICT_ROOTING (MR 1786) SEC_RESTRICT_ROOTING is a Samsung-specific option, which makes unable to get root permissions on the device. Needed for postmarketos/pmbootstrap!2000 to be merged. [ci:skip-build] Builds fine locally --- device/testing/linux-samsung-gts210velte/APKBUILD | 4 ++-- .../config-samsung-gts210velte.aarch64 | 5 +---- device/testing/linux-samsung-gts210vewifi/APKBUILD | 4 ++-- .../config-samsung-gts210vewifi.aarch64 | 10 +--------- 4 files changed, 6 insertions(+), 17 deletions(-) diff --git a/device/testing/linux-samsung-gts210velte/APKBUILD b/device/testing/linux-samsung-gts210velte/APKBUILD index 39beaa26f..d0a3f36af 100644 --- a/device/testing/linux-samsung-gts210velte/APKBUILD +++ b/device/testing/linux-samsung-gts210velte/APKBUILD @@ -3,7 +3,7 @@ pkgname=linux-samsung-gts210velte pkgver=3.10.102 -pkgrel=1 +pkgrel=2 pkgdesc="Samsung Galaxy Tab S2 9.7 LTE (SM-T819) kernel fork" arch="aarch64" _carch="arm64" @@ -61,6 +61,6 @@ package() { } sha512sums="4fd6cbb31e389bdc50defb586d4a2d86d8bb51556b45b8f974c5ecb11de4900d36d0af65090f61664e32a48a7cef3f89f57157b460f4d6d5d05fa71e1400a099 linux-samsung-gts210velte-f6ab8eed124e3adc1c90d9f3106abd21c0bd0397.tar.gz -0dc4d943e8effe6778d2c6f0353990757435f1fce59083b7bfaa834328fa91d7df3c2543758cbb20e7c115c9f28b7d9eb7e936024331af995f9da88223e45c6e config-samsung-gts210velte.aarch64 +fec0accb7a7ebff6e199756ca6037416c22e8ff96eec28e48de92ff967a8c8bb8ec844c4a6ec72aa74f5b5e46aaa5e4a36f0d7e35cdc7b825de7cac4badf0a77 config-samsung-gts210velte.aarch64 7e765cb696fa8c3dfbc305b05cbf1fad85fb9572613d5391e945341dae5974a745f4906c795dc841e5562b19ab77d5257f9741e514af2c2573aa4bb8b262ce51 01_fix_msm_dba.patch 2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-samsung-gts210velte/config-samsung-gts210velte.aarch64 b/device/testing/linux-samsung-gts210velte/config-samsung-gts210velte.aarch64 index 87142e15c..74ab80c44 100644 --- a/device/testing/linux-samsung-gts210velte/config-samsung-gts210velte.aarch64 +++ b/device/testing/linux-samsung-gts210velte/config-samsung-gts210velte.aarch64 @@ -4516,10 +4516,7 @@ CONFIG_RESTART_REASON_SEC_PARAM=y # # Samsung Rooting Restriction Feature # -CONFIG_SEC_RESTRICT_ROOTING=y -# CONFIG_SEC_RESTRICT_SETUID is not set -# CONFIG_SEC_RESTRICT_FORK is not set -CONFIG_SEC_RESTRICT_ROOTING_LOG=y +# CONFIG_SEC_RESTRICT_ROOTING is not set CONFIG_UNUSED_PR_SET_TIMERSLACK_PID=y # diff --git a/device/testing/linux-samsung-gts210vewifi/APKBUILD b/device/testing/linux-samsung-gts210vewifi/APKBUILD index c519c8c80..9e6cdb781 100644 --- a/device/testing/linux-samsung-gts210vewifi/APKBUILD +++ b/device/testing/linux-samsung-gts210vewifi/APKBUILD @@ -3,7 +3,7 @@ pkgname=linux-samsung-gts210vewifi pkgver=3.10.102 -pkgrel=2 +pkgrel=3 pkgdesc="Galaxy Tab S2 9.7 WiFi (SM-T813) kernel fork" arch="aarch64" _carch="arm64" @@ -61,6 +61,6 @@ package() { } sha512sums="37e55b3e64308a29deb8932d8d2452ff76601558bdcb9ff58f3a016f5ec63c2941e5fe7cdcced50d5039d3cdadaa5d43004c4e27cb8b105f8fda7596d676fb9e linux-samsung-gts210vewifi-82d475a1952b9bbb6652b35e87671b5031bcf934.tar.gz -31d6b7356ac1c1053dce3319371b18298a4a6e815abcd910a7e0ff0a4dc03bcff15da14f8e8d485c80da29169788754f019f2b158355c3768bae7c2b17f3047b config-samsung-gts210vewifi.aarch64 +d1ca727a7c27efaf23c79eaa3c99cf7c45d8bbfd999dd4ac2aee6393ad7b63ee41e2a0f5bb29343ad9421e8dc46cbfa19b90e77bc0c15e4320bdca66d119b989 config-samsung-gts210vewifi.aarch64 7e765cb696fa8c3dfbc305b05cbf1fad85fb9572613d5391e945341dae5974a745f4906c795dc841e5562b19ab77d5257f9741e514af2c2573aa4bb8b262ce51 01_fix_msm_dba.patch 2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-samsung-gts210vewifi/config-samsung-gts210vewifi.aarch64 b/device/testing/linux-samsung-gts210vewifi/config-samsung-gts210vewifi.aarch64 index a628a5e12..04b13224e 100644 --- a/device/testing/linux-samsung-gts210vewifi/config-samsung-gts210vewifi.aarch64 +++ b/device/testing/linux-samsung-gts210vewifi/config-samsung-gts210vewifi.aarch64 @@ -1698,12 +1698,7 @@ CONFIG_KEYBOARD_GPIO=y # CONFIG_INPUT_TABLET is not set CONFIG_INPUT_TOUCHSCREEN=y # CONFIG_TOUCHSCREEN_SYNAPTICS_DSX_v21 is not set -# CONFIG_TOUCHSCREEN_SYNAPTICS_DSX_I2C_v21 is not set -# CONFIG_TOUCHSCREEN_SYNAPTICS_DSX_SPI_v21 is not set # CONFIG_TOUCHSCREEN_SYNAPTICS_DSX_v26 is not set -# CONFIG_TOUCHSCREEN_SYNAPTICS_DSX_I2C_v26 is not set -# CONFIG_TOUCHSCREEN_SYNAPTICS_DSX_SPI_v26 is not set -# CONFIG_TOUCHSCREEN_SYNAPTICS_DSX_RMI_HID_I2C_v26 is not set # CONFIG_TOUCHSCREEN_ADS7846 is not set # CONFIG_TOUCHSCREEN_AD7877 is not set # CONFIG_TOUCHSCREEN_AD7879 is not set @@ -4519,10 +4514,7 @@ CONFIG_RESTART_REASON_SEC_PARAM=y # # Samsung Rooting Restriction Feature # -CONFIG_SEC_RESTRICT_ROOTING=y -# CONFIG_SEC_RESTRICT_SETUID is not set -# CONFIG_SEC_RESTRICT_FORK is not set -CONFIG_SEC_RESTRICT_ROOTING_LOG=y +# CONFIG_SEC_RESTRICT_ROOTING is not set CONFIG_UNUSED_PR_SET_TIMERSLACK_PID=y #