o src/sys/capability.h provides a number of support macros that are not

documented by POSIX.1e, and understand the opaque capability structures.
  Introduce support in the userland POSIX.1e library for a
  _CAPABILITY_NEEDMACROS define to remove these macros from the normal
  namespace, but allow the libc functions to use them.

Submitted by:	tmm
Obtained from:	TrustedBSD Project
This commit is contained in:
Robert Watson 2001-08-29 17:53:45 +00:00
parent 3c4543e046
commit fca41b9c6f
2 changed files with 5 additions and 0 deletions

View File

@ -31,7 +31,9 @@
#include <sys/types.h>
#include "namespace.h"
#define _CAPABILITY_NEEDMACROS
#include <sys/capability.h>
#undef _CAPABILITY_NEEDMACROS
#include "un-namespace.h"
#include <sys/errno.h>

View File

@ -31,7 +31,10 @@
#include <sys/types.h>
#include "namespace.h"
/* need capability.h macros */
#define _CAPABILITY_NEEDMACROS
#include <sys/capability.h>
#undef _CAPABILITY_NEEDMACROS
#include "un-namespace.h"
#include <sys/errno.h>