summaryrefslogtreecommitdiff
path: root/sys/dev/verified_exec.c
diff options
context:
space:
mode:
authorpooka <pooka@NetBSD.org>2007-12-08 19:29:36 +0000
committerpooka <pooka@NetBSD.org>2007-12-08 19:29:36 +0000
commitdb06a930e64afd6ddf07786e564f24b98ce54054 (patch)
tree1391aa2344817ba7674461f7c86b2facdb2dec62 /sys/dev/verified_exec.c
parent85c7ab06409cab05aa97f9d33c57dadaadbb256f (diff)
Remove cn_lwp from struct componentname. curlwp should be used
from on. The NDINIT() macro no longer takes the lwp parameter and associates the credentials of the calling thread with the namei structure.
Diffstat (limited to 'sys/dev/verified_exec.c')
-rw-r--r--sys/dev/verified_exec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/verified_exec.c b/sys/dev/verified_exec.c
index 337f6db7327..fa2bf149211 100644
--- a/sys/dev/verified_exec.c
+++ b/sys/dev/verified_exec.c
@@ -1,4 +1,4 @@
-/* $NetBSD: verified_exec.c,v 1.61 2007/07/09 21:00:29 ad Exp $ */
+/* $NetBSD: verified_exec.c,v 1.62 2007/12/08 19:29:41 pooka Exp $ */
/*-
* Copyright (c) 2005, 2006 Elad Efrat <elad@NetBSD.org>
@@ -30,9 +30,9 @@
#include <sys/cdefs.h>
#if defined(__NetBSD__)
-__KERNEL_RCSID(0, "$NetBSD: verified_exec.c,v 1.61 2007/07/09 21:00:29 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: verified_exec.c,v 1.62 2007/12/08 19:29:41 pooka Exp $");
#else
-__RCSID("$Id: verified_exec.c,v 1.61 2007/07/09 21:00:29 ad Exp $\n$NetBSD: verified_exec.c,v 1.61 2007/07/09 21:00:29 ad Exp $");
+__RCSID("$Id: verified_exec.c,v 1.62 2007/12/08 19:29:41 pooka Exp $\n$NetBSD: verified_exec.c,v 1.62 2007/12/08 19:29:41 pooka Exp $");
#endif
#include <sys/param.h>
@@ -135,7 +135,7 @@ veriexec_delete(prop_dictionary_t dict, struct lwp *l)
int error;
NDINIT(&nid, LOOKUP, FOLLOW, UIO_SYSSPACE,
- prop_string_cstring_nocopy(prop_dictionary_get(dict, "file")), l);
+ prop_string_cstring_nocopy(prop_dictionary_get(dict, "file")));
error = namei(&nid);
if (error)
return (error);
@@ -158,7 +158,7 @@ veriexec_query(prop_dictionary_t dict, prop_dictionary_t rdict, struct lwp *l)
int error;
NDINIT(&nid, LOOKUP, FOLLOW, UIO_SYSSPACE,
- prop_string_cstring_nocopy(prop_dictionary_get(dict, "file")), l);
+ prop_string_cstring_nocopy(prop_dictionary_get(dict, "file")));
error = namei(&nid);
if (error)
return (error);