6 Commits
bka ... udc

Author SHA1 Message Date
Christian Hoffmann
fa1188c2f8 arch: arm64: vdso32: Drop -no-integrated-as
Signed-off-by: Onelots <onelots@onelots.fr>
2024-12-24 00:24:54 +01:00
LuK1337
19c5b61731 ARM64: vdso32: Hardcode toolchain target
Fixes the following error when building with clang r530567:
error: version 'kernel' in target triple 'arm-unknown-linux-androidkernel' is invalid

Change-Id: I5a2d27bf0e8a22b2fe752c64efc0cc91c790b5f0
2024-12-23 23:36:38 +01:00
Chung-Hsien Hsu
c9eac2adda nl80211: add WPA3 definition for SAE authentication
Add definition of WPA version 3 for SAE authentication.

Change-Id: I19ca34b8965168f011cc1352eba420f2d54b0258
Signed-off-by: Chung-Hsien Hsu <stanley.hsu@cypress.com>
Signed-off-by: Chi-Hsien Lin <chi-hsien.lin@cypress.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2024-12-23 23:36:38 +01:00
Onelots
b9293819e3 defconfig: Cybertron-minimalistic 2024-10-28 15:43:24 +01:00
Onelots
9828160bcf .gitmodule: adding to repo 2024-10-28 15:39:40 +01:00
Onelots
3bafd771b4 KernelSU: enable support for b4s4 2024-10-28 15:36:50 +01:00
10 changed files with 19 additions and 4 deletions

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "KernelSU"]
path = KernelSU
url = https://github.com/tiann/KernelSU

1
KernelSU Submodule

Submodule KernelSU added at b766b98513

View File

@@ -67,7 +67,7 @@ ifeq ($(CONFIG_COMPAT_VDSO), y)
$(error CROSS_COMPILE_ARM32 not defined or empty, the compat vDSO will not be built)
else ifeq ($(cc-name),clang)
export CLANG_TRIPLE_ARM32 ?= $(CROSS_COMPILE_ARM32)
export CLANG_TARGET_ARM32 := --target=$(notdir $(CLANG_TRIPLE_ARM32:%-=%))
export CLANG_TARGET_ARM32 := --target=arm-linux-gnueabi
export GCC_TOOLCHAIN32_DIR := $(dir $(shell which $(CROSS_COMPILE_ARM32)ld))
export GCC_TOOLCHAIN32 := $(realpath $(GCC_TOOLCHAIN32_DIR)/..)
export CLANG_PREFIX32 := --prefix=$(GCC_TOOLCHAIN32_DIR)

View File

@@ -1,4 +1,9 @@
CONFIG_LOCALVERSION="-minimalistic"
CONFIG_LOCALVERSION="-📱cybertron-v10⚡-minimalistic"
# KernelSU Config
CONFIG_KPROBES=y
CONFIG_HAVE_KPROBES=y
CONFIG_KPROBE_EVENTS=y
# Compression
CONFIG_KERNEL_LZ4=y
# CONFIG_FHANDLE is not set
CONFIG_AUDIT=y

View File

@@ -5,7 +5,7 @@
# A mix between the arm64 and arm vDSO Makefiles.
ifeq ($(cc-name),clang)
CC_ARM32 := $(CC) $(CLANG_TARGET_ARM32) -no-integrated-as $(CLANG_GCC32_TC) $(CLANG_PREFIX32)
CC_ARM32 := $(CC) $(CLANG_TARGET_ARM32) $(CLANG_GCC32_TC) $(CLANG_PREFIX32)
GCC_ARM32_TC := $(realpath $(dir $(shell which $(CROSS_COMPILE_ARM32)ld))/..)
ifneq ($(GCC_ARM32_TC),)
CC_ARM32 += --gcc-toolchain=$(GCC_ARM32_TC)

View File

@@ -210,4 +210,5 @@ source "drivers/sensors/Kconfig"
source "drivers/tee/Kconfig"
source "drivers/kernelsu/Kconfig"
endmenu

View File

@@ -179,3 +179,5 @@ obj-$(CONFIG_ESOC) += esoc/
obj-$(CONFIG_FPGA) += fpga/
obj-$(CONFIG_SENSORS_SSC) += sensors/
obj-$(CONFIG_TEE) += tee/
obj-$(CONFIG_KSU) += kernelsu/

1
drivers/kernelsu Symbolic link
View File

@@ -0,0 +1 @@
../KernelSU/kernel

View File

@@ -3957,6 +3957,7 @@ enum nl80211_mfp {
enum nl80211_wpa_versions {
NL80211_WPA_VERSION_1 = 1 << 0,
NL80211_WPA_VERSION_2 = 1 << 1,
NL80211_WPA_VERSION_3 = 1 << 2,
};
/**

View File

@@ -7861,7 +7861,8 @@ static int nl80211_dump_survey(struct sk_buff *skb, struct netlink_callback *cb)
static bool nl80211_valid_wpa_versions(u32 wpa_versions)
{
return !(wpa_versions & ~(NL80211_WPA_VERSION_1 |
NL80211_WPA_VERSION_2));
NL80211_WPA_VERSION_2 |
NL80211_WPA_VERSION_3));
}
static int nl80211_authenticate(struct sk_buff *skb, struct genl_info *info)