/Linux-v6.6/Documentation/translations/zh_CN/rust/ |
D | coding-guidelines.rst | 80 一种特殊的注释是 ``// SAFETY:`` 注释。这些注释必须出现在每个 ``unsafe`` 块之前,它们 86 unsafe { *p = 0; } 121 /// assert_eq!(unsafe { x.unwrap_unchecked() }, "air"); 123 pub unsafe fn unwrap_unchecked(self) -> T { 128 None => unsafe { hint::unreachable_unchecked() }, 150 - 任何 ``unsafe`` 的代码块都必须在前面加上一个 ``// SAFETY:`` 的注释,描述里面
|
/Linux-v6.6/arch/x86/boot/ |
D | video-mode.c | 31 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()
|
D | video.h | 76 int unsafe; /* Probing is unsafe, only do after "scan" */ member
|
D | video-bios.c | 123 .unsafe = 1,
|
D | boot.h | 326 void probe_cards(int unsafe);
|
/Linux-v6.6/drivers/ntb/test/ |
D | ntb_pingpong.c | 91 static unsigned int unsafe; variable 92 module_param(unsafe, uint, 0644); 93 MODULE_PARM_DESC(unsafe, "Run even though ntb operations may be unsafe"); 248 if (!unsafe) in pp_check_ntb() 254 if (!unsafe) in pp_check_ntb()
|
/Linux-v6.6/security/apparmor/ |
D | domain.c | 800 bool *unsafe) in handle_onexec() argument 814 bprm, buffer, cond, unsafe)); in handle_onexec() 820 cond, unsafe)); in handle_onexec() 826 buffer, cond, unsafe)); in handle_onexec() 833 cond, unsafe)); in handle_onexec() 864 bool unsafe = false; in apparmor_bprm_creds_for_exec() local 885 if ((bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) && !unconfined(label) && in apparmor_bprm_creds_for_exec() 899 bprm, buffer, &cond, &unsafe); in apparmor_bprm_creds_for_exec() 903 &cond, &unsafe)); in apparmor_bprm_creds_for_exec() 922 if ((bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS) && in apparmor_bprm_creds_for_exec() [all …]
|
/Linux-v6.6/Documentation/rust/ |
D | coding-guidelines.rst | 89 before every ``unsafe`` block, and they explain why the code inside the block is 95 unsafe { *p = 0; } 134 /// assert_eq!(unsafe { x.unwrap_unchecked() }, "air"); 136 pub unsafe fn unwrap_unchecked(self) -> T { 141 None => unsafe { hint::unreachable_unchecked() }, 167 - Any ``unsafe`` block must be preceded by a ``// SAFETY:`` comment
|
/Linux-v6.6/Documentation/locking/ |
D | lockdep-design.rst | 118 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 …]
|
D | preempt-locking.rst | 92 But keep in mind that 'irqs disabled' is a fundamentally unsafe way of
|
/Linux-v6.6/tools/testing/selftests/ |
D | lib.mk | 109 rsync -aq --copy-unsafe-links $(TEST_PROGS) $(TEST_PROGS_EXTENDED) $(TEST_FILES) $(OUTPUT); \ 123 $(if $(INSTALL_LIST),rsync -a --copy-unsafe-links $(INSTALL_LIST) $(INSTALL_PATH)/)
|
/Linux-v6.6/include/linux/ |
D | binfmts.h | 50 int unsafe; /* how unsafe this exec is (mask of LSM_UNSAFE_*) */ member
|
/Linux-v6.6/tools/lib/perf/Documentation/ |
D | Makefile | 38 ASCIIDOC_EXTRA = --unsafe -f asciidoc.conf
|
/Linux-v6.6/drivers/memstick/core/ |
D | Kconfig | 9 bool "Allow unsafe resume (DANGEROUS)"
|
/Linux-v6.6/Documentation/devicetree/bindings/cpufreq/ |
D | cpufreq-st.txt | 40 Example [unsafe]
|
/Linux-v6.6/lib/ |
D | Kconfig.kgdb | 28 bool "KGDB: use kprobe blocklist to prohibit unsafe breakpoints" 35 identify symbols where it is unsafe to set breakpoints.
|
D | Kconfig.kasan | 157 bool "Stack instrumentation (unsafe)" if CC_IS_CLANG && !COMPILE_TEST 167 with Clang, this option is deemed unsafe.
|
/Linux-v6.6/arch/arm64/boot/dts/allwinner/ |
D | sun50i-h6-orangepi.dtsi | 257 * Using it as anything but a USB host is unsafe.
|
D | sun50i-h6-orangepi-3.dts | 330 * unsafe.
|
/Linux-v6.6/tools/perf/Documentation/ |
D | Makefile | 48 ASCIIDOC_EXTRA += --unsafe -f asciidoc.conf
|
/Linux-v6.6/Documentation/i2c/ |
D | dma-considerations.rst | 28 using an unsafe DMA buffer. To improve this situation, using I2C_M_DMA_SAFE in
|
/Linux-v6.6/security/ |
D | commoncap.c | 917 ((bprm->unsafe & ~LSM_UNSAFE_PTRACE) || in cap_bprm_creds_from_file() 921 (bprm->unsafe & LSM_UNSAFE_NO_NEW_PRIVS)) { in cap_bprm_creds_from_file()
|
/Linux-v6.6/Documentation/driver-api/ |
D | ntb.rst | 150 * unsafe - Some hardware has known issues with scratchpad and doorbell 153 unsafe=1.
|
/Linux-v6.6/fs/ |
D | exec.c | 1568 bprm->unsafe |= LSM_UNSAFE_PTRACE; in check_unsafe_exec() 1575 bprm->unsafe |= LSM_UNSAFE_NO_NEW_PRIVS; in check_unsafe_exec() 1594 bprm->unsafe |= LSM_UNSAFE_SHARE; in check_unsafe_exec()
|
/Linux-v6.6/drivers/mtd/ |
D | Kconfig | 54 this is very unsafe, but could be useful for file systems which are
|