All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] lib: remove use of strncpy
@ 2026-06-23 14:19 Bruce Richardson
  2026-06-23 14:19 ` [PATCH 1/3] ethdev: " Bruce Richardson
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Bruce Richardson @ 2026-06-23 14:19 UTC (permalink / raw)
  To: dev; +Cc: Bruce Richardson

Taking a lead from the kernel, which has just finished a multi-year
effort to remove use of strncpy[1], rework DPDK to remove use of the
same function. This series removes all remaining uses of strncpy
in lib directory.

[1] https://www.phoronix.com/news/Linux-7.2-Drops-strncpy

Bruce Richardson (3):
  ethdev: remove use of strncpy
  eventdev: improve bounds checks for names in adapter create
  vhost: remove use of strncpy

 lib/ethdev/ethdev_driver.c              |  7 ++++++-
 lib/eventdev/rte_event_eth_tx_adapter.c |  4 ++--
 lib/vhost/socket.c                      |  4 +---
 lib/vhost/vduse.c                       |  2 +-
 lib/vhost/vhost.c                       | 12 +++---------
 lib/vhost/vhost.h                       |  2 +-
 6 files changed, 14 insertions(+), 17 deletions(-)

--
2.53.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-08-17 13:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-23 14:19 [PATCH 0/3] lib: remove use of strncpy Bruce Richardson
2026-06-23 14:19 ` [PATCH 1/3] ethdev: " Bruce Richardson
2026-07-21 13:26   ` Andrew Rybchenko
2026-06-23 14:19 ` [PATCH 2/3] eventdev: improve bounds checks for names in adapter create Bruce Richardson
2026-06-23 14:19 ` [PATCH 3/3] vhost: remove use of strncpy Bruce Richardson
2026-06-24  1:53 ` [PATCH 0/3] lib: " fengchengwen
2026-08-17 13:42 ` [PATCH v2 " Bruce Richardson
2026-08-17 13:42   ` [PATCH v2 1/3] ethdev: " Bruce Richardson
2026-08-17 13:42   ` [PATCH v2 2/3] eventdev: improve bounds checks for names in adapter create Bruce Richardson
2026-08-17 13:42   ` [PATCH v2 3/3] vhost: remove use of strncpy Bruce Richardson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.