Home
last modified time | relevance | path

Searched refs:unsafe (Results 1 – 25 of 44) sorted by relevance

12

/linux/mm/kasan/
H A Dkasan_test_c.c768 static void kasan_atomics_helper(struct kunit *test, void *unsafe, void *safe) in kasan_atomics_helper() argument
770 int *i_unsafe = unsafe; in kasan_atomics_helper()
777 KUNIT_EXPECT_KASAN_FAIL_READ(test, atomic_read(unsafe)); in kasan_atomics_helper()
778 KUNIT_EXPECT_KASAN_FAIL(test, atomic_set(unsafe, 42)); in kasan_atomics_helper()
779 KUNIT_EXPECT_KASAN_FAIL(test, atomic_add(42, unsafe)); in kasan_atomics_helper()
780 KUNIT_EXPECT_KASAN_FAIL(test, atomic_sub(42, unsafe)); in kasan_atomics_helper()
781 KUNIT_EXPECT_KASAN_FAIL(test, atomic_inc(unsafe)); in kasan_atomics_helper()
782 KUNIT_EXPECT_KASAN_FAIL(test, atomic_dec(unsafe)); in kasan_atomics_helper()
783 KUNIT_EXPECT_KASAN_FAIL(test, atomic_and(42, unsafe)); in kasan_atomics_helper()
784 KUNIT_EXPECT_KASAN_FAIL(test, atomic_andnot(42, unsafe)); in kasan_atomics_helper()
[all...]
/linux/arch/x86/boot/
H A Dvideo-mode.c31 void probe_cards(int unsafe) in probe_cards() argument
36 if (probed[unsafe]) in probe_cards()
39 probed[unsafe] = 1; in probe_cards()
42 if (card->unsafe == unsafe) { in probe_cards()
H A Dvideo.h76 int unsafe; /* Probing is unsafe, only do after "scan" */ member
H A Dvideo-bios.c123 .unsafe = 1,
/linux/kernel/printk/
H A Dnbcon.c51 * - The 'unsafe' field allows to take over the console in a safe way in the
58 * console in an unsafe state. The console will stay in the unsafe state
68 * unsafe state.
81 * a) Observes the 'req_prio' field set on exit from the unsafe
87 * console is an unsafe state. It is used only in panic() by the final
92 * using the hostile takeover in unsafe state.
106 * - What is marked as an unsafe section.
108 * in an unsafe state.
109 * - Whether to attempt an unsafe hostil
832 __nbcon_context_update_unsafe(struct nbcon_context * ctxt,bool unsafe) __nbcon_context_update_unsafe() argument
[all...]
/linux/security/apparmor/
H A Ddomain.c882 bool *unsafe) in handle_onexec()
898 bprm, buffer, cond, unsafe)); in handle_onexec()
907 buffer, cond, unsafe)); in handle_onexec()
940 bool unsafe = false; in apparmor_bprm_creds_for_exec()
962 if ((bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) && !unconfined(label) && in apparmor_bprm_creds_for_exec()
976 bprm, buffer, &cond, &unsafe); in apparmor_bprm_creds_for_exec()
981 &cond, &unsafe)); in apparmor_bprm_creds_for_exec()
996 if ((bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) && in apparmor_bprm_creds_for_exec()
1004 if (bprm->unsafe & LSM_UNSAFE_SHARE) { in apparmor_bprm_creds_for_exec()
1009 if (bprm->unsafe in apparmor_bprm_creds_for_exec()
872 handle_onexec(const struct cred * subj_cred,struct aa_label * label,struct aa_label * onexec,bool stack,const struct linux_binprm * bprm,char * buffer,struct path_cond * cond,bool * unsafe) handle_onexec() argument
928 bool unsafe = false; apparmor_bprm_creds_for_exec() local
[all...]
/linux/tools/testing/selftests/
H A Dlib.mk132 …rsync -aq --copy-unsafe-links $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES) $(TEST_GEN_MODS_D…
153 $(if $(INSTALL_LIST),rsync -a --copy-unsafe-links $(INSTALL_LIST) $(INSTALL_PATH)/)
158 …$(if $(INSTALL_LIST),rsync -a --copy-unsafe-links $(INSTALL_LIST)/*.ko $(INSTALL_PATH)/$(INSTALL_L…
/linux/Documentation/locking/
H A Dlockdep-design.rst118 is irq-unsafe means it was ever acquired with irq enabled.
120 A softirq-unsafe lock-class is automatically hardirq-unsafe as well. The
124 <hardirq-safe> or <hardirq-unsafe>
125 <softirq-safe> or <softirq-unsafe>
128 cannot be ever acquired with irq enabled (irq-unsafe). Otherwise, a
159 <hardirq-safe> -> <hardirq-unsafe>
160 <softirq-safe> -> <softirq-unsafe>
163 taken by a hardirq context, interrupting a hardirq-unsafe lock - and
165 lock could be taken by an softirq context, interrupting a softirq-unsafe
176 took any hardirq-unsafe lock in the past.
[all …]
H A Dpreempt-locking.rst92 But keep in mind that 'irqs disabled' is a fundamentally unsafe way of
/linux/rust/pin-init/
H A DREADME.md55 ### Nightly needed for `unsafe-pinned` feature
71 - using the unsafe function [`pin_init_from_closure()`] to manually create an initializer.
149 [`pin_init_from_closure()`] comes in. This `unsafe` function allows you to create a
198 unsafe {
226 unsafe { bindings::destroy_foo(self.foo.get().cast::<bindings::foo>()) };
/linux/Documentation/rust/
H A Dcoding-guidelines.rst176 before every ``unsafe`` block, and they explain why the code inside the block is
182 unsafe { *p = 0; }
221 /// assert_eq!(unsafe { x.unwrap_unchecked() }, "air");
223 pub unsafe fn unwrap_unchecked(self) -> T {
228 None => unsafe { hint::unreachable_unchecked() },
254 - Any ``unsafe`` block must be preceded by a ``// SAFETY:`` comment
/linux/drivers/memstick/core/
H A DKconfig9 bool "Allow unsafe resume (DANGEROUS)"
/linux/Documentation/devicetree/bindings/cpufreq/
H A Dcpufreq-st.txt40 Example [unsafe]
/linux/lib/
H A DKconfig.kgdb28 bool "KGDB: use kprobe blocklist to prohibit unsafe breakpoints"
35 identify symbols where it is unsafe to set breakpoints.
H A DKconfig.kasan164 bool "Stack instrumentation (unsafe)" if CC_IS_CLANG && !COMPILE_TEST
174 with Clang, this option is deemed unsafe.
/linux/tools/testing/selftests/coredump/
H A DREADME.rst20 While a thread is active, the stack pointer is unsafe to read and therefore the `kstkesp` field
/linux/scripts/
H A DMakefile.warn46 KBUILD_CFLAGS += $(call cc-option, -Wno-default-const-init-unsafe)
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h6-orangepi.dtsi258 * Using it as anything but a USB host is unsafe.
H A Dsun50i-h6-orangepi-3.dts331 * unsafe.
/linux/tools/perf/Documentation/
H A DMakefile48 ASCIIDOC_EXTRA += --unsafe -f asciidoc.conf
/linux/Documentation/i2c/
H A Ddma-considerations.rst28 using an unsafe DMA buffer. To improve this situation, using I2C_M_DMA_SAFE in
/linux/Documentation/translations/it_IT/locking/
H A Dlockdep-design.rst114 (*irq-unsafe*) significa che è sempre stato acquisito con le interruzioni
121 <hardirq-safe> o <hardirq-unsafe>
122 <softirq-safe> o <softirq-unsafe>
156 <hardirq-safe> -> <hardirq-unsafe>
157 <softirq-safe> -> <softirq-unsafe>
/linux/Documentation/driver-api/
H A Dntb.rst150 * unsafe - Some hardware has known issues with scratchpad and doorbell
153 unsafe=1.
/linux/security/
H A Dcommoncap.c951 ((bprm->unsafe & ~LSM_UNSAFE_PTRACE) || in cap_bprm_creds_from_file()
955 (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS)) { in cap_bprm_creds_from_file()
/linux/Documentation/trace/rv/
H A Dmonitor_rtapp.rst129 the rt_mutex's waiter. Consequently, the monitor may see a real-time-unsafe

12