numam-dpdk/examples
Bruce Richardson 6723c0fc72 replace snprintf with strlcpy
Do a global replace of snprintf(..."%s",...) with strlcpy, adding in the
rte_string_fns.h header if needed.  The function changes in this patch were
auto-generated via command:

  spatch --sp-file devtools/cocci/strlcpy.cocci --dir . --in-place

and then the files edited using awk to add in the missing header:

  gawk -i inplace '/include <rte_/ && ! seen { \
  	print "#include <rte_string_fns.h>"; seen=1} {print}'

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
2019-04-04 22:46:05 +02:00
..
bbdev_app examples: detect default build directory 2019-03-30 01:12:15 +01:00
bond examples: detect default build directory 2019-03-30 01:12:15 +01:00
bpf examples/bpf: move from test directory 2019-02-26 15:29:07 +01:00
cmdline replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
distributor examples/distributor: detect high frequency cores 2019-04-02 02:22:32 +02:00
ethtool replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
eventdev_pipeline examples: detect default build directory 2019-03-30 01:12:15 +01:00
exception_path replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
fips_validation examples: detect default build directory 2019-03-30 01:12:15 +01:00
flow_classify examples: detect default build directory 2019-03-30 01:12:15 +01:00
flow_filtering examples: detect default build directory 2019-03-30 01:12:15 +01:00
helloworld examples: detect default build directory 2019-03-30 01:12:15 +01:00
ip_fragmentation examples: detect default build directory 2019-03-30 01:12:15 +01:00
ip_pipeline replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
ip_reassembly examples: detect default build directory 2019-03-30 01:12:15 +01:00
ipsec-secgw examples/ipsec-secgw: fix test script 2019-04-02 16:50:24 +02:00
ipv4_multicast examples: detect default build directory 2019-03-30 01:12:15 +01:00
kni examples: detect default build directory 2019-03-30 01:12:15 +01:00
l2fwd examples: detect default build directory 2019-03-30 01:12:15 +01:00
l2fwd-cat examples: detect default build directory 2019-03-30 01:12:15 +01:00
l2fwd-crypto replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
l2fwd-jobstats examples: detect default build directory 2019-03-30 01:12:15 +01:00
l2fwd-keepalive examples: detect default build directory 2019-03-30 01:12:15 +01:00
l3fwd examples: detect default build directory 2019-03-30 01:12:15 +01:00
l3fwd-acl examples: detect default build directory 2019-03-30 01:12:15 +01:00
l3fwd-power replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
l3fwd-vf examples: detect default build directory 2019-03-30 01:12:15 +01:00
link_status_interrupt examples: detect default build directory 2019-03-30 01:12:15 +01:00
load_balancer examples: detect default build directory 2019-03-30 01:12:15 +01:00
multi_process replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
netmap_compat replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
packet_ordering examples: detect default build directory 2019-03-30 01:12:15 +01:00
performance-thread examples: detect default build directory 2019-03-30 01:12:15 +01:00
ptpclient examples: detect default build directory 2019-03-30 01:12:15 +01:00
qos_meter examples: detect default build directory 2019-03-30 01:12:15 +01:00
qos_sched examples: detect default build directory 2019-03-30 01:12:15 +01:00
quota_watermark examples: detect default build directory 2019-03-30 01:12:15 +01:00
rxtx_callbacks examples: detect default build directory 2019-03-30 01:12:15 +01:00
server_node_efd examples: detect default build directory 2019-03-30 01:12:15 +01:00
service_cores examples: detect default build directory 2019-03-30 01:12:15 +01:00
skeleton examples: detect default build directory 2019-03-30 01:12:15 +01:00
tep_termination replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
timer examples: detect default build directory 2019-03-30 01:12:15 +01:00
vdpa examples: detect default build directory 2019-03-30 01:12:15 +01:00
vhost replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
vhost_crypto examples: detect default build directory 2019-03-30 01:12:15 +01:00
vhost_scsi replace snprintf with strlcpy without adding extra include 2019-04-04 22:45:54 +02:00
vm_power_manager replace snprintf with strlcpy 2019-04-04 22:46:05 +02:00
vmdq examples: detect default build directory 2019-03-30 01:12:15 +01:00
vmdq_dcb examples: detect default build directory 2019-03-30 01:12:15 +01:00
Makefile examples/distributor: detect high frequency cores 2019-04-02 02:22:32 +02:00
meson.build build: add workarounds for Windows helloworld 2019-04-03 01:21:31 +02:00