Home
last modified time | relevance | path

Searched refs:patched (Results 1 – 25 of 43) sorted by relevance

12

/linux/kernel/livepatch/
H A Dpatch.c131 if (WARN_ON(!func->patched)) in klp_unpatch_func()
157 func->patched = false; in klp_unpatch_func()
168 if (WARN_ON(func->patched)) in klp_patch_func()
219 func->patched = true; in klp_patch_func()
238 if (func->patched) in __klp_unpatch_object()
243 obj->patched = false; in __klp_unpatch_object()
257 if (WARN_ON(obj->patched)) in klp_patch_object()
267 obj->patched = true; in klp_patch_object()
277 if (obj->patched) in __klp_unpatch_objects()
H A Dcore.c64 * We do not want to block removal of patched modules and therefore in klp_find_object_module()
282 * These relocations are written to the klp module text to allow the patched
288 * 2) When a to-be-patched module loads -- or is already loaded when a
291 * are written to the klp module text to allow the patched code/data to
292 * reference symbols which live in the to-be-patched module or one of its
295 * the to-be-patched module to be loaded and patched sometime *after* the
356 * /sys/kernel/livepatch/<patch>/<object>/patched
502 return sysfs_emit(buf, "%d\n", obj->patched); in patched_show()
505 static struct kobj_attribute patched_kobj_attr = __ATTR_RO(patched);
[all...]
H A Dtransition.c32 * schedule(). This helps CPU-bound kthreads get patched.
169 * Switch the patched state of the task to the set of functions in the target in klp_cancel_transition()
203 * to-be-patched or to-be-unpatched function. in klp_update_patch_state()
221 * Check for the to-be-patched function in klp_check_stack_func()
231 /* previously patched function */ in klp_check_stack_func()
252 * by looking for any to-be-patched or to-be-unpatched functions on its stack. in klp_check_stack_func()
270 if (!obj->patched) in klp_check_stack()
302 * running, or it's sleeping on a to-be-patched or to-be-unpatched function, or in klp_check_and_switch_task()
322 * Now try to check the stack for any to-be-patched or to-be-unpatched in klp_try_switch_task()
424 * stacks of sleeping tasks and looking for any to-be-patched o in klp_send_signals()
[all...]
/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-livepatch17 object (vmlinux or a module) in which it patched functions.
24 A writable attribute that indicates whether the patched
44 the patched or unpatched state. Administrator should not
73 that is patched within the object.
75 What: /sys/kernel/livepatch/<patch>/<object>/patched
81 patched.
89 properties and state of the patched function.
91 The directory name contains the patched function name and a
93 name in kallsyms for the patched object.
/linux/Documentation/livepatch/
H A Dlivepatch.rst85 transition state where tasks are converging to the patched state.
88 the patched state to the unpatched state.
90 An interrupt handler inherits the patched state of the task it
92 patched state of the parent.
99 the task is patched. In most cases this will patch most or all of
110 force it to exit the kernel and be patched.
112 then it will get patched the next time it gets interrupted by an
117 allows them to be patched before the CPU enters the idle state.
145 unpatched and 1 to indicate it's patched. Otherwise, if no patch is in
148 patched state. This may be harmful to the system though. Sending a fake signal
[all …]
H A Dcallbacks.rst6 to execute callback functions when a kernel object is (un)patched. They
28 - A module notifier can't stop a to-be-patched module from loading.
32 be patched, irrespective of the target klp_object's current state.
40 - before a klp_object is patched
43 - after a klp_object has been patched and is active
47 - before a klp_object is unpatched (ie, patched code is
52 - after a klp_object has been patched, all code has
53 been restored and no tasks are running patched code,
H A Dmodule-elf-format.rst38 A typical livepatch module contains patched versions of functions that can
191 These are symbols accessed from new versions of functions for patched
194 resolves exported syms, and not every symbol referenced by the new patched
H A Dcumulative-patches.rst56 for functions that are no longer patched.
/linux/tools/objtool/
H A Dklp-diff.c27 struct elf *orig, *patched, *out; member
442 * These symbols should never be correlated, so their local patched versions in correlate_symbols()
525 * Try to find sym1's twin in patched using deterministic matching. in correlate_symbols()
558 * unchanged. Level 4 matches each to the patched candidate with the in correlate_symbols()
597 /* Count patched candidates */ in find_sympos()
598 for_each_sym_by_demangled_name(e->patched, sym1->demangled_name, sym2) { in find_sympos()
651 const char *patched; in __clone_symbol()
657 * Build a mapping of known orig-to-patched LLVM suffixes based on in __clone_symbol()
697 entry->patched = s2; in sym_bind()
706 * map to find the corresponding hash suffix for the patched objec
[all...]
/linux/arch/sparc/kernel/
H A Detrap_32.S113 sll %t_wim, 0x7, %t_wim ! patched on 7 window Sparcs
116 and %g2, 0xff, %g2 ! patched on 7 window Sparcs
189 and %g2, 0xff, %g2 ! patched on 7win Sparcs
203 and %g1, 0xff, %g1 ! patched on 7win Sparcs, mask
206 sll %t_wim, 0x7, %t_wim ! patched on 7win Sparcs
209 and %g2, 0xff, %g2 ! patched on 7win Sparcs
H A Dwof.S234 spnwin_patch3: and %twin_tmp, 0xff, %twin_tmp ! patched on 7win Sparcs
/linux/drivers/bluetooth/
H A Dhci_ag6xx.c159 bool patched = false; in ag6xx_setup() local
223 patched = true; in ag6xx_setup()
259 patched = true; in ag6xx_setup()
287 err = btintel_exit_mfg(hdev, true, patched); in ag6xx_setup()
H A Dbtintel.h282 int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched);
327 static inline int btintel_exit_mfg(struct hci_dev *hdev, bool reset, bool patched) in btintel_exit_mfg() argument
/linux/include/linux/
H A Dlivepatch.h77 bool patched; member
106 bool patched; member
/linux/Documentation/features/debug/optprobes/
H A Darch-support.txt4 # description: arch supports live patched optprobes
/linux/Documentation/features/debug/uprobes/
H A Darch-support.txt4 # description: arch supports live patched user probes
/linux/Documentation/features/debug/kprobes/
H A Darch-support.txt4 # description: arch supports live patched kernel probe
/linux/Documentation/features/core/jump-labels/
H A Darch-support.txt4 # description: arch supports live patched, high efficiency branches
/linux/Documentation/sound/codecs/
H A Dcs35l56.rst166 [ 7.939279] cs35l56 sdw:0:0:01fa:3556:01:0: Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (patched=0)
182 …75] cs35l56-hda i2c-CSC3556:00-cs35l56-hda.0: Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (patched=0)
193 Cirrus Logic CS35L56 Rev B0 OTP3 fw:3.4.4 (patched=0)
199 * (patched=0) is normal, and indicates that the amplifier has been hard
201 * (patched=1) means that something has previously downloaded firmware
242 * The amplifier has already been patched with firmware by something
246 string in the kernel log shows "(patched=1)"
/linux/drivers/nfc/fdp/
H A Dfdp.c462 u8 patched = 0; in fdp_nci_setup() local
483 patched = 1; in fdp_nci_setup()
491 patched = 1; in fdp_nci_setup()
498 if (patched) { in fdp_nci_setup()
/linux/scripts/livepatch/
H A Dklp-build41 PATCHED_DIR="$TMP_DIR/2-patched"
43 PATCHED_CSUM_DIR="$TMP_DIR/3-checksum-patched"
142 2|patched Build patched kernel
210 2 | patched) SHORT_CIRCUIT=2; ;;
488 # Copy patched source files to 'b'
545 # symbol which lives in vmlinux or another kernel module, the patched
789 local -a orig patched
794 read -ra patched <<< "${line#*$'\t'}"
796 if [[ ${#patched[
[all...]
/linux/Documentation/admin-guide/hw-vuln/
H A Dindirect-target-selection.rst62 compilers. ITS-vulnerable retpoline sites are runtime patched to point to newly
64 second half of the cacheline. Not all retpoline sites are patched to thunks, if
/linux/tools/perf/Documentation/
H A Dsecurity.txt69 4. Get into rpmbuild/SPECS directory and build policy packages from patched sources:
88 update with the patched rpms above:
/linux/Documentation/arch/x86/
H A Dmicrocode.rst130 Any other instruction that's being patched and gets concurrently
175 an instruction being patched. Plus OS has no way to stop SMIs from
/linux/Documentation/bpf/
H A Dllvm_reloc.rst262 * For BPF_ALU, BPF_ALU64, BPF_LD `immediate` field is patched;
263 * For BPF_LDX, BPF_STX, BPF_ST `offset` field is patched;
264 * BPF_JMP, BPF_JMP32 instructions **should not** be patched.

12