summaryrefslogtreecommitdiffstats
path: root/sys/cddl/compat
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2015-03-19 13:37:36 +0000
committerrwatson <rwatson@FreeBSD.org>2015-03-19 13:37:36 +0000
commit6102a34d3875e6b3f22e0245d7698fe549c674a1 (patch)
treedf3b1e38c02357cff6357a78741ce42d4959b672 /sys/cddl/compat
parent24836ef695b4d0b47117fe6ed0d34b16e37a68aa (diff)
downloadFreeBSD-src-6102a34d3875e6b3f22e0245d7698fe549c674a1.zip
FreeBSD-src-6102a34d3875e6b3f22e0245d7698fe549c674a1.tar.gz
Merge r263233 from HEAD to stable/10:
Update kernel inclusions of capability.h to use capsicum.h instead; some further refinement is required as some device drivers intended to be portable over FreeBSD versions rely on __FreeBSD_version to decide whether to include capability.h. Sponsored by: Google, Inc.
Diffstat (limited to 'sys/cddl/compat')
-rw-r--r--sys/cddl/compat/opensolaris/sys/file.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/compat/opensolaris/sys/file.h b/sys/cddl/compat/opensolaris/sys/file.h
index 5f83082..f9349fd 100644
--- a/sys/cddl/compat/opensolaris/sys/file.h
+++ b/sys/cddl/compat/opensolaris/sys/file.h
@@ -36,7 +36,7 @@
#ifdef _KERNEL
typedef struct file file_t;
-#include <sys/capability.h>
+#include <sys/capsicum.h>
static __inline file_t *
getf(int fd, cap_rights_t *rightsp)
OpenPOWER on IntegriCloud