]> Savannah Git Hosting - gnulib.git/commitdiff
maint: enable sc_prohibit_openat_without_use
authorJim Meyering <meyering@redhat.com>
Tue, 17 Jan 2012 17:41:18 +0000 (18:41 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 21 Jan 2012 14:07:02 +0000 (15:07 +0100)
* cfg.mk: Enable sc_prohibit_openat_without_use.
Exempt lib/selinux-at.c.

ChangeLog
cfg.mk

index 9b472e10a6ad59c74a0bca20b5ceaf1946763c2a..58b4ef57280ff6f2d552b6f8e704fd8024a70364 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-01-17  Jim Meyering  <meyering@redhat.com>
+
+       maint: enable sc_prohibit_openat_without_use
+       * cfg.mk: Enable sc_prohibit_openat_without_use.
+       Exempt lib/selinux-at.c.
+
 2012-01-17  Jim Meyering  <meyering@redhat.com>
 
        maint: enable sc_prohibit_cloexec_without_use
diff --git a/cfg.mk b/cfg.mk
index e15333ceb77dec40b9834917fca70dd37f9029e3..f55066e8967c25c48ac273c1a7f18f8dde4ecedc 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -29,7 +29,6 @@ local-checks-to-skip =                        \
   sc_prohibit_have_config_h            \
   sc_prohibit_inttostr_without_use     \
   sc_prohibit_magic_number_exit                \
-  sc_prohibit_openat_without_use       \
   sc_prohibit_path_max_allocation      \
   sc_prohibit_reversed_compare_failure \
   sc_prohibit_safe_read_without_use    \
@@ -55,3 +54,4 @@ exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = \
   ^modules/|^lib/javaversion\.class$$|$(empty-at-EOF)
 exclude_file_name_regexp--sc_prohibit_doubled_word = \
   ^(tests/test-init\.sh|lib/base(32|64)\.c)$$
+exclude_file_name_regexp--sc_prohibit_openat_without_use = ^lib/selinux-at\.c$$