about summary refs log tree commit diff
path: root/nscd/selinux.h
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 /nscd/selinux.h
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 'nscd/selinux.h')
-rw-r--r--nscd/selinux.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/selinux.h b/nscd/selinux.h
index 9ce0628486..27afcd6e86 100644
--- a/nscd/selinux.h
+++ b/nscd/selinux.h
@@ -1,5 +1,5 @@
 /* Header for nscd SELinux access controls.
-   Copyright (C) 2004, 2006 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2006, 2007 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Matthew Rickard <mjricka@epoch.ncsc.mil>, 2004.
 
@@ -23,7 +23,7 @@
 
 #include "nscd.h"
 #ifdef HAVE_LIBCAP
-# include <sys/capabilities.h>
+# include <sys/capability.h>
 #endif
 
 #ifdef HAVE_SELINUX