diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-07-12 15:07:13 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-07-12 15:07:13 +0000 |
commit | 57924f941f2c959193d0104b306bda888a4af864 (patch) | |
tree | 7131ad1b7746703fbc8e39da6f1d5d76ad4ee7dc /scripts | |
parent | 76a149ca08631b519040faf8de67da010fc9e33d (diff) |
2007-03-23 Jakub Jelinek <jakub@redhat.com>
* scripts/check-local-headers.sh: Filter out sys/capability.h.
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')
-rwxr-xr-x | scripts/check-local-headers.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/check-local-headers.sh b/scripts/check-local-headers.sh index 88c85f7106..bf04febaf2 100755 --- a/scripts/check-local-headers.sh +++ b/scripts/check-local-headers.sh @@ -30,6 +30,7 @@ if fgrep "$includedir" */*.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 |