linux/arch/x86/platform/olpc
Thorsten Blum c957072d44 x86/platform/olpc: Replace strcpy() with strscpy() in xo15_sci_add()
strcpy() has been deprecated¹ because it performs no bounds checking on the
destination buffer, which can lead to buffer overflows. Use the safer
strscpy() instead.

  ¹ https://www.kernel.org/doc/html/latest/process/deprecated.html#strcpy

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://patch.msgid.link/20251124125455.5495-2-thorsten.blum@linux.dev
2026-01-05 15:58:57 +01:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
olpc_dt.c x86/platform/olpc: Remove unused variable 'len' in olpc_dt_compatible_match() 2025-03-06 11:14:26 +01:00
olpc_ofw.c mm: reorder includes after introduction of linux/pgtable.h 2020-06-09 09:39:13 -07:00
olpc-xo1-pm.c x86/platform: Switch back to struct platform_driver::remove() 2024-10-21 17:20:30 +02:00
olpc-xo1-rtc.c x86/msr: Rename 'rdmsrl()' to 'rdmsrq()' 2025-04-10 11:58:27 +02:00
olpc-xo1-sci.c x86/msr: Rename 'wrmsrl()' to 'wrmsrq()' 2025-04-10 11:58:33 +02:00
olpc-xo15-sci.c x86/platform/olpc: Replace strcpy() with strscpy() in xo15_sci_add() 2026-01-05 15:58:57 +01:00
olpc.c x86/platform/olpc: Correct ifdef symbol to intended CONFIG_OLPC_XO15_SCI 2021-10-06 18:46:06 +02:00
xo1-wakeup.S x86: Prepare asm files for straight-line-speculation 2021-12-08 12:25:37 +01:00