about summary refs log tree commit diff
path: root/scripts/check-local-headers.sh
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-03-26 20:41:09 +0000
committerUlrich Drepper <drepper@redhat.com>2007-03-26 20:41:09 +0000
commite1f0c5bc78cf7d893682edf27215ecc0030fcaed (patch)
tree51936e65f6863bb865ce4bc7303da36d7d8b6b76 /scripts/check-local-headers.sh
parent4e87573fe224a5d187f463a6e051f5781e38fd97 (diff)
downloadglibc-e1f0c5bc78cf7d893682edf27215ecc0030fcaed.tar.gz
glibc-e1f0c5bc78cf7d893682edf27215ecc0030fcaed.tar.xz
glibc-e1f0c5bc78cf7d893682edf27215ecc0030fcaed.zip
* scripts/check-local-headers.sh: Filter out sys/capability.h. cvs/fedora-glibc-20070331T1609
2007-03-22  Jakub Jelinek  <jakub@redhat.com>

	* config.h.in (HAVE_LIBCAP): Add.
	* nscd/selinux.h: Include sys/capability.h rather than non-existent
	sys/capabilities.h.
	* nscd/selinux.c (preserve_capabilities): Use cap_free instead of
	free_caps.  Cast away const from 4th cap_set_flag argument.
Diffstat (limited to 'scripts/check-local-headers.sh')
-rwxr-xr-xscripts/check-local-headers.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh
index c2d6ba4a08..a945ffb997 100755
--- a/scripts/check-local-headers.sh
+++ b/scripts/check-local-headers.sh
@@ -30,6 +30,7 @@ if fgrep "$includedir" */*.{o,os,oS}.d |
 fgrep -v "$includedir/asm" |
 fgrep -v "$includedir/linux" |
 fgrep -v "$includedir/selinux" |
+fgrep -v "$includedir/sys/capability.h" |
 fgrep -v "$includedir/gd"; then
   # If we found a match something is wrong.
   exit 1