/* Header for nscd SELinux access controls.
- Copyright (C) 2004, 2006, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Matthew Rickard <mjricka@epoch.ncsc.mil>, 2004.
#define _SELINUX_H 1
#include "nscd.h"
-#ifdef HAVE_LIBCAP
-# include <sys/capability.h>
-#endif
#ifdef HAVE_SELINUX
/* Global variable to tell if the kernel has SELinux support. */
extern void nscd_avc_cache_stats (struct avc_cache_stats *cstats);
/* Display statistics on AVC usage. */
extern void nscd_avc_print_stats (struct avc_cache_stats *cstats);
-
-# ifdef HAVE_LIBCAP
-/* Preserve capabilities to connect to connnect to the audit daemon. */
-extern cap_t preserve_capabilities (void);
-/* Install final capabilities. */
-extern void install_real_capabilities (cap_t new_caps);
-# endif
#else
# define selinux_enabled 0
# define nscd_avc_init() (void) 0