Home
last modified time | relevance | path

Searched refs:protection (Results 1 - 25 of 61) sorted by relevance

123

/kernel/linux/linux-6.6/tools/testing/selftests/arm64/bti/
H A DMakefile11 CFLAGS_NOBTI = -mbranch-protection=none -DBTI=0
12 CFLAGS_BTI = -mbranch-protection=standard -DBTI=1
/kernel/linux/linux-5.10/arch/arm64/
H A DMakefile69 # Ensure that if the compiler supports branch protection we default it
70 # off, this will be overridden if we are using branch protection.
71 branch-prot-flags-y += $(call cc-option,-mbranch-protection=none)
75 # We enable additional protection for leaf functions as there is some
76 # narrow potential for ROP protection benefits and no substantial
79 branch-prot-flags-$(CONFIG_CC_HAS_BRANCH_PROT_PAC_RET_BTI) := -mbranch-protection=pac-ret+leaf+bti
81 branch-prot-flags-$(CONFIG_CC_HAS_BRANCH_PROT_PAC_RET) := -mbranch-protection=pac-ret+leaf
/kernel/linux/linux-6.6/arch/arm64/
H A DMakefile67 KBUILD_CFLAGS += -mbranch-protection=pac-ret+bti
70 KBUILD_CFLAGS += -mbranch-protection=pac-ret
75 KBUILD_CFLAGS += $(call cc-option,-mbranch-protection=none)
/kernel/linux/linux-6.6/arch/x86/
H A DMakefile49 -mno-mmx -mno-sse $(call cc-option,-fcf-protection=none)
83 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=branch -fno-jump-tables)
85 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none)
/kernel/linux/linux-5.10/drivers/irqchip/
H A Dirq-omap-intc.c59 u32 protection; member
88 intc_context.protection = in omap_intc_save_context()
108 intc_writel(INTC_PROTECTION, intc_context.protection); in omap_intc_restore_context()
/kernel/linux/linux-6.6/drivers/irqchip/
H A Dirq-omap-intc.c59 u32 protection; member
88 intc_context.protection = in omap_intc_save_context()
108 intc_writel(INTC_PROTECTION, intc_context.protection); in omap_intc_restore_context()
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/pauth/
H A DMakefile9 CFLAGS += -mbranch-protection=pac-ret
10 # check if the compiler supports ARMv8.3 and branch protection with PAuth
30 # when -mbranch-protection is enabled and the target architecture is ARMv8.3 or
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/pauth/
H A DMakefile9 CFLAGS += -mbranch-protection=pac-ret
10 # check if the compiler supports ARMv8.3 and branch protection with PAuth
30 # when -mbranch-protection is enabled and the target architecture is ARMv8.3 or
/kernel/linux/linux-6.6/arch/arm64/kernel/pi/
H A DMakefile6 $(call cc-option,-mbranch-protection=none) \
/kernel/linux/linux-6.6/arch/riscv/kernel/pi/
H A DMakefile6 $(call cc-option,-mbranch-protection=none) \
/kernel/linux/linux-5.10/arch/x86/
H A DMakefile37 -mno-mmx -mno-sse $(call cc-option,-fcf-protection=none)
62 KBUILD_CFLAGS += $(call cc-option,-fcf-protection=none)
/kernel/linux/linux-6.6/tools/virtio/
H A DMakefile17 CFLAGS += -g -O2 -Werror -Wno-maybe-uninitialized -Wall -I. -I../include/ -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE -include ../../include/linux/kconfig.h $(call cc-option,-mfunction-return=thunk) $(call cc-option,-fcf-protection=none) $(call cc-option,-mindirect-branch-register)
/kernel/linux/linux-6.6/tools/tracing/rtla/
H A DMakefile28 -fasynchronous-unwind-tables -fstack-clash-protection
/kernel/linux/linux-6.6/tools/verification/rv/
H A DMakefile28 -fasynchronous-unwind-tables -fstack-clash-protection
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dchannel.c315 wlc->protection->nmode_user) in brcms_c_set_country()
321 brcms_c_set_gmode(wlc, wlc->protection->gmode_user, false); in brcms_c_set_country()
390 brcms_c_set_gmode(wlc, wlc->protection->gmode_user, false); in brcms_c_channel_set_chanspec()
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dchannel.c315 wlc->protection->nmode_user) in brcms_c_set_country()
321 brcms_c_set_gmode(wlc, wlc->protection->gmode_user, false); in brcms_c_set_country()
390 brcms_c_set_gmode(wlc, wlc->protection->gmode_user, false); in brcms_c_channel_set_chanspec()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drxon.c616 /* FIXME: if the definition of ht.protection changed, the "translation" in _iwl_set_rxon_ht()
619 rxon->flags |= cpu_to_le32(ctx->ht.protection << in _iwl_set_rxon_ht()
629 if (ctx->ht.protection == in _iwl_set_rxon_ht()
680 le32_to_cpu(rxon->flags), ctx->ht.protection, in _iwl_set_rxon_ht()
1053 * force CTS-to-self frames protection if RTS-CTS is not preferred in iwlagn_commit_rxon()
1054 * one aggregation protection method in iwlagn_commit_rxon()
1211 * Default to no protection. Protection mode will in iwlagn_mac_config()
1214 ctx->ht.protection = IEEE80211_HT_OP_MODE_PROTECTION_NONE; in iwlagn_mac_config()
1449 ctx->ht.protection = bss_conf->ht_operation_mode & in iwlagn_bss_info_changed()
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drxon.c611 /* FIXME: if the definition of ht.protection changed, the "translation" in _iwl_set_rxon_ht()
614 rxon->flags |= cpu_to_le32(ctx->ht.protection << in _iwl_set_rxon_ht()
624 if (ctx->ht.protection == in _iwl_set_rxon_ht()
675 le32_to_cpu(rxon->flags), ctx->ht.protection, in _iwl_set_rxon_ht()
1048 * force CTS-to-self frames protection if RTS-CTS is not preferred in iwlagn_commit_rxon()
1049 * one aggregation protection method in iwlagn_commit_rxon()
1206 * Default to no protection. Protection mode will in iwlagn_mac_config()
1209 ctx->ht.protection = IEEE80211_HT_OP_MODE_PROTECTION_NONE; in iwlagn_mac_config()
1444 ctx->ht.protection = bss_conf->ht_operation_mode & in iwlagn_bss_info_changed()
/kernel/linux/linux-5.10/arch/s390/boot/
H A Dtext_dma.S96 lg %r2,0(%r4) # Disable lowcore protection
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A DMakefile76 CFLAGS_patch-scs.o += -mbranch-protection=none
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
H A DMakefile23 $(call cc-option,-mbranch-protection=none)
89 # Even when -mbranch-protection=none is set, Clang will generate a
/kernel/linux/linux-6.6/arch/powerpc/kernel/vdso/
H A DMakefile22 CFLAGS_REMOVE_vgettimeofday-32.o += -fno-stack-clash-protection
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
H A Drun_vmtests.sh56 memory protection key tests
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
H A Drtl871x_xmit.c724 uint protection; in r8712_update_protection() local
742 protection = (*(perp + 2)) & BIT(1); in r8712_update_protection()
743 if (protection) { in r8712_update_protection()
/kernel/linux/linux-6.6/drivers/staging/rtl8712/
H A Drtl871x_xmit.c723 uint protection; in r8712_update_protection() local
741 protection = (*(perp + 2)) & BIT(1); in r8712_update_protection()
742 if (protection) { in r8712_update_protection()

Completed in 17 milliseconds

123