This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Thu, Mar 22, 2007 at 05:42:25PM +0100, Jakub Jelinek wrote:
> 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.
When this is applied, check-local-headers complains about sys/capability.h,
which isn't a glibc header.
Fixed thusly:
2007-03-23 Jakub Jelinek <jakub@redhat.com>
* scripts/check-local-headers.sh: Filter out sys/capability.h.
--- libc/scripts/check-local-headers.sh.jj 2007-01-15 23:25:30.000000000 +0100
+++ libc/scripts/check-local-headers.sh 2007-03-23 17:05:08.000000000 +0100
@@ -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
Jakub
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |