freebsd-nq/sys/arm
Conrad Meyer 580744621f copystr(9): Move to deprecate [2/2]
Unlike the other copy*() functions, it does not serve to copy from one
address space to another or protect against potential faults.  It's just
an older incarnation of the now-more-common strlcpy().

Add a coccinelle script to tools/ which can be used to mechanically
convert existing instances where replacement with strlcpy is trivial.
In the two cases which matched, fuse_vfsops.c and union_vfsops.c, the
code was further refactored manually to simplify.

Replace the declaration of copystr() in systm.h with a small macro
wrapper around strlcpy.

Remove N redundant MI implementations of copystr.  For MIPS, this
entailed inlining the assembler copystr into the only consumer,
copyinstr, and making the latter a leaf function.

Reviewed by:	jhb
Differential Revision:	https://reviews.freebsd.org/D24672
2020-05-11 22:57:21 +00:00
..
allwinner arm: allwinner: aw_mmc: Make it possible to unload the module 2020-04-16 16:00:21 +00:00
altera/socfpga Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
amlogic/aml8726 Implement missing MMCBR ivars 2019-07-04 14:15:04 +00:00
annapurna/alpine arm: Add kern_clocksource.c directly in files.arm 2019-04-16 20:04:22 +00:00
arm copystr(9): Move to deprecate [2/2] 2020-05-11 22:57:21 +00:00
broadcom/bcm2835 Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
cloudabi32 Use uintptr_t instead of register_t * for the stack base. 2019-12-03 23:17:54 +00:00
conf arm: zynq: An SPI driver for Zynq platforms 2020-02-28 10:57:23 +00:00
freescale Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
include Convert arm's physmem interface to MI code 2020-04-19 00:12:30 +00:00
linux regen linuxulator sysent after r357577 2020-02-05 16:54:16 +00:00
mv arm: Fix duplicate pcib DRIVER_MODULE 2020-04-16 18:37:11 +00:00
nvidia arm: nvidia: pcie: Rename class name to pcib 2020-04-16 20:44:23 +00:00
qemu arm: Add kern_clocksource.c directly in files.arm 2019-04-16 20:04:22 +00:00
rockchip Include eventhandler.h in more compilation units 2019-05-21 01:18:43 +00:00
samsung/exynos Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
ti arm: am335x: Honor pmic option ti,pmic-shutdown-controller 2020-04-11 15:52:07 +00:00
versatile Add KERNEL_PANICKED macro for use in place of direct panicstr tests 2020-01-12 06:07:54 +00:00
xilinx Add the Cadence GEM ethernet driver to NOTES so that it gets built with 2020-04-02 19:06:05 +00:00