changeset 16302:43fb268b5b29

maint: enable sc_prohibit_openat_without_use * cfg.mk: Enable sc_prohibit_openat_without_use. Exempt lib/selinux-at.c.
author Jim Meyering <meyering@redhat.com>
date Tue, 17 Jan 2012 18:41:18 +0100
parents 816f46a9f53b
children b21b4b8a7b66
files ChangeLog cfg.mk
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/cfg.mk
+++ b/cfg.mk
@@ -29,7 +29,6 @@
   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 @@
   ^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$$