/openbmc/openbmc/poky/meta/conf/distro/include/ |
H A D | security_flags.inc | 8 GCCPIE ?= "--enable-default-pie" 9 # If static PIE is known to work well, GLIBCPIE="--enable-static-pie" can be set 11 # _FORTIFY_SOURCE requires -O1 or higher, so disable in debug builds as they use 12 # -O0 which then results in a compiler warning. 13 OPTLEVEL = "${@bb.utils.filter('SELECTED_OPTIMIZATION', '-O0 -O1 -O2 -O3 -Ofast -Og -Os -Oz -O', d)… 15 lcl_maybe_fortify ?= "${@oe.utils.conditional('OPTLEVEL','-O0','','${OPTLEVEL} -D_FORTIFY_SOURCE=2'… 18 SECURITY_STRINGFORMAT ?= "-Wformat -Wformat-security -Werror=format-security" 20 # Inject pie flags into compiler flags if not configured with gcc itself 22 SECURITY_PIE_CFLAGS ?= "${@'' if '${GCCPIE}' else '-pie -fPIE'}" 24 SECURITY_NOPIE_CFLAGS ?= "-no-pie -fno-PIE" [all …]
|
H A D | tclibc-baremetal.inc | 7 LIBCOVERRIDE = ":libc-baremetal" 14 PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc" 15 PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc" 21 EXTRA_OECONF:pn-gcc-cross-${TARGET_ARCH}:append = " --without-headers" 22 DEPENDS:remove:pn-meta-toolchain = "virtual/libc virtual/compilerlibs" 25 BASEDEPENDS:remove:class-target = "virtual/compilerlibs" 30 TOOLCHAIN_HOST_TASK ?= "packagegroup-cross-canadian-${MACHINE} nativesdk-qemu nativesdk-sdk-provide… 32 TOOLCHAIN_TARGET_TASK ?= "libgcc-dev" 35 # disable stack protector by default (no-libc, no protector implementation) 36 SECURITY_STACK_PROTECTOR:libc-baremetal = "" [all …]
|
H A D | tclibc-newlib.inc | 5 LIBCEXTENSION = "-newlib" 6 LIBCOVERRIDE = ":libc-newlib" 11 PREFERRED_PROVIDER_virtual/nativesdk-libintl ?= "nativesdk-glibc" 12 PREFERRED_PROVIDER_virtual/nativesdk-libiconv ?= "nativesdk-glibc" 21 newlib-dbg \ 22 newlib-dev \ 24 libgloss-dev \ 25 libgloss-dbg \ 26 libgcc-dev \ 27 libgcc-dbg \ [all …]
|
/openbmc/openbmc/poky/meta/recipes-kernel/kexec/kexec-tools/ |
H A D | 0005-Disable-PIE-during-link.patch | 3 Date: Sat, 10 Jun 2017 11:18:49 -0700 4 Subject: [PATCH] Disable PIE during link 6 We have explcitly disabled PIE during compile so we 9 Upstream-Status: Pending 11 Signed-off-by: Khem Raj <raj.khem@gmail.com> 13 --- 14 purgatory/Makefile | 2 +- 15 1 file changed, 1 insertion(+), 1 deletion(-) 17 diff --git a/purgatory/Makefile b/purgatory/Makefile 19 --- a/purgatory/Makefile [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/minifi-cpp/files/ |
H A D | 0003-Fix-libsodium-build.patch | 9 Upstream-Status: Inappropriate [embedded specific] 11 Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 12 --- 13 cmake/BundledLibSodium.cmake | 6 ++---- 14 1 file changed, 2 insertions(+), 4 deletions(-) 16 diff --git a/cmake/BundledLibSodium.cmake b/cmake/BundledLibSodium.cmake 18 --- a/cmake/BundledLibSodium.cmake 20 @@ -58,14 +58,12 @@ function(use_bundled_libsodium SOURCE_DIR BINARY_DIR) 24 - set(CONFIGURE_COMMAND ./configure --disable-pie --enable-minimal "--prefix=${LIBSODIUM_BIN… 25 … set(CONFIGURE_COMMAND ./configure --host=${HOST_SYS} --build=${BUILD_SYS} --disable-pie --ena… [all …]
|
/openbmc/qemu/ |
H A D | configure | 14 source_path=$(cd "$(dirname -- "$0")"; pwd) 16 if test "$PWD" -ef "$source_path" 20 MARKER=build/auto-created-by-configure 22 if test -e build 24 if test -f $MARKER 26 rm -rf build 36 echo "your source directory, or try doing an out-of-tree build." 41 # This file is auto-generated by configure to support in-source tree 46 @$(MAKE) -C build -f Makefile $(MAKECMDGOALS) 48 test -e build/auto-created-by-configure ; \ [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/ |
H A D | qemu_9.2.0.bb | 5 DEPENDS += "glib-2.0 zlib pixman" 7 DEPENDS:append:libc-musl = " libucontext" 9 CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}" 11 RDEPENDS:${PN}-common:class-target += "bash" 13 EXTRA_OECONF:append:class-target = " --target-list=${@get_qemu_target_list(d)}" 14 EXTRA_OECONF:append:class-target:mipsarcho32 = "${@bb.utils.contains('BBEXTENDCURR', 'multilib', ' … 15 EXTRA_OECONF:append:class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" 18 fdt sdl kvm pie slirp \ 23 PACKAGECONFIG:class-nativesdk ??= "fdt sdl kvm pie slirp \
|
H A D | qemu.inc | 7 LICENSE = "GPL-2.0-only & LGPL-2.1-only" 9 DEPENDS += "bison-native meson-native ninja-native" 11 RDEPENDS:${PN}-ptest = "bash" 13 require qemu-targets.inc 14 # https://gitlab.com/qemu-project/qemu/-/commit/81e2b198a8cb4ee5fdf108bd438f44b193ee3a36 means 15 # we need a full python3-native setup 16 inherit pkgconfig ptest update-rc.d systemd python3native 21 SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \ 23 file://run-ptest \ 24 file://fix-strerrorname_np.patch \ [all …]
|
H A D | qemu-native_9.2.0.bb | 3 DEPENDS += "glib-2.0-native zlib-native" 5 require qemu-native.inc 7 …XTRA_OECONF:append = " --target-list=${@get_qemu_usermode_target_list(d)} --disable-tools --disabl… 9 PACKAGECONFIG ??= "pie"
|
/openbmc/linux/drivers/staging/rtl8723bs/core/ |
H A D | rtw_wlan_util.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. 51 switch (psta->wireless_mode) { in networktype_to_raid_ex() 67 if (psta->bw_mode == CHANNEL_WIDTH_20) { in networktype_to_raid_ex() 118 struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; in is_basicrate() 121 val = pmlmeext->basicrate[i]; in is_basicrate() 137 struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv; in ratetbl2rateset() 140 rate = pmlmeext->datarate[i]; in ratetbl2rateset() 254 return adapter_to_dvobj(adapter)->oper_channel; in rtw_get_oper_ch() 267 if (dvobj->oper_channel != ch) { in rtw_set_oper_ch() [all …]
|
H A D | rtw_ap.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved. 14 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in init_mlme_ap_info() 15 struct sta_priv *pstapriv = &padapter->stapriv; in init_mlme_ap_info() 16 struct wlan_acl_pool *pacl_list = &pstapriv->acl_list; in init_mlme_ap_info() 18 spin_lock_init(&pmlmepriv->bcn_update_lock); in init_mlme_ap_info() 21 INIT_LIST_HEAD(&pacl_list->acl_node_q.queue); in init_mlme_ap_info() 22 spin_lock_init(&pacl_list->acl_node_q.lock); in init_mlme_ap_info() 24 /* pmlmeext->bstart_bss = false; */ in init_mlme_ap_info() 32 struct mlme_priv *pmlmepriv = &padapter->mlmepriv; in free_mlme_ap_info() [all …]
|
/openbmc/qemu/.gitlab-ci.d/custom-runners/ |
H A D | ubuntu-22.04-aarch64.yml | 1 # All ubuntu-22.04 jobs should run successfully in an environment 2 # setup by the scripts/ci/setup/ubuntu/build-environment.yml task 5 ubuntu-22.04-aarch64-all-linux-static: 10 - ubuntu_22.04 11 - aarch64 13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/' 14 - if: "$AARCH64_RUNNER_AVAILABLE" 16 - mkdir build 17 - cd build 18 # Disable -static-pie due to build error with system libc: [all …]
|
/openbmc/linux/arch/x86/boot/compressed/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 32 # CLANG_FLAGS must come before any cc-disable-warning or cc-option calls in 33 # case of cross compiling, as it has the '--target=' flag, which is needed to 34 # avoid errors with '-march=i386', and future flags may depend on the target to 36 KBUILD_CFLAGS := -m$(BITS) -O2 $(CLANG_FLAGS) 37 KBUILD_CFLAGS += -std=gnu11 38 KBUILD_CFLAGS += -fno-strict-aliasing -fPIE 39 KBUILD_CFLAGS += -Wundef 40 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING 41 cflags-$(CONFIG_X86_32) := -march=i386 [all …]
|
/openbmc/openbmc/poky/meta/recipes-kernel/kexec/ |
H A D | kexec-tools_2.0.30.bb | 5 LICENSE = "GPL-2.0-only" 12 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz \ 16 file://0001-powerpc-change-the-memory-size-limit.patch \ 17 file://0002-purgatory-Pass-r-directly-to-linker.patch \ 18 file://0005-Disable-PIE-during-link.patch \ 19 file://0001-arm64-kexec-disabled-check-if-kaslr-seed-dtb-propert.patch \ 20 file://0001-kexec.c-add-MFD_NOEXEC_SEAL-flag-explicitly.patch \ 25 inherit autotools update-rc.d systemd 27 export LDFLAGS = "-L${STAGING_LIBDIR}" 28 EXTRA_OECONF = " --with-zlib=yes" [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/vsftpd/vsftpd-3.0.5/ |
H A D | makefile-strip.patch | 4 Subject: [PATCH] Disable stripping at link time 6 Upstream-Status: Inappropriate [config] 8 Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> 10 --- 11 Makefile | 1 - 12 1 file changed, 1 deletion(-) 14 diff --git a/Makefile b/Makefile 16 --- a/Makefile 18 @@ -9,7 +9,6 @@ CFLAGS = -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 \ 19 #-pedantic -Wconversion [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-extended/dlm/dlm/ |
H A D | 0001-Disable-annobin-plugin.patch | 3 Date: Sat, 15 Jul 2023 13:13:12 -0700 4 Subject: [PATCH] Disable annobin plugin 10 Upstream-Status: Pending 11 Signed-off-by: Khem Raj <raj.khem@gmail.com> 12 --- 13 dlm_controld/Makefile | 2 +- 14 1 file changed, 1 insertion(+), 1 deletion(-) 16 diff --git a/dlm_controld/Makefile b/dlm_controld/Makefile 18 --- a/dlm_controld/Makefile 20 @@ -47,7 +47,7 @@ CFLAGS += -D_GNU_SOURCE -O2 -ggdb \ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/nodejs/ |
H A D | nodejs_22.13.1.bb | 3 LICENSE = "MIT & ISC & BSD-2-Clause & BSD-3-Clause & Artistic-2.0 & Apache-2.0" 8 DEPENDS = "openssl openssl-native file-replacement-native python3-packaging-native" 9 DEPENDS:append:class-target = " qemu-native" 10 DEPENDS:append:class-native = " c-ares-native" 22 SRC_URI = "http://nodejs.org/dist/v${PV}/node-v${PV}.tar.xz \ 23 file://0001-Do-not-use-glob-in-deps.patch \ 24 file://0001-Disable-running-gyp-files-for-bundled-deps.patch \ 25 file://0004-v8-don-t-override-ARM-CFLAGS.patch \ 26 file://system-c-ares.patch \ 27 file://0001-liftoff-Correct-function-signatures.patch \ [all …]
|
/openbmc/linux/arch/csky/kernel/vdso/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0-only 7 vdso-syms += rt_sigreturn 8 vdso-syms += vgettimeofday 11 obj-vdso = $(patsubst %, %.o, $(vdso-syms)) note.o 13 ifneq ($(c-gettimeofday-y),) 14 CFLAGS_vgettimeofday.o += -include $(c-gettimeofday-y) 17 ccflags-y := -fno-stack-protector -DBUILD_VDSO32 20 targets := $(obj-vdso) vdso.so vdso.so.dbg vdso.lds vdso-dummy.o 21 obj-vdso := $(addprefix $(obj)/, $(obj-vdso)) 23 obj-y += vdso.o vdso-syms.o [all …]
|
/openbmc/openbmc/poky/meta/recipes-connectivity/bluez5/ |
H A D | bluez5.inc | 5 LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later" 9 DEPENDS = "dbus glib-2.0" 11 PROVIDES += "bluez-hcidump" 12 RPROVIDES:${PN} += "bluez-hcidump" 16 PACKAGECONFIG ??= "obex-profiles \ 19 a2dp-profiles \ 20 avrcp-profiles \ 21 bap-profiles \ 22 bass-profiles \ 23 mcp-profiles \ [all …]
|
/openbmc/linux/net/sched/ |
H A D | sch_pie.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #include <net/pie.h> 37 u64 local_prob = vars->prob; in pie_drop_early() 41 if (vars->burst_time > 0) in pie_drop_early() 45 * if drop prob is low already, disable early_drop in pie_drop_early() 47 if ((vars->qdelay < params->target / 2) && in pie_drop_early() 48 (vars->prob < MAX_PROB / 5)) in pie_drop_early() 51 /* If we have fewer than 2 mtu-sized packets, disable pie_drop_early, in pie_drop_early() 60 if (params->bytemode && packet_size <= mtu) in pie_drop_early() 63 local_prob = vars->prob; in pie_drop_early() [all …]
|
/openbmc/openbmc/poky/documentation/migration-guides/ |
H A D | migration-3.4.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 4 ---------------------------------- 27 SRC_URI_remove_qemux86-64 = "file://somefile3" 29 FILES_${PN}-ptest = "${bindir}/xyz" 31 BASE_LIB_tune-cortexa76 = "lib" 32 SRCREV_pn-bash = "abc" 33 BB_TASK_NICE_LEVEL_task-testimage = '0' 39 SRC_URI:remove:qemux86-64 = "file://somefile3" 41 FILES:${PN}-ptest = "${bindir}/xyz" 43 BASE_LIB:tune-cortexa76 = "lib" [all …]
|
/openbmc/linux/tools/testing/selftests/timers/ |
H A D | rtcpie.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * events"), PIE are completely handled using hrtimers, without actually using 25 * clocks that will often not be clones of what the PC-AT had. 43 if (fd == -1) { in main() 56 if (fd == -1) { in main() 63 if (retval == -1) { in main() 81 if (retval == -1) { in main() 97 if (retval == -1) { in main() 106 if (retval == -1) { in main() 118 exit(-1); in main() [all …]
|
/openbmc/u-boot/drivers/ddr/imx/imx8m/ |
H A D | helper.c | 1 // SPDX-License-Identifier: GPL-2.0+ 112 ddrphy_csr->val = dwc_ddrphy_apb_rd(ddrphy_csr->reg); in ddrphy_trained_csr_save() 115 /* disable the ddrphy apb */ in ddrphy_trained_csr_save() 127 saved_timing->ddrc_cfg_num = timing_info->ddrc_cfg_num; in dram_config_save() 128 saved_timing->ddrphy_cfg_num = timing_info->ddrphy_cfg_num; in dram_config_save() 129 saved_timing->ddrphy_trained_csr_num = ddrphy_trained_csr_num; in dram_config_save() 130 saved_timing->ddrphy_pie_num = timing_info->ddrphy_pie_num; in dram_config_save() 134 saved_timing->fsp_table[i] = timing_info->fsp_table[i]; in dram_config_save() 140 saved_timing->ddrc_cfg = cfg; in dram_config_save() 141 for (i = 0; i < timing_info->ddrc_cfg_num; i++) { in dram_config_save() [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | interface.c | 1 // SPDX-License-Identifier: GPL-2.0 27 if (!rtc->offset_secs) in rtc_add_offset() 38 if ((rtc->start_secs > rtc->range_min && secs >= rtc->start_secs) || in rtc_add_offset() 39 (rtc->start_secs < rtc->range_min && in rtc_add_offset() 40 secs <= (rtc->start_secs + rtc->range_max - rtc->range_min))) in rtc_add_offset() 43 rtc_time64_to_tm(secs + rtc->offset_secs, tm); in rtc_add_offset() 50 if (!rtc->offset_secs) in rtc_subtract_offset() 61 if (secs >= rtc->range_min && secs <= rtc->range_max) in rtc_subtract_offset() 64 rtc_time64_to_tm(secs - rtc->offset_secs, tm); in rtc_subtract_offset() 69 if (rtc->range_min != rtc->range_max) { in rtc_valid_range() [all …]
|
/openbmc/u-boot/arch/arm/ |
H A D | config.mk | 1 # SPDX-License-Identifier: GPL-2.0+ 3 # (C) Copyright 2000-2002 14 CFLAGS_NON_EFI := -fno-pic -ffixed-r9 -ffunction-sections -fdata-sections 15 CFLAGS_EFI := -fpic -fshort-wchar 17 LDFLAGS_FINAL += --gc-sections 18 PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections \ 19 -fno-common -ffixed-r9 20 PLATFORM_RELFLAGS += $(call cc-option, -msoft-float) \ 21 $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) 24 LLVM_RELFLAGS := $(call cc-option,-mllvm,) \ [all …]
|