/openbmc/linux/Documentation/process/ |
H A D | applying-patches.rst | 11 This document is obsolete. In most cases, rather than using ``patch`` 15 a patch to the kernel or, more specifically, what base kernel a patch for 24 What is a patch? 27 A patch is a small text document containing a delta of changes between two 31 To correctly apply a patch you need to know what base it was generated from 32 and what new version the patch will change the source tree into. These 33 should both be present in the patch file metadata or be possible to deduce 37 How do I apply or revert a patch? 40 You apply a patch with the ``patch`` program. The patch program reads a diff 41 (or patch) file and makes the changes to the source tree described in it. [all …]
|
H A D | submitting-patches.rst | 48 Describe your problem. Whether your patch is a one-line bug fix or 77 The maintainer will thank you if you write your patch description in a 81 Solve only one problem per patch. If your description starts to get 82 long, that's a sign that you probably need to split up your patch. 85 When you submit or resubmit a patch or patch series, include the 86 complete patch description and justification for it. Don't just 87 say that this is version N of the patch (series). Don't expect the 88 subsystem maintainer to refer back to earlier patch versions or referenced 89 URLs to find the patch description and put that into the patch. 90 I.e., the patch (series) and its description should be self-contained. [all …]
|
H A D | 5.Posting.rst | 50 summary of the results should be included with the patch. 60 Patch preparation 68 general rule, a patch should be based on the current mainline as found in 75 on the area of your patch and what is going on elsewhere, basing a patch 79 Only the most simple changes should be formatted as a single patch; 85 - The patch series you post will almost certainly not be the series of 93 patch. These changes can be small ("add a field to this structure") or 95 conceptually small and amenable to a one-line description. Each patch 100 changes in the same patch. If a single patch fixes a critical security 105 - Each patch should yield a kernel which builds and runs properly; if your [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/u-boot/ |
H A D | u-boot-corstone1000.inc | 19 file://0001-FF-A-v15-arm64-smccc-add-support-for-SMCCCv1.2-x0-x1.patch \ 20 file://0002-FF-A-v15-lib-uuid-introduce-uuid_str_to_le_bin-funct.patch \ 21 file://0003-FF-A-v15-lib-uuid-introduce-testcase-for-uuid_str_to.patch \ 22 file://0004-FF-A-v15-arm_ffa-introduce-Arm-FF-A-support.patch \ 23 file://0005-FF-A-v15-arm_ffa-introduce-armffa-command.patch \ 24 file://0006-FF-A-v15-arm_ffa-introduce-sandbox-FF-A-support.patch \ 25 file://0007-FF-A-v15-arm_ffa-introduce-sandbox-test-cases-for-UC.patch \ 26 file://0008-FF-A-v15-arm_ffa-introduce-armffa-command-Sandbox-te.patch \ 27 file://0009-FF-A-v15-arm_ffa-efi-introduce-FF-A-MM-communication.patch \ 28 file://0010-FF-A-v15-arm_ffa-efi-corstone1000-enable-MM-communic.patch \ [all …]
|
/openbmc/linux/Documentation/translations/it_IT/process/ |
H A D | 5.Posting.rst | 15 e di procedure per la pubblicazione delle patch; seguirle renderà la vita 26 C'è sempre una certa resistenza nel pubblicare patch finché non sono 27 veramente "pronte". Per semplici patch questo non è un problema. 37 Poche persone guarderanno delle patch che si sa essere fatte a metà, 42 Prima di creare patch 46 l'invio delle patch alla comunità di sviluppo. Queste cose includono: 56 - La vostra patch ha delle conseguenze in termini di prestazioni? 59 incluso nella patch. 70 Preparazione di una patch 73 La preparazione delle patch per la pubblicazione può richiedere una quantità [all …]
|
H A D | submitting-patches.rst | 8 Inviare patch: la guida essenziale per vedere il vostro codice nel kernel 11 Una persona o un'azienda che volesse inviare una patch al kernel potrebbe 15 vostre patch accettate. 22 Per delle patch relative alle associazioni per Device Tree leggete 25 Questa documentazione assume che sappiate usare ``git`` per preparare le patch. 44 sorgenti e desiderano che le patch siano preparate basandosi su di essi. 66 singolarmente le patch dai sorgenti principali; quindi, includete tutte 87 I manutentori vi saranno grati se scrivete la descrizione della patch in un 91 Risolvete solo un problema per patch. Se la vostra descrizione inizia ad 92 essere lunga, potrebbe essere un segno che la vostra patch necessita d'essere [all …]
|
/openbmc/linux/kernel/livepatch/ |
H A D | core.c | 25 #include "patch.h" 71 * Note that the patch might still be needed before klp_module_going() in klp_find_object_module() 102 static struct klp_object *klp_find_object(struct klp_patch *patch, in klp_find_object() argument 107 klp_for_each_object(patch, obj) { in klp_find_object() 345 * /sys/kernel/livepatch/<patch> 346 * /sys/kernel/livepatch/<patch>/enabled 347 * /sys/kernel/livepatch/<patch>/transition 348 * /sys/kernel/livepatch/<patch>/force 349 * /sys/kernel/livepatch/<patch>/<object> 350 * /sys/kernel/livepatch/<patch>/<object>/patched [all …]
|
H A D | state.c | 15 #define klp_for_each_state(patch, state) \ argument 16 for (state = patch->states; state && state->id; state++) 20 * the given patch 21 * @patch: livepatch that modifies the given system state 24 * Checks whether the given patch modifies the given system state. 26 * The function can be called either from pre/post (un)patch 31 struct klp_state *klp_get_state(struct klp_patch *patch, unsigned long id) in klp_get_state() argument 35 klp_for_each_state(patch, state) { in klp_get_state() 58 * It is typically called only from pre/post (un)patch 66 struct klp_patch *patch; in klp_get_prev_state() local [all …]
|
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/ |
H A D | kexec-tools-klibc_git.bb | 17 BUILD_PATCHES = "file://0001-force-static-build.patch \ 18 file://0002-Adjust-the-order-of-headers-to-fix-build-for-musl.patch \ 19 file://Fix-building-on-x86_64-with-binutils-2.41.patch \ 23 file://0003-kexec-elf-rel-use-our-elf.h.patch \ 24 file://0004-kexec-elf-exec.c-replace-with-our-err.h.patch \ 25 file://0005-crashdump-elf.c-work-around-for-sysconf-_SC_NPROCESS.patch \ 26 file://0006-kexec-syscall.h-work-around-missing-syscall-wrapper.patch \ 27 file://0007-kexec.c-add-guard-around-ENOTSUP.patch \ 28 file://0008-kexec.c-replace-mising-BLKGETSIZE64.patch \ 29 file://0009-vmcore-dmesg.c-work-around-missing-imaxdiv.patch \ [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-m/ |
H A D | trusted-firmware-m-corstone1000.inc | 18 file://0001-arm-trusted-firmware-m-disable-address-warnings-into.patch \ 23 file://0001-Platform-Corstone1000-Align-capsule-UEFI-structs.patch \ 24 file://0002-Platform-Corstone1000-Fix-NV-counter-writing.patch \ 25 file://0003-Platform-Corstone1000-Enable-firewall-in-FVP.patch \ 26 file://0004-Platform-CS1000-Increase-ITS-max-asset-size.patch \ 27 file://0005-Platform-CS1000-Increase-RSE_COMMS-buffer-size.patch \ 28 file://0006-Platform-CS1000-Increase-buffers-for-EFI-vars.patch \ 29 file://0007-Plaform-Corstone1000-Switch-to-metadata-v2.patch \ 30 file://0008-Platform-CS1000-Increase-flash-PS-area-size.patch \ 31 file://0009-corstone1000-Remove-reset-after-capsule-update.patch \ [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/unzip/ |
H A D | unzip_6.0.bb | 10 file://avoid-strip.patch \ 11 file://define-ldflags.patch \ 12 file://06-unzip60-alt-iconv-utf8_CVE-2015-1315.patch \ 13 file://cve-2014-9636.patch \ 14 file://09-cve-2014-8139-crc-overflow.patch \ 15 file://10-cve-2014-8140-test-compr-eb.patch \ 16 file://11-cve-2014-8141-getzip64data.patch \ 17 file://CVE-2015-7696.patch \ 18 file://CVE-2015-7697.patch \ 19 file://fix-security-format.patch \ [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | patch.py | 51 # Drop patch fuzz info with header and footer to log file so 53 bb.note("--- Patch fuzz start ---\n%s\n--- Patch fuzz end ---" % format(stdout)) 67 return "Patch Error: %s" % self.msg 85 Clean out the patch set. Generally includes unapplying all 90 def Import(self, patch, force): argument 91 if not patch.get("file"): 92 if not patch.get("remote"): 93 raise PatchError("Patch file must be specified in patch import.") 95 patch["file"] = bb.fetch2.localpath(patch["remote"], self.d) 98 if not patch.get(param): [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-security/trusted-services/ |
H A D | ts-arm-platforms.inc | 5 file://0001-Add-stub-capsule-update-service-components.patch \ 6 file://0002-Fix-in-AEAD-for-psa-arch-test-254.patch \ 7 file://0003-FMP-Support-in-Corstone1000.patch \ 8 file://0004-smm_gateway-GetNextVariableName-Fix.patch \ 9 file://0005-Fix-psa-api-crypto-test-no-243.patch \ 10 file://0006-plat-corstone1000-Use-the-stateless-platform-service.patch \ 11 file://0007-plat-corstone1000-Initialize-capsule-update-provider.patch \ 12 file://0008-plat-corstone1000-add-client_id-for-FMP-service.patch \ 13 file://0009-Remove-Werror-flag.patch \ 14 file://0010-Remove-PLATFORM_HAS_ATTEST_PK-define-from-IAT-test.patch \ [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/ |
H A D | sdbus-c++-libsystemd_255.6.bb | 16 file://static-libsystemd-pkgconfig.patch \ 23 file://0001-missing_type.h-add-comparison_fn_t.patch \ 24 file://0002-add-fallback-parse_printf_format-implementation.patch \ 25 file://0002-binfmt-Don-t-install-dependency-links-at-install-tim.patch \ 26 file://0003-src-basic-missing.h-check-for-missing-strndupa.patch \ 27 file://0004-don-t-fail-if-GLOB_BRACE-and-GLOB_ALTDIRFUNC-is-not-.patch \ 28 file://0005-add-missing-FTW_-macros-for-musl.patch \ 29 file://0006-Use-uintmax_t-for-handling-rlim_t.patch \ 30 file://0007-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch \ 31 file://0008-Define-glibc-compatible-basename-for-non-glibc-syste.patch \ [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/tcp-wrappers/ |
H A D | tcp-wrappers_7.6.bb | 20 file://01_man_portability.patch \ 21 file://05_wildcard_matching.patch \ 22 file://06_fix_gethostbyname.patch \ 23 file://10_usagi-ipv6.patch \ 24 file://11_tcpd_blacklist.patch \ 25 file://11_usagi_fix.patch \ 26 file://12_makefile_config.patch \ 27 file://13_shlib_weaksym.patch \ 28 file://14_cidr_support.patch \ 29 file://15_match_clarify.patch \ [all …]
|
/openbmc/linux/scripts/ |
H A D | patch-kernel | 4 # usage: patch-kernel [ sourcedir [ patchdir [ stopversion ] [ -acxx ] ] ] 5 # The source directory defaults to /usr/src/linux, and the patch 8 # scripts/patch-kernel . .. 11 # scripts/patch-kernel . .. -ac 12 # Get the latest Linux kernel and patch it with the latest ac patch 13 # scripts/patch-kernel . .. 2.4.9 15 # scripts/patch-kernel . .. 2.4.9 -ac 17 # scripts/patch-kernel . .. 2.4.9 -ac11 18 # Gets 2.4.9 with ac patch ac11 23 # It then looks for patches for the next sublevel in the patch directory. [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/ |
H A D | gcc-14.2.inc | 46 file://0001-gcc-4.3.1-ARCH_FLAGS_FOR_TARGET.patch \ 47 file://0002-gcc-poison-system-directories.patch \ 48 file://0003-64-bit-multilib-hack.patch \ 49 file://0004-Pass-CXXFLAGS_FOR_BUILD-in-a-couple-of-places-to-avo.patch \ 50 file://0005-Use-the-defaults.h-in-B-instead-of-S-and-t-oe-in-B.patch \ 51 file://0006-cpp-honor-sysroot.patch \ 52 file://0007-Define-GLIBC_DYNAMIC_LINKER-and-UCLIBC_DYNAMIC_LINKE.patch \ 53 file://0008-libtool.patch \ 54 file://0009-gcc-armv4-pass-fix-v4bx-to-linker-to-support-EABI.patch \ 55 file://0010-Use-the-multilib-config-files-from-B-instead-of-usin.patch \ [all …]
|
/openbmc/linux/Documentation/livepatch/ |
H A D | callbacks.rst | 5 Livepatch (un)patch-callbacks provide a mechanism for livepatch modules 16 In most cases, (un)patch callbacks will need to be used in conjunction 26 patch. 39 * Pre-patch 42 * Post-patch 48 active), used to clean up post-patch callback 54 used to cleanup pre-patch callback resources 61 symmetry: pre-patch callbacks have a post-unpatch counterpart and 62 post-patch callbacks have a pre-unpatch counterpart. An unpatch 63 callback will only be executed if its corresponding patch callback was [all …]
|
/openbmc/openbmc/poky/meta/classes-global/ |
H A D | patch.bbclass | 10 # There is a bug in patch 2.7.3 and earlier where index lines 12 # http://git.savannah.gnu.org/cgit/patch.git/patch/?id=82b800c9552a088a241457948219d25ce0a407a4 15 PATCHDEPENDENCY:append:class-target = " patch-replacement-native:do_populate_sysroot" 18 PATCH_GIT_USER_EMAIL ?= "oe.patch@oe" 65 import oe.patch 82 … oe.patch.GitApplyTree.commitIgnored("Add changes from %s" % func, dir=srcsubdir, files=['.'], d=d) 86 import oe.patch 87 return oe.patch.src_patches(d, all, expand) 90 """Determine if we should apply the given patch""" 91 import oe.patch [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/rdist/ |
H A D | rdist_6.1.5.bb | 15 SRC_URI += "file://rdist-6.1.5-linux.patch \ 16 file://rdist-6.1.5-links.patch \ 17 file://rdist-6.1.5-oldpath.patch \ 18 file://rdist-6.1.5-hardlink.patch \ 19 file://rdist-6.1.5-bison.patch \ 20 file://rdist-6.1.5-varargs.patch \ 21 file://rdist-6.1.5-maxargs.patch \ 22 file://rdist-6.1.5-lfs.patch \ 23 file://rdist-6.1.5-cleanup.patch \ 24 file://rdist-6.1.5-svr4.patch \ [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | patchtest-send-results | 5 # patchtest: execute all unittest test cases discovered for a single patch 24 or more issues with the patch. Please see the log below for 28 submit a new revision of the patch, or alternatively, reply to this 29 email with an explanation of why the patch should be accepted. If you 39 …er = argparse.ArgumentParser(description="Send patchtest results to a submitter for a given patch") 40 parser.add_argument("-p", "--patch", dest="patch", required=True, help="The patch file to summarize… 44 if not os.path.exists(args.patch): 45 print(f"Patch '{args.patch}' not found - did you provide the right path?") 47 elif not os.path.exists(args.patch + ".testresult"): 48 …print(f"Found patch '{args.patch}' but '{args.patch}.testresult' was not present. Have you run pat… [all …]
|
/openbmc/linux/tools/testing/selftests/livepatch/ |
H A D | test-callbacks.sh | 20 # pre-patch callbacks are executed for vmlinux and $MOD_TARGET (those 22 # according to the klp_patch, their post-patch callbacks run and the 25 # - Similarly, on livepatch disable, pre-patch callbacks run before the 26 # unpatching transition starts. klp_objects are reverted, post-patch 40 livepatch: enabling patch '$MOD_LIVEPATCH' 67 # - On livepatch enable, only pre/post-patch callbacks are executed for 71 # pre/post-patch callbacks are executed. 85 livepatch: enabling patch '$MOD_LIVEPATCH' 93 livepatch: applying patch '$MOD_LIVEPATCH' to loading module '$MOD_TARGET' 135 livepatch: enabling patch '$MOD_LIVEPATCH' [all …]
|
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/ |
H A D | userland_git.bb | 24 file://0001-mmal-Do-not-use-Werror.patch \ 25 file://0001-Allow-applications-to-set-next-resource-handle.patch \ 26 file://0002-wayland-Add-support-for-the-Wayland-winsys.patch \ 27 file://0003-wayland-Add-Wayland-example.patch \ 28 file://0004-wayland-egl-Add-bcm_host-to-dependencies.patch \ 29 file://0005-interface-remove-faulty-assert-to-make-weston-happy-.patch \ 30 file://0006-zero-out-wl-buffers-in-egl_surface_free.patch \ 31 file://0007-initialize-front-back-wayland-buffers.patch \ 32 file://0008-Remove-RPC_FLUSH.patch \ 33 file://0009-fix-cmake-dependency-race.patch \ [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/patch/ |
H A D | patch_2.7.6.bb | 1 require patch.inc 4 SRC_URI += "file://0001-Unset-need_charset_alias-when-building-for-musl.patch \ 5 file://0002-Fix-segfault-with-mangled-rename-patch.patch \ 6 file://0003-Allow-input-files-to-be-missing-for-ed-style-patches.patch \ 7 file://0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch \ 8 file://0001-Fix-swapping-fake-lines-in-pch_swap.patch \ 9 file://CVE-2019-13636.patch \ 10 file://0001-Invoke-ed-directly-instead-of-using-the-shell.patch \ 11 file://0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch \ 12 file://0001-Don-t-leak-temporary-file-on-failed-multi-file-ed.patch \ [all …]
|
/openbmc/openbmc/poky/meta/lib/patchtest/tests/ |
H A D | test_metadata.py | 1 # Checks related to the patch's LIC_FILES_CHKSUM metadata variable 77 for patch in self.patchset: 79 if patch.path.endswith('.patch'): 81 payload = str(patch) 85 # if any patch on the series contain reference on the metadata, fail 93 for patch in self.patchset: 95 if patch.path.endswith('.patch'): 97 payload = str(patch) 103 "Patch line too long (current length %s, maximum is %s)" 106 ("Patch", patch.path), [all …]
|