summaryrefslogtreecommitdiffstats
path: root/sys/compat/freebsd32/freebsd32_capability.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/freebsd32/freebsd32_capability.c')
-rw-r--r--sys/compat/freebsd32/freebsd32_capability.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/sys/compat/freebsd32/freebsd32_capability.c b/sys/compat/freebsd32/freebsd32_capability.c
index 2aee10b..cc4cad2 100644
--- a/sys/compat/freebsd32/freebsd32_capability.c
+++ b/sys/compat/freebsd32/freebsd32_capability.c
@@ -49,18 +49,6 @@ __FBSDID("$FreeBSD$");
MALLOC_DECLARE(M_FILECAPS);
int
-freebsd32_cap_enter(struct thread *td,
- struct freebsd32_cap_enter_args *uap)
-{
-
- /*
- * We do not have an equivalent of capabilities.conf for freebsd32
- * compatibility, so do not allow capability mode for now.
- */
- return (ENOSYS);
-}
-
-int
freebsd32_cap_ioctls_limit(struct thread *td,
struct freebsd32_cap_ioctls_limit_args *uap)
{
@@ -148,14 +136,6 @@ out:
#else /* !CAPABILITIES */
int
-freebsd32_cap_enter(struct thread *td,
- struct freebsd32_cap_enter_args *uap)
-{
-
- return (ENOSYS);
-}
-
-int
freebsd32_cap_ioctls_limit(struct thread *td,
struct freebsd32_cap_ioctls_limit_args *uap)
{
OpenPOWER on IntegriCloud