diff options
| author | elad <elad@NetBSD.org> | 2007-01-05 13:23:22 +0000 |
|---|---|---|
| committer | elad <elad@NetBSD.org> | 2007-01-05 13:23:22 +0000 |
| commit | a75d82b0bc67fc55690dae2dc93f8779c4dd750d (patch) | |
| tree | 917cb03ce1aba2ac860200c960b924be3882b2aa /share/examples/secmodel/secmodel_example.c | |
| parent | 0ff4d47ce3ba200733e8d03308430ce17ec718e1 (diff) | |
We no longer have 'enum kauth_machdep_req'.
Diffstat (limited to 'share/examples/secmodel/secmodel_example.c')
| -rw-r--r-- | share/examples/secmodel/secmodel_example.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/share/examples/secmodel/secmodel_example.c b/share/examples/secmodel/secmodel_example.c index cc96c18de1d..025f45d0922 100644 --- a/share/examples/secmodel/secmodel_example.c +++ b/share/examples/secmodel/secmodel_example.c @@ -1,4 +1,4 @@ -/* $NetBSD: secmodel_example.c,v 1.11 2007/01/02 10:47:29 elad Exp $ */ +/* $NetBSD: secmodel_example.c,v 1.12 2007/01/05 13:23:22 elad Exp $ */ /* * This file is placed in the public domain. @@ -13,7 +13,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: secmodel_example.c,v 1.11 2007/01/02 10:47:29 elad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: secmodel_example.c,v 1.12 2007/01/05 13:23:22 elad Exp $"); #include <sys/types.h> #include <sys/param.h> @@ -353,10 +353,8 @@ secmodel_example_machdep_cb(kauth_cred_t cred, kauth_action_t action, void *cookie, void *arg0, void *arg1, void *arg2, void *arg3) { int result; - enum kauth_machdep_req req; result = KAUTH_RESULT_DENY; - req = (enum kauth_machdep_req)arg0; switch (action) { case KAUTH_MACHDEP_IOPERM_GET: |
