summaryrefslogtreecommitdiffstats
path: root/cfg.mk
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-09-17 10:12:20 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-09-17 10:13:16 +0100
commit72ab351acef2f2bc6b0e4f36d69e94f8fa064f3c (patch)
treed2909e128f78b084d7870380b7d387b1498943c7 /cfg.mk
parent369709177e47773eaa37f1fdbe8d9967b21d1133 (diff)
downloadlibguestfs-72ab351acef2f2bc6b0e4f36d69e94f8fa064f3c.tar.gz
libguestfs-72ab351acef2f2bc6b0e4f36d69e94f8fa064f3c.tar.xz
libguestfs-72ab351acef2f2bc6b0e4f36d69e94f8fa064f3c.zip
syntax: Allow strncpy in launch-*.c files (thanks Jim Meyering).
We use strncpy, justifiably, to copy the socket name into the fixed length Unix domain sun_path buffer.
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index 4e5a9d6c..000ea631 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -32,6 +32,7 @@ exclude_file_name_regexp--sc_prohibit_doubled_word = ^po/
exclude_file_name_regexp--sc_prohibit_magic_number_exit = ^(po|po-docs)/|\.pod$
exclude_file_name_regexp--sc_prohibit_strcmp = ^examples/
exclude_file_name_regexp--sc_prohibit_strcmp_and_strncmp = ^examples/
+exclude_file_name_regexp--sc_prohibit_strncpy = ^src/launch-.*\.c$
# Tests not to run as part of "make distcheck".
local-checks-to-skip = \